A sketch I wrote ran successfully on an Arduino Uno for week.
The arduino died (probably due to a faulty AC-DC converter), so I tried uploading the sketch to an Arduino Nano I have, and then to two arduino Yuns.
Here is the sketch I uploaded - Dropbox - faulty_sketch.ino - Simplify your life
The sketch had the Uno collect readings from various sensors and transmit them to a server via a GSM SIM900 shield. It worked well.
Things to know:
- All arduinos worked properly before I uploaded the sketch
- Yes, I’m sure I chose the correct board/port in the IDE
- The built-in led (13) blinks on the boards, so I believe the bootloader is okay
- The arduinos are not wired to anything when I try to upload the Blink sketch (or an empty sketch). That includes the TX/RX ports.
I roamed the web for days; I’m posting here as a last resort. Any advice will be most appreciated!