Page 2 of 3

Re: Arduino - Serial Device

Posted: 04 Jul 2019, 08:45
by aeronauta
A further question , is this device capable of sending info to Spad.next?? eg . change an LVAR from 0 to 1?
I seem to be trying to do something it cannot do...
Jorge

Re: Arduino - Serial Device

Posted: 04 Jul 2019, 14:31
by Oz Flyer
So far I can read both Simconnect and LVAR's But unable to write to them.
Only write is to Log File.

Re: Arduino - Serial Device

Posted: 04 Jul 2019, 23:31
by aeronauta
Yes the write to log file are the debug command 3 arguments...

Jorge

Re: Arduino - Serial Device

Posted: 05 Jul 2019, 05:01
by lesoreilly
So with the Leo or Micro you can do the USB HID device and make a Joystick controller.

Oz -- I am more than happy to try and take your Radio and mix it in with the Joystick HID devices to see if we can have both running to get the input from the Spad for the Data Fields and then have buttons to bind to events in span.next......

I have not had time to revisit my "transponder" and change it to what is essentially totally different --- not that there is anything before hand to lead me to believe that they way I was implementing the TXDR was going to match what the interface was going to do :)

looking back at it I have no idea what I was thinking when I decided I wanted to treat each digit as a different Var....So weird, but made it easy to set limits and also move the cursor :)

Re: Arduino - Serial Device

Posted: 05 Jul 2019, 06:19
by aeronauta
Much simpler is for you to download the serialdemo.spad.ino from github and try to embed your sketch in it , the demo works by turning the 13 system led on/off by changing the AP heading knob in the AC . as the latest version it works OK and logs the state of the led back to spad .
Get it from here https://github.com/c0nnex/SPAD.neXt
I tried the UNO but it does not register with Spad, although spad see a device in port5 , but does not add it. Nothing I could see in the log.. .

Jorge

Re: Arduino - Serial Device

Posted: 05 Jul 2019, 09:53
by Oz Flyer
I have been using the Leo in Joystick Mode for some time now in my GPS project (info on the forum) and to convert an OLD Games Port addon's over to USB so it would be quite easy to mix them to make one device but a bit of a wast of hardware.

Still need to retry my Leo board with the serial demo code (just for the hell of it) think I will stick with the MEGA for serial and Leo for Joystick projects.

Re: Arduino - Serial Device

Posted: 05 Jul 2019, 12:04
by aeronauta
The Bell 206 helicopter has an annunciator panel with 20 leds , so far so good but it also has a SW for light test......

Jorge

Re: Arduino - Serial Device

Posted: 05 Jul 2019, 15:25
by Oz Flyer
I use a PACLED 64 for Annunciator Panel as the CH47 has 39 with text an if you what to be true to the aircraft another 25 that light up under test but are blank.
That makes 64 LED in the panel. I only have the 39 with LED's

Re: Arduino - Serial Device

Posted: 06 Jul 2019, 00:21
by aeronauta
yes David, I have used in the past the SIOC boards (and still have them) and also Mobiflight but that is not the point , we are talking about Arduino and Spad.next and would be nice to know if it is worth our efforts to try and use it to the Arduino's full potential I/O .

Would be nice to get some comments from Ulrich regarding this...

Jorge

Re: Arduino - Serial Device

Posted: 30 Sep 2019, 13:29
by Oz Flyer
Update on Arduino radio project.
P1010150.JPG
As you can see, Still using the LCD 2 line display but now can display Com1 & 2 Act & Stby or Nav1 & 2 Act & Stby using select button to swap which is displayed.
I can swap the Freq on the displayed radios - up button swaps Com1 or Nav1 and the down button swaps Com2 or Nav2.

I also have button status displayed in the data monitor.
Just about to the point of moving to 7 segment displays so I can display all 4 radios at the same time (Full radio stack).