

If your circuit is behaving weirdly, switching on when you touch a wire or move your hand over the circuit you almost certainly have a floating input. You can solve this problem with a pull-up resistor. Many AVRs have built-in pull-up resistors that you can turn on using code.
In Sketch:
pinMode(2, INPUT_PULLUP);
In BascomAVR:
Config Portb.1 = Input Set Portb.1
There's a great article at SparkFun about Pull-up Resistors.
pull-up isn't only for bootstraps...
Qualcomm acquires Arduino
8mon 12d ago by sh.itjust.works/u/cm0002 in arduino@lemmy.ca from www.arduino.ccOfficial starter kit or clones?
2y 4mon ago by lemmy.world/u/serpineslair in arduino@lemmy.caReplacement controller for Atlas Vista 613 Wheelchair Lift
2y 6mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caWhen you let the smoke out of your very last Arduino Nano.
2y 6mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caMy little ProMini power supply board.
2y 10mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caThis is how I take something from a breadboard through prototype to finished product.
2y 10mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caPro Mini Shield Carrier
2y 10mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caMy new Serial starting code
2y 10mon ago by lemmy.film/u/LazaroFilm in arduino@lemmy.caHelp with WaveShare RP2040 Touch 1.28 IMU
2y 10mon ago by lemmy.film/u/LazaroFilm in arduino@lemmy.ca from lemmy.filmHelp with circuit
2y 10mon ago by programming.dev/u/Pizzarules668 in arduino@lemmy.ca[HAUL] just bought my first electronics parts!
2y 11mon ago by lemmy.ca/u/MyFeetOwnMySoul in arduino@lemmy.ca from lemmy.ca[Project - ESP8622] Over Engineered, Wifi Enabled and Screen Synced, DotA 2 LED Sign
2y 11mon ago by lemm.ee/u/Hypnotized in arduino@lemmy.ca from lemm.ee[Project] Flight Control Button Box for Microsoft Flight Simulator
2y 11mon ago by lemm.ee/u/Hypnotized in arduino@lemmy.ca from lemm.eeProMini Shield Carrier
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.ca[Arduino Porn] MEGA2560 Pro Mini
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.ca[Arduino Porn] Arduino Pro Mini clone.
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.ca[Arduino Porn] NANO V3
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.ca[Arduino Porn] A clone UNO.
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.ca[Arduino Porn] Classic Genuine UNO
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caThe new Arduino UNO R4 boards are out!
2y 11mon ago by lemmy.one/u/StorageB in arduino@lemmy.ca from store-usa.arduino.ccArduino ProMini Shields (more images in text)
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caESP8266 Based Weather and Charging Station
2y 11mon ago by lemm.ee/u/Hypnotized in arduino@lemmy.ca from i.imgur.comCan we talk about solderless breadboards? (More pictures in text.)
2y 11mon ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caResources for Noobs
2y 11mon ago by lemmy.ca/u/Late_Settler in arduino@lemmy.caHOW TO: Hardware debounced tact switch for solderless breadboards.
3y 17d ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.caThe bottom board in the industrial controller I posted yesterday.
3y 17d ago by lemmy.ca/u/MapleEngineer in arduino@lemmy.ca from lemmy.ca






















