Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
I can do this over the weekend (well... I can do the PC part over the weekend, not sure about the MCU part)
The MCU should send data from the sensors using an simple format. I'm thinking of the configurable text (configured in the script using "Prefix") immediately followed by the result from the sensor. Because it's configurable it would work for anyone's robot and it would not require too much programming experience.
QuoteI can do this over the weekend (well... I can do the PC part over the weekend, not sure about the MCU part)Do you have an Axon? If so, just upload the axon_DAQ.hex and the MCU part is done. It outputs all 16 ADC as a constant data stream.
QuoteThe MCU should send data from the sensors using an simple format. I'm thinking of the configurable text (configured in the script using "Prefix") immediately followed by the result from the sensor. Because it's configurable it would work for anyone's robot and it would not require too much programming experience.I completely agree. The easier it is for someone else to reconfigure the better.Also, you wouldn't by any chance know how to create a time graph from data? For example, if I wanted to plot sensor output vs time in realtime, etc.
Can you give me a sample dump as received from the Axon running the axon_DAQ program?
This brings into discussion all sort of interesting things, like auto-detecting COM port and port configuration.
airman00, feel free to share more info about your VB source http://www.societyofrobots.com/member_tutorials/node/170http://www.instructables.com/files/orig/F01/57FK/FIHVKCYW/F0157FKFIHVKCYW.zip
This program shows how to connect to a GPS receiver (wired or bluetooth via SPP outgoing connection) and decode GSV, GSA and GGA sentences of NMEA protocol, display position coordinates and satellite informations such as signal strength, satellite ID and satellites used for fix
cosminprund, turns out I'm a moron . . . the DAQ prints out 18 values, where the last two represent the timer. Could that be why it didn't work?
I think you should create something flexible, so each user can enter the data format.There won't be major differences between the formats on the long term, mostly everybody outputs the values raw from the memory - but to make it good, the trick will let them be to configure this order, and how to display them.You could also add 'special' type of variables, for example the pitch-yaw-roll or acceleration could be displayed on an opengl type of thingy, in 3D, or proximity stuff as transparent/less transparent walls around a crude model (box, circle?)
If you don't see anything on the "Bulk data" page then it's bad... I'll need to do some tests with some real serial connection, preferably a MCU connection.
I've done the thing in a highly flexible way. The 16-value DAQ is not what I want to use so I'll add flexibility. I also want it to work the other way around (send data to the MCU). I don't want to deal with 3D stuff and complex visualizations for now, nor will I bother with very complex input GUI's - I just want the thing to work, be modular. Next I'll add in the ability to create visualizations and input-modules as plugin modules that may be written in any programming language.
Nothing is displayed at all, not even on the Bulk data page . . .
Do you know if the Axon provides flow control and handshake?
But with the way Romania's parcel service works it might be a full month before I actually get the Axon! Even if it only takes 10 days for a packet to make it from USA to my home town
To my knowledge, no. But not entirely sure what the USB drivers do. Trying turning that stuff off, plus account for 18 values instead of 16, and I'll try it again.
I live in Thailand and I know exactly how you feel. Except here you have to bribe the mailman occasionally or your mail might get 'lost'. And thats assuming a bunch of protesters don't shut down the airport blocking all international mail
I wish I was better at Java programming I got to learn that 'swing' library so I can make Java GUIs