how to recieve serial data on the stamp serial port
Niall
Posts: 7
I am using the serial port on the stamp to communicate with a modem, how can i revieve data from the modem using the recieve pin on the stamp serial port. From what i can make out, the serin command is only used with i/o ports. Please help,
Comments
Just make sure you've got your wiring right and voltage levels within specs!
Check to see if your modem is operating at standard RS232 voltage levels rather than TTL levels. If it is operating at TTL levels you can use any I/O pin on the Stamp to receive data; if not, you will need to use pin 16 as your receive port.
The Stamp will echo any command sent to port 16 using SERIN and a typical modem will also echo commands and you will need to account for this in your code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Craig Eid
www.TriadRD.com