Posts

Showing posts from March, 2024

Week 9

Image
  Pi Experiment ADC (Analog to Digital Chip) MCP3008 Datasheet for ZK8868 CH0 -7 The 8 channels you wish to measure relative voltage of.  Max??? VDD (Voltage at the drain) Powers the chip 5V Max 7V VREF Voltage of the thing you are measuring 5V Max ???? AGND Analog ground.  The Ground of the circuit you are measuring the voltage of CLK Clock  Syncs the output of the chip with the input of the Pi DOUT Where the digital signal comes out DIN Used to load channel information to the chip. !CS/SHDN Used to turn on and off the chip (Normal convention is to show CS active low with a bar above but I could not get that using my blogging tool and css was going to far so I used the lesser known convention) DGND Used to connect to the digital inputs ground. What comes out of DOUT.  A series of 1's and 0's which represent a number relative to the VRef max. MCP is a 10 bit output (depends on chip) if the CH0 voltage out is 5V and the VREF is 5V then the DOUT will be 1111111111...

Week 8

  Pi Experiment Pi receiving inputs through button pushes Pull up/down resistors How Pi can use pull up/down resistors internally Programming Arrays Lists Next Week ADC chip MCP3008 Potentiometer Leads (As an extra I will have a photoresistor and 10kOhm resistor you do not need them)

Week 7

 Pi Experiment Adafruit Servo experiment How a servo motor works Modify the program to take inputs from the user to turn the servo. Programming Functions How to call How to use arguments How to use output Next Week  1kOhm resistor 10kOhm resistor Push Button switch Leads Alligator to male leads (not essential) 500 Ohm resistor (+ or - 100 Ohm) LED 

Week 6

 Pi Experiment HBridge chip Changing the program to work in auto mode.  Forward and back. Programming Loops, String comparison, inputs from the user. What to bring next Week Adafruit servo motor