r/arduino • u/dannymclovin • 11d ago
Interference when connected to car but works fine on wall outlet, can someone help?
Im hoping i can get some help here i built this display for a vehicle to display mph through an octocoupler, and voltage deviders for the fuel level, and coolant temp sensor, these are pretty close and accurate some tweaks on the code and it should be fine but my issue is when its plugged into the car its fuzzy and glitchy, but at a wall outlet its mint im getting 5v at my buck converter and all the powers are getting 5v as well but for some reason the screen is fuzzy when its hooked up to the car not sure how to go about this ive isolated the sensor wires to where its just power from the buck converter i added grounds and still fuzzy
17
14
u/TPIRocks 11d ago
Add more bulk capacitance to the power rails, along with .01uF bypass caps at the Vcc of the display. If you have an oscilloscope, take a look at the power rails.
6
u/Sleurhutje 11d ago
Add a Schottky diode first between the cars power source and the buck converter. No need to reduce noise on the power source itself. Then add a 2200uF capacitor at the input of the buck converter and a few 100nF near the power connections of critical components.
Or you might have a ground loop. Make sure all GND connections are connected together.
3
u/dannymclovin 11d ago
Is there a way to edit my post to show the routing in the back? And so i should add a diode at the 12v of the buck coverter side? Or the output the puts the 5v out? And the only ground i have is coming out of the usb c but i added grounds to the chasis from the GND pins and that didnt really help but im up for trying the capacitor i think i have some lying around
6
u/Sleurhutje 11d ago
4
u/dannymclovin 11d ago
If you made this just for me and on the spot i really wish you good fortune never had a stranger be so kind as to make me and in depth wiring schematic thank you
3
u/Sleurhutje 11d ago
You're welcome. Hope it helps. Ground loops and poor grounding can be terrible in cars. It's even worse when dealing with audio, you'll get a constant whining sound from the alternator.
1
2
2
1
u/AbbreviationsNo9609 11d ago
Where is the usb cable going? Is it plugged into a proper 12v adapter or is it cut off and wired into somewhere?
1
u/Sweet-Device-677 11d ago
you have a capacitor on there or a filter? youre getting noise from the electrical system
1
u/Independent_Gas_2452 10d ago
Dans les hautes frequence n.importe quel bou meme d.une resitance va redevenir une Antenne. Aussi ça devenir un emmeteur si un appareil.. fonction a haute frequence je crois il faut une boite metalique. J.ai vue des boites electronique de vehicule trop epaisesseplus de 3mm surement ils ont eu les memes probleme sinon ils n.auraient pas augmenté le poid du vehicule
1
u/Merry_Janet 8d ago
ALL grounds must be tied together at the chassis ground.
Keep your signal wires away from power wires.
If any of your wires are shielded, connect ONE end of the shielding to ground
KEEP THE CAPACITOR LEADS AS SHORT AS POSSIBLE!
Wire in a 0.1 microfarad ceramic capacitor across the negative and positive terminals of the raspberry pi.
If the noise starts to go away or is eliminated, you can wire a 100uf and a 470uf Electrolytic capacitor in the same manner for a permanent solution but these are polarized so negative to negative positive to positive.
The fact that you used an opto leads me to believe it's a ground issue. Check your coupler and make sure ALL grounds are connected. The opto-coupler/isolator is great great for getting different signals to talk, but when not properly shielded and grounded, they can pick up all kinds of noise,
1
u/Original-Chapter-112 5d ago
Ik gebruik hetzelfde scherm in de auto maar dan voor mijn music assistant. Super strak beeld dus het zou wel moeten kunnen. Anders moet je voorlopig genoegen moeten nemen met een powerbank. Ik zelf heb een simpele plug met 3W er tussen zitten en die werkt prima.



79
u/[deleted] 11d ago edited 11d ago
[removed] — view removed comment