Hi all, I need your brains for a second!
Im build a Truck Simulator and I
m lucky to have and use the original ignition part.
1# I want to turn ON a 5v Arduino Relay (switch ON PSU for my 24VDV Truck Gauge background lighting).
2# I want the second key position to OUTPUT the letter "e" to my game (as HID) to start the engine.
I think I already know some code for a Pro Micro to send the letter "e", but I might need a wiring diagram (preferable Frizzing) and code to get a 24v Relay going. (I have both UNO R3 and Pro Micro available).
When Position 0: All off
When Position 1: Turn ON 5v relay
When Position 2: Keep Relay ON and output "e"
Thanks in advance!
jeroenV1982:
Hi all, I need your brains for a second!
Im build a Truck Simulator and I
m lucky to have and use the original ignition part.
1# I want to turn ON a 5v Arduino Relay (switch ON PSU for my 24VDV Truck Gauge background lighting).
2# I want the second key position to OUTPUT the letter "e" to my game (as HID) to start the engine.
I think I already know some code for a Pro Micro to send the letter "e", but I might need a wiring diagram (preferable Frizzing) and code to get a 24v Relay going. (I have both UNO R3 and Pro Micro available).
When Position 0: All off
When Position 1: Turn ON 5v relay
When Position 2: Keep Relay ON and output "e"
Thanks in advance!
Post your code using the "</>" button.
Post your electrical diagram.
And them we will take a look and advise.