|
|
|
|
|
| |
Posted by Jon Hylands on October 18, 2007, 1:38 pm
Please log in for more thread options
wrote:
> There are a couple books that have been written about using PDAs in
> robots. I have two of them and I think one is called PDA robotics. I
> can't remember how exactly they did it, if they used the usb port or
> not. I will have to look it up later.
MicroSeeker used to use a Dell Axim PDA running Squeak, talking to a PIC
microcontroller. I used a 19,200 baud serial link (RS-232) between them.
Right now, I'm using a gumstix verdex (which has host USB) running Squeak
to talk through an FT232 USB transceiver chip to an ATmega168 at 1.0 Mbps.
In Squeak I open the USB port as though it was a serial port, and
everything works great.
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog
|
|
Posted by Wayne C. Gramlich on October 18, 2007, 3:16 pm
Please log in for more thread options
Jon Hylands wrote:
> wrote:
>
>> There are a couple books that have been written about using PDAs in
>> robots. I have two of them and I think one is called PDA robotics. I
>> can't remember how exactly they did it, if they used the usb port or
>> not. I will have to look it up later.
>
> MicroSeeker used to use a Dell Axim PDA running Squeak, talking to a PIC
> microcontroller. I used a 19,200 baud serial link (RS-232) between them.
>
> Right now, I'm using a gumstix verdex (which has host USB) running Squeak
> to talk through an FT232 USB transceiver chip to an ATmega168 at 1.0 Mbps.
> In Squeak I open the USB port as though it was a serial port, and
> everything works great.
Jon:
Your experience is not matching mine.
I am only having so-so success with my FTDI USB-to-RS232 serial
converter. I need to do some more research, but it looks
like there is some serious overhead in the USB protocol stack
that adds some significant delays. I am running at 115200
and I am getting pathetic performance. My commands are really
short -- send one or two bytes and get 1-3 bytes in return.
I need to do some more sluething to verify that it is some
stupid software bug tho'.
In a week or two I hope to have some more solid numbers as to
what is really happening. (I need to order some more parts.)
-Wayne
|
|
Posted by Joe McKibben on October 18, 2007, 3:49 pm
Please log in for more thread options > Jon Hylands wrote:
> > wrote:
>
> >> There are a couple books that have been written about using PDAs in
> >> robots. I have two of them and I think one is called PDA robotics. I
> >> can't remember how exactly they did it, if they used the usb port or
> >> not. I will have to look it up later.
>
> > MicroSeeker used to use a Dell Axim PDA running Squeak, talking to a PIC
> > microcontroller. I used a 19,200 baud serial link (RS-232) between them.
>
> > Right now, I'm using a gumstix verdex (which has host USB) running Squeak
> > to talk through an FT232 USB transceiver chip to an ATmega168 at 1.0 Mbps.
> > In Squeak I open the USB port as though it was a serial port, and
> > everything works great.
>
> Jon:
>
> Your experience is not matching mine.
>
> I am only having so-so success with my FTDI USB-to-RS232 serial
> converter. I need to do some more research, but it looks
> like there is some serious overhead in the USB protocol stack
> that adds some significant delays. I am running at 115200
> and I am getting pathetic performance. My commands are really
> short -- send one or two bytes and get 1-3 bytes in return.
> I need to do some more sluething to verify that it is some
> stupid software bug tho'.
>
> In a week or two I hope to have some more solid numbers as to
> what is really happening. (I need to order some more parts.)
>
> -Wayne
The other book I have is The Ultimate Palm Robot. It seems to give the
same type of setup as PDA Robotics does.
Yeah Acroname's PPRK robot used to have a kit that hooked up to a PDA
through there brainstem controller.
Joe McKibben
|
|
Posted by Jon Hylands on October 18, 2007, 6:30 pm
Please log in for more thread options On Thu, 18 Oct 2007 19:16:12 GMT, "Wayne C. Gramlich"
> I am only having so-so success with my FTDI USB-to-RS232 serial
> converter. I need to do some more research, but it looks
> like there is some serious overhead in the USB protocol stack
> that adds some significant delays. I am running at 115200
> and I am getting pathetic performance. My commands are really
> short -- send one or two bytes and get 1-3 bytes in return.
> I need to do some more sluething to verify that it is some
> stupid software bug tho'.
It must be something you're doing. I know with at least one C++ library a
friend was using, he was getting pathetic performance because the library
was doing a 100 ms delay/timeout on every receive.
(update - I just asked him, and he said it was the lserie library from
cppfrance, or something like that)
I can send and receive at 1,000,000 baud with no trouble, with very little
delay. From windows, I get approximately 1-2ms of overhead with each round
trip (after I reset the port latency to 1ms from its default 16ms).
The packets I send are between 10 and 150 bytes each, and receive packets
are typically 10-15 bytes.
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon@huv.com http://www.huv.com/jon
Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog
|
|
Posted by Wayne C. Gramlich on October 18, 2007, 2:25 pm
Please log in for more thread options Joe McKibben wrote:
> On Oct 18, 3:50 am, Jens Peter Lindemann <j...@bioneuro18.uni-
> bielefeld.de> wrote:
> There are a couple books that have been written about using PDAs in
> robots. I have two of them and I think one is called PDA robotics. I
> can't remember how exactly they did it, if they used the usb port or
> not. I will have to look it up later.
The book _PDA_Robotics_ by Doublas Williams (ISBN 0-7-141741-9)
uses an IRDA interface to communicate with the rest of the robot.
Old PDA's have IRDA's but newer ones have dropped that interface
entirely in favor of USB.
> You may also want to check out www.acroname.com, they have some PDA
> robot kits that are pretty cool.
Could you be more specific?
-Wayne
|
| Similar Threads | Posted | | connecting wires to motors? | September 12, 2006, 6:43 pm |
| Re: i was connecting to contact you some of my worrying discussions | November 10, 2007, 3:02 pm |
| Connecting an Electric Motor to Computer | June 16, 2008, 5:38 pm |
| ARM Microcontroller with Forth | January 27, 2008, 10:59 am |
| Simple microcontroller, UK? | September 5, 2006, 6:20 pm |
| Microcontroller options | May 25, 2007, 3:11 pm |
| Re: Q:Help with Microcontroller selction | January 23, 2008, 9:08 pm |
| microcontroller/programming advice please | November 18, 2005, 9:53 am |
| how it could be connected to the PIC16F88 microcontroller? | November 6, 2006, 5:49 pm |
| Parallax Microcontroller Guide | February 16, 2007, 9:08 am |
|
|
|
> robots. I have two of them and I think one is called PDA robotics. I
> can't remember how exactly they did it, if they used the usb port or
> not. I will have to look it up later.