Society of Robots - Robot Forum
Software => Software => Topic started by: Admin on February 02, 2010, 06:42:28 AM
-
I decided not enough people were using the SoR Scope, so I rewrote the tutorial and made a video.
http://www.societyofrobots.com/sor_scope.shtml (http://www.societyofrobots.com/sor_scope.shtml)
watch it in high res:
Free USB Oscope Software (http://www.youtube.com/watch?v=zULFkOEf5PY#)
(credit goes to Cosmin for the software)
-
Open-source would be great (to port it to $50 robot, etc) ;)
-
Open-source would be great (to port it to $50 robot, etc) ;)
It is (well, will be). The code will be released when WebbotLib v1.14 comes out, probably in a few days. You'll find it in the Axon II example programs.
If you're willing to test it, I'll even write something specifically for the $50 Robot for you.
-
i am willing to help test it out Admin.
i have a Romeo so i can help make any changes that are need as i think one the SoR Scope is developed for a large varieties of platforms it will become an invaluable tool.
-
In theory, it should read all 5 ADC pins, then output the value at a prescale of 32:
http://www.societyofrobots.com/downloads/50_Robot_WebbotLib_Files/50_SoR_Scope_A8_P32.hex (http://www.societyofrobots.com/downloads/50_Robot_WebbotLib_Files/50_SoR_Scope_A8_P32.hex)
edit: Its meant for 16MHz and 38400 USB baud rate, but I can change that to whatever you need
-
Admin any chance of getting the original C code so i can have a look, see how it works and see if i can get it to work for the Romeo Arduino
Thanks
Joker94
-
Its all in here:
http://www.societyofrobots.com/downloads/50_Robot_WebbotLib_Files/50_Robot_WebbotLib.zip (http://www.societyofrobots.com/downloads/50_Robot_WebbotLib_Files/50_Robot_WebbotLib.zip)
-
awsome thanks admin ;D
-
Any chance of getting the source code of the actual scope?
Some problems...
The beta link doesn't work, and Button2... what's it do?
Looking at the source to the axon code it looks very simple, what wasn't the prescale stuff made configurable, so the scope could change the prescale on the fly? The same with the number of channels. Was this a design decision or simply the fastest way of getting something working?
-
The original author said he was incredible busy for the next few months, so probably won't see changes for awhile.
The button 2 was a test he was doing and never undid . . .
-
I love the idea of using the $50 dollar robot board for this! One question, how do I connect the 50 dollar robot to the computer? I was looking at the V-USB drivers... looks interesting, but before I go futher down that route, I wanted to know how people are doing it now.
-
well you have the option of USB or RS232 connectors. It depend what you want to use. I would use USB as RS232 ports are being phased out and so most computers dont have them any more. And if you want to work from a laptop you'll need USB.
Here is where they are mentioned in the UART tut and one of them you will have to chose.
http://www.societyofrobots.com/microcontroller_uart.shtml#adaptor (http://www.societyofrobots.com/microcontroller_uart.shtml#adaptor)
-
Think I'm, going to try using a serial to usb cable like a modified Nokia data cable.
-
Does anyone have the actual scope software sources? I'd love to see if I can get this to compile on Linux.... Or I guess I could attempt to add a new data source for xoscope.