Hi guys.
In one of my projects, I accidentally wrongly wired the components, and that somehow messed up with the arduino nano I was using.
I have a mini power supply AC220V to DC12V to power up the arduino, and accidentally used it to power up a relay and an IR receiver.
The relay survived, but the IR didnt. I think the voltage might have gone through the signal pin into the arduino, because now I can't access it. So here's what's happening with it:
If I plug the board to the computer, the red light turns on. Also the COM port is automatically identified, so that leads me to believe that the board can still be salvageable.
If I try to upload any sketch, nothing happens, and I get the "avrdude: skt500_getsync() attempt 10 of 10: not in sync: resp 0=0xff" error message.
I tried using a working uno as ISP to burn bootloader again. First using the ArduinoISP sketch and uncommenting line "// #define USE_OLD_STYLE_WIRING" and pluging the ISP pins on the nano to pins 10, 11, 12 and 13 as many tutorials explain, but didn't work. Commented the line again and used the ISP pins on both boards and it didn't work either. I'm connecting the ISO pins exactly the same, so MISO with MISO, MOSI with MOSI, etc. Is that correct?
This is the message I'm getting when doing that:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
I know it's only a $3 board, and if it's busted, I'll just throw it away, but I'd like to fix it if it's possible.
Thank you
Don't bin it.
Keep it to use as a TTL/USB converter.
John.
Does it mean I can still use it for example as an FTDI adapter to program other board (for instance a mini)?
I've only seen that on UNO boards. So according to this tutorial: 3 Ways to Use Arduino as USB Serial Adapter Converter - Oscar Liang it's just a matter of unsoldering the SMD Atmel chip and that's it?
Just shorting reset to ground should do.
Then I'll only have to plug in the rx to the tx in the mini, and the tx to the rx, the 5v or 3.3v and the ground? I only need those 4 connections?
Will I be able to use it in the online editor or will I need the IDE?
Thank you
Hi Asamita.
You will need to test it first. Maybe the damage done will prevent it from working.
You can test it with the IDE.
Here's how I would test it. Connect a GPS module to the Nano and the Nano to your computer via the USB. and:
GPS RX to Nano RX (not actually needed for this test)
GPS TX to Nano TX (needed)
Yes, the opposite of what is normal.
The GPS output will now appear in the IDE monitor.
You can also test it using a Bluetooth module. Same connections as above and run a Bluetooth Serial Terminal app on your phone. You should be able to communicate both ways between the IDE and the phone.
I haven't used a converter for programming an Arduino. I have a couple of Minis so I'm interested to know if you succeed.
John.
PS, as mentioned above by another -- ground the RESET pin. That ensures the loaded sketch will not run. If the sketch opens Serial then that prevents this method working. So, either load a sketch that does not use open Serial (blink or bare minimum) or ground the RESET pin.
I would do a loopback test first, before connecting any other devices to the board.
How would you do that, David? I don't have any gps or Bluetooth modules. I only have 2.4ghz modules
Just short RX and TX; keep reset pin shorted to ground. Open a terminal program (e.g. Serial Monitor) and what you type should be echoed back.
I couldn't make it work grounding the reset, but I did make it work by removing the chip (in the end, it was a busted nano, so it really doesn't matter). I think it's also important to mention that you really need to wire the reset to the DTR in the pro mini. Otherwise, just with the VCC, GND, TX and RX won't work.
Thank you all for your suggestions