Hi Nuke,
Yes, I've got some experience with microcontroller (Microchip PIC). That's not really a problem, as I work in industrial automation and I deal with those problem every single day
(by the way if you need help on this side feel free to ask
). I'm also kinda poor
, but I've got the chance to have access to a lot of old and unused hardware parts. It's a funny way to recycle them
I've searched yesterday how it can be possible to use Luasocket to send the captured data over the network. I've finally made UDP work (it was not really easy I must confess...)
Now I've got a small program that act as a gateway between Luasocket and my usb card. I've created a small protocol to send data to the microcontroller and everything is working fine on this side.
I'm using UDP, because it is light and you can send datagram over the network without taking care if they are correctly received or not. Moreover, the gateway can run on the same computer than Freespace and if needed I can also run it on another computer, I've just to change the destination IP address. That's pretty cool.
At this point I send data 4 times per second, it seems to be enough. If my gateway doesn't receive anything or if it receives corrupted data it just doesn't update anything and wait for the next packet (with the performances of the current networks, it is really rare to lose packet on a local network and when it arrive, that means I just have to wait for a quarter of second to have the updated data).
And yeeeeees that's great to hear a buzzer ringing and to see a light going from green to red when you're out of counter measure or when a subsytem is destroyed...
So my problem is not how to send data to the board, but how to extract the data from Freespace
If somebody already found a solution to get the ETS values please let me know, I'm still searching for it.
one of these days i want to do an external radar using the tv out library (or maybe a video game shield). tomorrow i can check and see what code if written and were all my posts on the subject are at.
That sounds really really really interesting. Because, this is the next step for me: I'm planning to hack two old Wifi PDAs and use them as MFDs. The idea I've got now is to create on the fly JPG files based on the extracted data and send them through the network to an application running on each PDA.
And I'm happy to see that I'm not the only guy who's silly enough to try to create a simpit for freespace
Daboule