I'm designing a project that contains an Arduino Nano, two micro servos (SG90), a 4 channel relay shield, a DHT22, an RTC module, and an HD44780 20x4 LCD display. I double checked and none of the components are being powered through the Arduino, but rather an external power supply. The Arduino is also powered from this same external power supply.
So in my previous version of this project, I had the LCD, DHT22, RTC, and relays working just fine. Continuing to develop the project, I added one of the servos to the code and things went haywire, instantly. Only half the characters showed on the LCD and alot of times there were weird characters on the screen. I disconnected the servo and tried to troubleshoot the LCD. Now, there is nothing showing on the LCD and I can't upload any sketch. Not the one I was working on and not even the blink sketch.
When I try to upload a sketch, such as blink, the Arduino program goes through verifying, compiling and uploading the RX/TX lights light up on the Arduino, but the sketch doesn't get uploaded and doesn't work. Also, now, when the Arduino has any power, through either the USB cable or through the external power source via VIN, the "L" light just consistently blinks real quickly about every one seconds.
Below is the verbose output from when I tried to upload the Blink sketch.
Sketch uses 1,030 bytes (3%) of program storage space. Maximum is 30,720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM5 -b57600 -D -Uflash:w:C:\Users\*******\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex:i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
avrdude: reading input file "C:\Users\Todd\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex"
avrdude: writing flash (1030 bytes):
Writing | ################################################## | 100% 0.25s
avrdude: 1030 bytes of flash written
avrdude: verifying flash memory against C:\Users\********\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex:
avrdude: load data flash data from input file C:\Users\********\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex:
avrdude: input file C:\Users\********\AppData\Local\Temp\build7681382094788741528.tmp/Blink.cpp.hex contains 1030 bytes
avrdude: reading on-chip flash data:
Reading | ######################################Invalid library found in C:\Program Files\Arduino\libraries\Firmata: Library can't use both 'src' and 'utility' folders.
############ | 100% 0.24s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x0c
avrdude: verification error; content mismatch
avrdude done. Thank you.
Invalid library found in C:\Program Files\Arduino\libraries\Firmata: Library can't use both 'src' and 'utility' folders.
Is my Arduino shot? Is there anything I can do software wise? Did this just happen or is there something you think I did to cause this? Any other comments or suggestions? Thanks.