3.- App. OTG cable. UART CP2102. SerialOTG extension.
-
App sends information to the UART via the OTG cable. The UART passes the information to the HC-12 and the HC-12 transmits it.
-
We will use an OTG cable and a USB - UART (Rx/Tx) converter, CP2102.
-
I will use the Serial component (from Connectivity)
-
You can also use the extension: SerialOTG: https://github.com/rkl099/Appinventor-SerialOTG
- Note that the HC-12 module is powered by the phone, so it cannot reach a great distance, perhaps 100m.
- App Inventor.
p10A_OTG_CP2102_HC12_2.aia (192.2 KB)
arduino_receiver.ino
[The same code from the previous post.]


