hi all,. As im still learning my way around building hardware for FS, I encountered some issues, and do not know why this could be happening,. Like recommended I used the daisy chain tactic to Ground all my switches,. I have grouped my switches into 3 groups,. 1st group for the smaller toggle switches,.
2nd group for the 2 rotary switches,.
3th group for the bigger toggle switches,. the last wire for ground in each group is connected the my Stainless steel Panel (painted) and from 1 separate position on the panel I wired it to the Arduino,. Every single switch works when connected to mobiflight the tx Led ( test led) flickers on every single switch position,
now comes the issue I ran into,.
for test reasons I programmed only 5 switches in mobiflight to communicate with the Sim
then noticed that (sometimes) when for example I toggle the gear switch to the down position, also the master ignition eng 1 switch gives a signal to the arduino,. and get registered by the sim. Everything should be working correctly but it doesn't,. anybody got a idea where this issue comes from? or ran into the same problem?
hope to hear from you soon
greetings
Rick van Eijk
Hi, Cross-mojination means, you have selected an offset, but that offset is not configured correctly. Several switches are using that offset for the same thing. Hence when on switch operates, in the software, several switches operate.
Hi Rick van Eijk
This sounds like a cross mojination of offsets rather than an electrical problem. Or are you convinced its a wiring fault?
Ill try to recreate the issue when I am able,. you’ll hear from me!
thx again
Please try and make a video of the problem when it is happening.
Nah, I don’t think so. 1 meter is pretty short in the overall scheme. Looking at the pictures you provided shows me a good clean connection scheme. Your switch wiring is a thing of beauty. It’s possible that the issue is software related.
Hmm that makes sence, thxfor explaining,.
can wire length be a factor in this situation? Longest wire i have installed is somewhere around the meter long!
Perhaps the internal connections to the leds in the switches are flaky. Substituting external leds could possibly eliminate a problem source.
i don't see why this could help my problem! could you explain please,..?
How about hooking up three external leds instead of the diodes in the switches?
hi again, I have no Leds installed myself,. there are 3 leds build in 3 different switches,. so I dont think I am in the need of using a external power supply! tell me if Im wrong... and no unfortunate i dont have a scope,.. !!!
Well now, that wiring looks very nice. What are you using for a power supply? The Arduino by itself doesn’t have enough guts to drive multiple leds.
have you tried driving maybe just 3 of the troublemakers to see what happens? Divide and conquer. Do you have a scope? Check for noise riding on the power?
hi there whitehedr, only the frontside is painted, backside is still bare stainless steel, and I have connected the ground wires with nice looking bolts and nuts so they make good connection with the arduino when I test the switches with a multimeter, I already use a shield for my arduino with screw terminals,. much easier to connect and then your sure the connection stays the way it is,. I also used some thicker wires for the Ground connections,. Below is a short video I made when I had just finished wiring , so you can get a idea of what I have made.
You say you connected your ground to a painted stainless steel panel. First off, did you remove a patch of paint to get to bare metal? Second stainless steel is not the best conductor. You should consider investing in a decent barrier terminal block. Wire your switch ground wires to the terminal block and then connect the terminal block to the Arduino. I highly recommend a shield for the Arduino that interfaces the pins to a screw terminal. Do not rely on a single point jumper wire type of connection to your Arduino. Best results happen when you terminate every wire under a screw terminal. Ground and power connections should also be made with wire that is larger gauge than the signal wires.