Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Serial Connection over Bluetooth using Arduino
Started by zskuld Aug 16 2017 10:05 AM

2 replies to this topic
arduino serial bluetooth classic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 1 posts
  • Corona SDK

I am working on a project that uses an arduino to transmit data from sensors via bluetooth. I originally used LabVIEW as a proof of concept, utilizing the bluetooth in my computer. 


It essentially creates a serial communication through these devices. I set the same baud rate, and see a stream of data. 


I assumed this was really easy to add into my prototype I created in corona, but I am quickly finding that not to be the case. I have seen a number of people trying to do something similar using an arduino. I am not sure if any of the bluetooth plugins support BT classic. 


After working with the spiralcode bluetooth and finding that they do not support classic (even though it's mentioned as an option in the documentation) I am changing over to the Scott Henderson bluetooth plugin


I find it quite strange that this functionality is often glossed over when people use arduino's for so many little things. If anyone has gotten this to work within corona, please let me know. Otherwise, I think I might just have to recreate what I have in Android SDK similarly to the implementation found here.


Any help would be greatly appreciated

[TOPIC: post.html]

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,854 posts
  • Enterprise

My plugin currently only supports the Bluetooth Library on Android. https://developer.android.com/guide/topics/connectivity/bluetooth.html

It does not support BLE, it supports "Classic" Bluetooth.

On iOS supports BLE and not "Classic" Bluetooth, due to the fact that iOS only supports BLE.

[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 283 posts
  • Corona SDK

Any update on this?  I am looking at doing bluetooth/Arduino with my class next year and wondering if it is possible?





Also tagged with one or more of these keywords: arduino, serial, bluetooth, classic