Send text messages on UART
Contents
Make things
If you enter a text message on a page opened on your smartphone, it will be sent from obniz via UART.
In this example, Mac is connected to the obniz, and the characters received from the smartphone is displayed on the Terminal.
Materials
- obniz Board
- mobile battery
- smartphone to open a browser
- PC to display characters
- tool to display characters such as Terminal
- interface to connect PC and obniz such as USB-Serial conversion cable
How to make
Hardware connection
Connect the obniz Board to PC as below.
obniz | Serial conversion side |
---|---|
0 | RX |
1 | TX |
11 | GND |
Software
For detailed information of UART, refer to UART – obniz.
Program
Execute
If you enter a text message on your smartphone and press “send,” it will be received on your PC.