Products > Embedded Computing

PC having a disagreement with my arduino nanos. [fixed - bad cable]

<< < (2/2)

Refrigerator:

--- Quote from: Psi on February 01, 2019, 11:13:06 pm ---Check all grounds are connected correctly, (common ground)
Check your 12V cannot get onto any arduino's input/output/vcc which are 5.5v max
External crystal faster than 8mhz can be glitchy if you don't wire them up right, short connection and correct caps.

--- End quote ---
If i remember right they're both 5V 16 MHz but i have not even once had a problem with any of them until today.
Also the "bricked" nano started working and i even unplugged and plugged it back in just to make sure it wasn't just a fluke and it was good until i tried it in the breadboard and it went bad again.
It can't be the breadboard because the nano is only connected through ground, D13, D2, D3, D5 and D6.
If the first nano is bad how come the other nano is behaving the same even without even being connected to any of the driver circuitry.
And if my USB's are bad then how come my brother's laptop behaves the same.
It's 4 AM and i can't get sleep because this is bugging me so much  :-DD
Anyways, time for a few tests:
Both arduino nano's on USB read 4,75V at +5V pin, D13 LED flashes once, pressing RESET makes it flash once.
With 12V at VIN, no USB, +5V reads 4,98V, D13 LED flashes once, pressing RESET makes it flash once, both nanos behave the same.
Plugged in 12V at VIN, then plugged the USB in, the arduino didn't show any response other than the single D13 blink during power on, windows says "device not recognized".

Doctorandus_P:
Could be a bad cable.

Also:
When PC's are not grounded properly then the Pi filter in the powersupply puts half the mains voltage on the case, and your arduinos may not like that.
I've also had some tingly fingers from that a few times and I don't like that neither, so I put a proper grond wires in the wall. That was 15+ years ago and never had tingly fingers since then in my little electronics corner.

Refrigerator:

--- Quote from: Doctorandus_P on February 02, 2019, 09:48:26 am ---Could be a bad cable.

Also:
When PC's are not grounded properly then the Pi filter in the powersupply puts half the mains voltage on the case, and your arduinos may not like that.
I've also had some tingly fingers from that a few times and I don't like that neither, so I put a proper grond wires in the wall. That was 15+ years ago and never had tingly fingers since then in my little electronics corner.

--- End quote ---
I went to town and bought the most expensive mini-b cable that i could find and the arduinos work now, so it was the cable  :phew:
Had that failed i had my UABASP ready to burn the bootloader.

Psi:
I had no end of issues with USBasp type programmers a few years back.

I'm not sure if you're using the same kind as i had issues with.
From memory it was a AVR mcu doing USB in software and was glitchy as F$%@ because of that.

Moved to a different programmer and all the problems went away.

Doctorandus_P:
Expensive cables are no guarantee for quality.
Quality cables do not have to be expensive.
Unfortunately there are lots of landfill wannabees in long thin flexible format.

USBasp is a programmer I use quite often.
It does indeed work with a software USB stack.
A simple search will lead you to the source: Thomas Fischl Usbasp, obdev, germany.
I've had general good experiences with USBasp, but there are many variants of the chinese clones with (slightly) different hardware.

One of my biggest failures was with uSD cards.
Bought some from Ali and they tended to die soon, but also other cards seemed to die every now and then.
Finally it turned out that one of my card readers was bad and damged the cards. When I threw that crap away all the other (including the Chinese) cards kept working (Except for one very orld card that was probably simply worn out.)

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version