Arduino IDE 1.8.19: hosted by GitHub and building code in it
voltage resistor(7805): convert 7-35V into 5V
Digital circuit:
// Analog circuit:need to code
Digital (1 or 0) | Analog (many) | |
---|---|---|
Input | buttons, on/off, switches Digital | Potentiometer, Sensor, temp.phtocell, pressure, distance A0~A7 |
Output | On/off Digital | LED, volume, DC Motor Digital(~) |
DC: used for smaller voltage
AC:
Open circuit: infinite resistance(air)
Short circuit: no resistance