loading
We have used the pda with a desktop computer (robot) and with the Nslu2. Here we are going to use an old pda with serial port.to act as an lcd. Everyone either has one or knows someone who has an old pda that they do not use anymore.  Ask them if you can borrow it get get it cheap. Though it is not demonstrated here, you could also use the pda for input,  Therefore you can easily interact with your Arduino using the proper programming.Another advantage of using the serial lcd is that you have more pins freed for use than with a parallel lcd screen.An lcd takes up less room that a tv and is lighter to carry around.

Step 1: Needed:

Pda with lcd termial software and rs232 interface/
rs232 to ttl interface.
4 pin female header like from a cdrom cable.
Arduino.
Arduino IDE

Step 2: Pda.

We will be using and old Palm III and cradle.
ptelenet. prc is installed.

Under linux with a properly set serial port:

Now to get the Pda working with the unit. The Palm pda will not work as is as a dumb terminal, so I had to install a program on to it from another computer called ptelnet.prc using a usb to serial interface. The Palm has an interface cable that will plug directly into the 9 pin serial port on the back of the computer or into an usb to rs232 converter cable..

For linux: (Other systems will vary on how to do this).
$ sudo apt-get install pilot-xfer
$ pilot-xfer -p /dev/ttyUSB0 -i ptelnet.prc

Set serial 9600-8-n-1

Step 3: DB9 Gender.

Most rs232 interfaces come with a female end assuming you will adapting to a standard rs232 port. I ordered a male because I wanted to allow the pda cable with the standard female end to plug into it directly with out a gender changer.

Step 4: Rs232 to TTL Interface.

Rs232 has a higher voltage than the Arduino uses. You have to have some electronics to deal with the voltage differeinces.

1. Get an arduino rs232 shield. (You may need a femaie-female gender changer adapter)
2. You can get a pre-made adapter. Easiest.
3. You can get a dip Integrated circuit (aka IC). (Make sure to get some 1uF or 10uF capacitors while you are at it)
4. You can make one from discrete electronic parts you might have laying around.

Notice: Use any electronic circuit at your own risk.  I will not be responsible for any or all issues. Get a professional to help if you are unsure.

Step 5: Cdrom Header Cable.

To adapt the header on the rs232-ttl interface you will probably need cdrom cable end (wires and header) to connect to the Arduino. Like to use cable where all the wires are not bundled up. Otherwise you will have to strip com insulation back to have enough length to connect to the Arduino. IF the cable has headers on both ends, there is usually a metal tab that will release the wires from the header without having to cut the header off. 

Step 6: Upload the Code.

Enter the code into the arduino ide and then run it with the pda attached!. Note: You may want to remove the back light commands if your pda does not support them. You should be able to easily cut and paste into the Arduino IDE.

Minimal code:

[code]

void setup()
{
  Serial.begin(9600);
}

void loop()
{  
  Serial.print("It's working! ");
  Serial.print("\n");
  delay(1000);
}

[/code]
or this should work as well

[code]
/*
 * Hello World!
 *
 * This is the Hello World! for Arduino. 
 * It shows how to send data to the computer
 */voidsetup()                    // run once, when the sketch starts
{
  Serial.begin(9600);           // set up Serial library at 9600 bps
}

voidloop()                       // run over and over again
{
  Serial.println("Hello world!");  // prints hello with ending line break
  delay(1000);
}


[/code]

Step 7: Connect It All.

Remove the programmer and then hook it all up. (Be sure the Arduino has it's own power source.). You should see results immediately.

Pda and serial cable >> gender changer if needed >> rs232tottl adapter >> cdrom audio cable >> correct points on the Arduino. (rx, tx, +5, and ground.)


Note: if your pda has a db25 rs232 end, you will need to get an rs232 db25 to db9 adapter.

Step 8: Not So Cheap Screen.

<p>I hooked my Arduino Uno with a linksprite interface and my Palmlllxe but I get no readout on the Palm. I tried both sketches and it appears they installed on the Uno and the interface blinks in unison with the Uno so I don't know what went wrong.</p>
<p>Not familiar with that hardware. Did you install a telnet program on the palm?</p>
<p>I installed ptelnet. This is the linksprite unit: </p><p><a href="http://www.amazon.com/gp/product/B00I6OFDH2/ref=oh_aui_detailpage_o04_s00?ie=UTF8&psc=1" rel="nofollow">http://www.amazon.com/gp/product/B00I6OFDH2/ref=oh...</a></p>
<p>Did it work? Some boards require you to load in a library on the Arduino.</p>
<p>I probably wasn't clear ... I responded to your inquiry when I said I installed ptelnet so it was installed originally when this setup didn't work. I can't find any reference to an additional library for the linksprite. I have ordered a cutedigi unit as you used and I'll see if that works. Thanks.</p>
<p>Did not research that unit on the net, but there has to be a simple answer without reinventing the wheel.</p>
<p>I AM CONFUSED IN THIS IMAGE AT THE PIN 2 CAPACITOR IS CHANGED IN BOTH CKT WHICH IS RIGHT?</p>
<p>There are many varieties of maxim232 chip. they atr not all the same. Contact www.maxim.com for more details</p>
I thought someone smarter than me would figure this out. Thank you. I have a box of Palms and Handsprings I can repurpose now.
Your, welcome.
I was just about to toss my PDA collection. <br>Now they will be reborn as screens for our arduino projects. <br> <br>Thank you!
Cool. Your thinking outside the box!
so this acts as an extra, small screen next to your computer?
It acts as a screen for output from the Arduino. Computer per se not required.

About This Instructable

21,284views

49favorites

License:

Bio: computoman.blogspot.com Bytesize articles instead of a trilogy in one post.
More by Computothought:Coffeepot meals Easy sun hat Easy cakes and pies. 
Add instructable to: