Search  
Tuesday, January 06, 2009 ..:: Forum ::.. Register  Login
 HomePage Minimize

 Print   

 Products Minimize

 Print   

 MSRS Minimize

 Print   

      
 RoboticsConnection Forum Minimize
SearchForum Home
  Discussions  Serializer Robot Controller  Many Questions...
 Many Questions
 
 11/12/2007 2:32:46 PM
obiwan177
3 posts


Many Questions
Hello, I need to ask a few questions about the Serializer. First, I was wondering what the best way to connect to the Serializer would be? I plan on using the SRC to control some experiments, because I could program it to record time, and exact inputs etc. and record it to a file on the computer. I would also like to be able to change values in real-time on the computer/PDA on a standard Windows Form. These experiments would take place in my shed, which is not exactly near my desktop in any way, although I do have a wireless router. On the other hand, I have always been fascinated with robots, and have been looking for a controller for some time (the OOPic looked like the best deal before I saw this one), so I will also want to be able to use the Serializer with a robot. I have been looking around, and the best bet I think would either be a connection to a laptop, or a wireless connection to a PDA. The thing is, I don't have either at this moment, and a used PDA is cheaper than a used laptop, but Bluetooth is more expensive than a USB cable. I would like to have the freedom to not be 'tethered' to the SRC all the time, but I also don't want to spend loads of cash. Thank-you for reading to the end of this post :)
 11/12/2007 2:41:42 PM
obiwan177
3 posts


Re: Many Questions
I forgot that I had a few other questions as well. Second, because I am doing experiments, I may need to time faster than 1 ms, as accurate as possible. Is there any way to do this? Can the Serializer actually handle it? Theoritically, you could just call the same command 5 times in one loop, and have it loop over and over. Third. I was thinking of using the H-Bridges as a means to produce a square-wave, because I could just switch from a positive to a negative value every so often. But I need to be able to change the voltage or amperage level of the wave, without changing the timing. I was thinking of using the PWM command, and just increasing or decreasing that value, but I heard Ringo say somewhere that PWM is what percent of the time that the voltage is applied? Could someone clarify? Thanks for all your input beforehand. -obi
 11/12/2007 3:23:42 PM
jason
158 posts
5th


Re: Many Questions

Most PDAs and Laptops these days have Bluetooth radios, so if you're looking for a non-tethered connection, Bluetooth is a good solution if you're connection distance is less than about 35-40 feet (indoors), or better (outdoors).

The Serializer also supports XBEE radios, which might be a good solution for you, because they are wireless too.  If the Bluetooth radio doesn't have a far enough reach (distance between your shed and your house), then you can use XBee radios.  These are nice in that you can add additional XBee radios between the Serializer, and your PC, to work as relays.  In addition, for the XBee radios to work, you can use an RS-232 Serial to XBee board that plugs into your PC, and you can have an almost instant connection w/ the Serializer (fitted w/ a XBee radio).   You will have to perform a little bit of configuration for each XBee radio, and there's a good article on how to do this in I believe Circuit Cellar magazine a few months back.

Hey Ringo, what issue of Circuit Cellar magazine featured the article using distributed XBee radios being used to gather data around the author's home (e.g. pool temp, outside temp, etc.)?

You will need to purchase the XBee radios directly from MaxStream.   They wouldn't give us enough of a cost break to justify selling them, hence the reason we send customers to MaxStream.

I doubt Serial or USB will work for you since your shed is probably quite a ways from your home, outside.


Jason Summerour
President,
Summerour Robotics Corp
Microsoft MVP
www.roboticsconnection.com
 11/13/2007 5:42:05 PM
obiwan177
3 posts


Re: Many Questions
Hmmm, I was thinking of using a PDA, because then I could change the variables in real-time, and tweak settings etc. But then I would have to get the Bluetooth chip, which is like $60. And could someone help with the other questions? -obi
 11/14/2007 9:50:33 AM
ringo
36 posts


Re: Many Questions

You asked about timing > 1ms. the sonar timing functions look for a rising edge then time how long until it sees the falling edge. You can configure the serializer to return this value in uS. Would this work for you?

For the PWM question. the frequency of the pwm is fixed at 10 khz. If you set a pwm value of 1 then there is voltage applied 1% of the time. A pwm value of 50 means 50% of the time (square wave), etc. If you filter this output with a large capacitor then you will get an analog voltage out = to the percentage mentioned above. So if you use a 9.6V battery and a pwm value of 50 you will get approximately 4.8V. I say approximately because Im sure there is some loss in the H-bridge, but it should be a linear drop so you could account for it. 

 

Does this help?

Ringo

 


Ringo Davis, Hardware Technical Lead RoboticsConnection.com
  Discussions  Serializer Robot Controller  Many Questions...

SearchSearch  Forum HomeForum Home    Print   

Copyright 2004-2007 Summerour Robotics Corp   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2009 by DotNetNuke Corporation