Week 8 Reading Inputs, Pull Up and pull down resistors, ADC
What are Pull Up and Down resistors / Reading high low voltages with the pico What are they Experiment to show why the are needed Pico comes with them built in. (But I could not get them to work) ADC What voltage drop is expected across a 1000 + 10000 voltage divider. Experiment This setup using a voltage divider is required for ADC work Equation to work out Vout Vdrop = R1/(R1+R2) * Vtotal Vdrop = 1000/(1000+10000) * 3.3 Vdrop = 0.3 V The voltage measured after the 1000Ohm resistor would be 3.3Ohm - 0.3Ohm. = 3.0 Ohm If we put the 10000 Ohm resistor as R1 it would drop the voltage by 3V so the measurement would be 0.3V GPIO 26, 27,28 are the only ADC pins Experiment with potentiometer Experiment with light dependent resistor Powering the Pico from an external source Power via usb powerbank Connect pins. Using between 1.8 and 5.5 V Steps to Power Externally Connect a suitable power source such as a battery pack (e.g., three AA batteries, or a single-cell LiPo bat...