Interfacing Basic Stamp with a Palm
Wavephf
Posts: 8
I want to be able to build a weather station with a 5v temp sensor and maybe some other 5v sensors. i would like some help on wiring and programming. I would like to build a program for a palm so i can watch the data real time if any one has any ideas on what i need to do this. i would like to be able to communicate with the palm wirelessly by wi-fi or bluetooth. help would be much appreciated.
Thanks, Chad
Thanks, Chad
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
Thanks
The first interface is between the Palm and the BS2. I'm assuming you want the Palm and BS2 platform located together.
The second interface is between the Palm and your PC (or whatever display platform you want to use).
So, to give better answers, we need to know the distance EACH of these interfaces must support.
Only the more recent Palms have built in bluetooth. I know the TX and the Tungsten E2 have it, but the Zires and the older M130 do not. One easy option woulld be for you to install a terminal emulator on the Palm to receive and display the weather data from the Stamp. "Online" from Conklin Systems is pretty nice and supports the bluetooth interface. That would ease your programming requirements on the Palm side. Otherwise serial port programming on the Palm can be fraught with pitfalls in both hardware and in the OS.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chad
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chad
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chad
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are 10 types of people in the world:
Those that understand binary and those that don't.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chad
Here is the code I was using for the temp sensor, note I have not converted my values from time units to degrees.
' {$STAMP BS2}
sensor1 VAR Word
sensor2 VAR Word
loop1:
HIGH 1
HIGH 2
PAUSE 1
RCTIME 1,1,sensor1
RCTIME 2,1,sensor2
DEBUG CR, DEC sensor1, TAB, DEC sensor2
PAUSE 500
GOTO loop1
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chad
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chad