I would like to write a simple app that displays weight values sent from a scale.
The scale sends data (with a defined protocol) through RS232 port: considering that I cannot connect the iPhone to the Serial port, I was thinking to use a RS232/WiFi adapter (or RS232/BT adapter).
The iPhone should act as a Master and the scale a Slave: the iPhone sends a command (a simple text string) to the scale and the scale answers with the weight value.
Is the WiFi/BT a possibile solution to exchange the serial data between the iPhone and the scale ?
If yes, how can I establish the connection with the scale and then exchange the data with it ?
I'm a newbie so I would need very basic information and possibly some links to tutorials or sample code to understand how to write this app.
Thanks.
Have you heard about using the audio jack as a receiver of data?
iPhone @ 1200BAUD
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With