Hello.
I found a very interesting universal Android app that can replace touch screens for electronics, using smart phone.
The electronic circuit can also works as an IoT through this application. (ESP8266 module is used instead of Bluetooth module)
The application is managed via Bluetooth, USB or WiFi connection. On the electronics side, the standard serial TTL RS232 is used.
You can also find Bascom examples and detailed instructions on this website.
Simply install the app on your smartphone or other Android device. Connect your device (TTL RS232) to your project via Bluetooth or USB. Use the menu to set the type of communication and then send the TXT initialization process.
One or more different devices can be managed with this application. (microcontrollers, Arduino, embeded PC, PC, PLC controllers, ... all devices using standard serial RS232, Bluetooth, USB or WiFi)
Here is a simple Bascom example of “Speed Measurement” with the HB100 radar sensor. I took the concept and calculation from the Arduino forum.
I used and defined GUI-O objects and such an application was created. I used Bluetooth HC05/HC06 for communication, but it also works with other Bluetooth modules, even BLE. The accuracy of the measurement speed depends on the quality of the sensor and the gain of the operational amplifier. The scheme, images and source code are attached.
NOTE. Rx and Tx Bluetooth modul is conected to PD.0 (D0) and PD.1 (D1) and NOT to PD.3 (D3) and PD.4(D4).
Init procedure:
Code:
Init_guio: DisableInt0 DisableTimer1
Print"@sls"' hide writing objects Print"@cls"' clear HW components of smart phone Print"@clh"' clear screen on smart phone Print"@guis BGC:#000000 ASR:0.449671"' set background- black and resolution of phone
'Picture "speed_p.jpg >> copy this picture on smart phone to directory " Galaxy A51\Phone\Android\data\com.guio.guioapp\files\Pictures" Print"|IM UID:im1 X:50 Y:20 W:100 H:100 ROT:0 SHE:0 IP:";Chr(34);"speed_p.jpg";Chr(34)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum