Society of Robots - Robot Forum

Software => Software => Topic started by: Admin on February 02, 2010, 06:42:28 AM

Title: SoR Scope revival (free USB oscilloscope software)
Post 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)
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Razor Concepts on February 02, 2010, 09:57:24 AM
Open-source would be great (to port it to $50 robot, etc)  ;)
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Admin on February 02, 2010, 09:17:41 PM
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.
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Joker94 on February 03, 2010, 12:20:24 AM
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.
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Admin on February 03, 2010, 12:54:28 AM
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
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Joker94 on February 03, 2010, 01:36:03 AM
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
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Admin on February 03, 2010, 01:57:01 AM
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)
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Joker94 on February 03, 2010, 02:03:10 AM
awsome thanks admin ;D
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: iplayfast on February 21, 2010, 09:00:00 PM
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?
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Admin on February 22, 2010, 12:00:20 AM
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 . . .
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: mgargiullo on March 12, 2010, 06:24:46 AM
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.
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: Joker94 on March 12, 2010, 03:50:32 PM
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)
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: mgargiullo on March 15, 2010, 05:51:22 AM
Think I'm, going to try using a serial to usb cable like a modified Nokia data cable. 
Title: Re: SoR Scope revival (free USB oscilloscope software)
Post by: mgargiullo on March 15, 2010, 06:19:16 AM
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.