Make Your Own Arduino BLE App in Android or iOS with Capacitor

Make Your Own Arduino BLE App in Android or iOS with Capacitor

a boy can dream

54 года назад

2,191 Просмотров

Using Capacitor, you can make your very own custom Android/iOS app for your Arduino/ESP32 projects.

Instruction write-up can be found here: https://aboycandream.com/esp32-capacitor-ble-tutorial/

The Arduino Code we're starting off with came from Mo_Thunderz github here: https://github.com/mo-thunderz/BleMobileAppMitAppInventor
The original video where he made that code to work with MIT App Inventor can be found here: https://www.youtube.com/watch?v=RvbWl8rZOoQ

My final Capacitor Javascript code and final Arduino code can be found on my github: https://github.com/aBoyCanDream/ESP32-Capacitor-BLE-Tutorial

Learn more:
Links to Mo_Thunderz Youtube Channel: https://www.youtube.com/@mothunderz/videos
An excellent write-up for the ESP32 BLE Library by Neil Kolban: https://github.com/nkolban/esp32-snippets/blob/master/Documentation/BLE%20C%2B%2B%20Guide.pdf
A great javascript tutorial: https://www.youtube.com/watch?v=9M4XKi25I2M&pp=ygUfamF2YXNjcmlwdCB0dXRvcmlhbCBjYWxlYiBjdXJyeQ%3D%3D

0:00 - Intro
3:35 - Install & Setup
10:55 - First Example: Scan
21:22 - Installing on iOS
25:58 - Installing on Android
30:58 - Second Example: Connect
35:34 - Overview of Arduino BLE Code
43:13 - 3rd Example: Reading from ESP32
52:12 - Little Endian Vs. Big Endian
53:25 - 4th Example: Sending Data to ESP32
58:38 - 5th Example: Toggle LED On/Off
1:00:03 - 6th Example: Sending Multiple Data
1:08:01 - Renaming your App and Creating Custom Icon
1:16:18 - Final Test
1:19:13 - Troubleshooting

Endianess graphic courtesy of: Aeroid, CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0, via Wikimedia Commons

Тэги:

#Cordova #Javascript #Maker #Bluetooth #Tutorial #Transmit_data_packets #Ionic
Ссылки и html тэги не поддерживаются


Комментарии: