Timeline for Analog input of Atmega328PB keeps dying
Current License: CC BY-SA 4.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 1, 2019 at 10:07 | vote | accept | Zhenek | ||
Oct 31, 2019 at 13:25 | comment | added | Zhenek | @ChrisStratton added photos and description. | |
Oct 31, 2019 at 13:24 | comment | added | Zhenek | @BruceAbbott added photos. Joystick is APEM 3000 series with 0.5-4.5V output. | |
Oct 31, 2019 at 13:23 | history | edited | Zhenek | CC BY-SA 4.0 |
added photo that were asked in comments, did some measurements
|
Oct 30, 2019 at 18:18 | comment | added | Chris Stratton | It's not voltage drops you need to worry about... | |
Oct 30, 2019 at 18:10 | comment | added | Bruce Abbott | "Industrial APEM joystick" - APEM make 38 different joystick products. Which one are you using? Can you post a photo of the system showing all wiring between devices? | |
Oct 30, 2019 at 18:08 | comment | added | Zhenek | @ChrisStratton I guess we misunderstood each other! MCU controls drivers using joystick and button as input devices. Stepper drivers are powered through same 12V PSU which feeds Arduino's AMS1117. I've checked both 5V rails and 12V with oscilloscope, voltage never drops under any circumstances. | |
Oct 30, 2019 at 18:01 | comment | added | Chris Stratton | What's not really making sense is why you have the joystick and the stepper drivers electrically connected by any sort of wires at all. Your mention of two bluetooth modules made it sound like you had two independent systems, on taking user input, and another doing something. Sounds like that's not the case (and indeed blueooth might not be a great idea for that). Anyway, you neglected to answer how the stepper drivers are powered - you definitely do not want them running off the same regulator as the Arduino. | |
Oct 30, 2019 at 17:38 | answer | added | anrieff | timeline score: 1 | |
Oct 30, 2019 at 17:13 | comment | added | Zhenek | @anrieff yes, actually there are several connections between them. How do I detect if it was ESD? | |
Oct 30, 2019 at 17:12 | comment | added | Zhenek | @ChrisStratton No, I'll draw the layout later and will add it to the original post. BT are attached by ca. 30 cm 4-wire cables (+5V, GND, Tx, Rx) to the main PCB. Drivers and Arduino are attached to this PCB as a shields. Joystick is located in a separate enclosure, and there are several cable connections between it and MCU. Lab is chemistry lab, but device demonstrated same behaviour in office, where air conditioning is probably the worst source of EMI | |
Oct 30, 2019 at 16:55 | comment | added | Chris Stratton | What do you mean? You have two bluetooth modules, a joystick input, and a stepper driver chip all on the same board? Why would you do that? What is powering your stepper drivers? And what is a "standard lab" - a lab for what exactly? | |
Oct 30, 2019 at 16:53 | comment | added | Zhenek | @nvuono you mean by DMM as an ammeter? Or using resistor in series and measuring quick voltage drop with oscilloscope? | |
Oct 30, 2019 at 16:52 | comment | added | Zhenek | @ChrisStratton Bluetooth modules are attached to the same PCB where we put Arduino as a shield. I don't think that these modules are to blame, it is well tested in many projects. Environment is a standard lab. | |
Oct 30, 2019 at 16:51 | comment | added | anrieff | Could it be ESD damage? Is the pin broken out to some connector and the joystick connects via a cable and a mating connector? | |
Oct 30, 2019 at 16:28 | comment | added | nvuono | Can you break the circuit and measure current flow between the joystick and arduino analog input as you sweep through the range? | |
Oct 30, 2019 at 16:21 | comment | added | Chris Stratton | It might help if you clearly separated whatever parts of the system are on the far side of the radio link. What sort of environment does the transmitter side that is failing operate in? Do you have long cable runs? Industrial machinery? Welding/plasma cutting/fusion research reactor... | |
Oct 30, 2019 at 15:30 | history | asked | Zhenek | CC BY-SA 4.0 |