Controlling an Arduino with Flutter [closed] - bluetooth

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am wanting to create an app to control an Arduino using either USB or Bluetooth. Does anyone know if this is possible and/or have any suggestions on resources that I could use to learn how to do this?

No, flutter as of now does not have any bluetooth serial library which is actually needed to communicate with an Arduino.
One way that you can use flutter apps to control Arduino would be to just use ESP8266 wifi shield and control Arduino via api calls or socket connection.
Hope that helps!

Related

Understanding AT commands? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I paired a phone to an android device , but there is a problem in the response of some AT commands:
""" I get an incoming call to the paired phone then i executed random commands"
AT+BLDN
AT+CLCC
AT+CMOD
I have read some informations about the AT commands but I still not understanding if those commands are executed from the paired phone side or from the device to which i paired the phone ?
So if i get problems in AT commands response, shall i consider it as a phone issue or the android device issue?
The AT commands are something that is being processed on your device. Not only BT modules understand AT commands, there are others like WiFi (ESP8266, for instance) or GSM modules that read those.
So usually they are read, interpreted and executed by your chip.
Can you send AT commands as a bluetooth payload? Yes you can! Is it common practice? I don't think so
Then we must fully understand how your device and phone are interacting with eachother to be able to definitively answer yes it's the phone or no, it's just your device.
Reading the manuals of your device would help a lot, but for what you've been providing I would say you're doing something wrong with the AT commands

ESP32 - BLE connection from Linux [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
As far as I know, ESP32 is capable of BLE communication.
Mostly done with Arduino, but I'm interested:
Is there a way to attach ESP32 to Linux, and use the standard BlueZ commands (hcitool, gatttool) for managing BLE peripherals?
hcitool and gatttool are part of the eight tools that have been depreacted by BlueZ
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=b1eb2c4cd057624312e0412f6c4be000f7fc3617
Zephyr is a small real-time operating system for connected, resource-constrained and embedded devices and I believe ESP32 is one of the support microcontrollers.
In Zephyr's documentation there is a section Using BlueZ with Zephyr which features a list of the supported tools that have replaced the ones you mention.
https://docs.zephyrproject.org/latest/guides/bluetooth/bluetooth-tools.html?highlight=bluez#using-bluez-with-zephyr

Using Arduino Lily Pad together with HC-6 bluetooth device [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am thinking of doing a project with wearable electronics.
First off I was wondering if you can connect the HC-6 Bluetooth device to the Lilly Pad, to send data to a computer via Bluetooth? or do I absolutely have to buy the "expensive" Bluetooth Mate?
Second, if the above is not possible, what is the smartest and cheapest solution for sending data from a Lily Pad to a computer?
I don't see why not. First off, this tutorial shows you how to attach the HC-06 to an Arduino Uno: http://www.instructables.com/id/Add-bluetooth-to-your-Arduino-project-ArduinoHC-06/?ALLSTEPS
Even though you are using a Lilypad, the pins are the same. Here is a pinout diagram for the Lilypad: http://figures.oreilly.com/tagoreillycom20090710oreillybooks308088I_book_d1e1/figs/I_mediaobject5_d1e21363-web.png
This does a decent job of explaining Bluetooth serial communication for Macs: https://decyborg.wordpress.com/2013/09/08/bluetooth-serial-communication-with-arduino-jy-mcu-bluetooth-and-macbook-pro/
Or you could check this out for Windows: https://www.microsoft.com/en-us/store/apps/bluetooth-serial-terminal/9wzdncrdfst8
Hope this helps.

Android Bluetooth Piconet / Scatternet protocol [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am trying to develop a chat application for Android which can create piconet / scatternet networks and will be able communicate with everyone in that network. But what i do not know is which routing protocol I should use for it. Thanks for ideas.
There have been several protocols tried out over the years. Try AODV for android.
https://www.researchgate.net/publication/220308162_An_approach_to_use_FB-AODV_with_Android
Link

Can I send arduino programs directly via bluetooth? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would love to upload my arduino sketches via bluetooth, but I have no idea where to start. This is part of a bigger project I am working on.
Yes and it is fairly easy to do. see this post.
Here's a detailed how-to I wrote that includes instructions for Windows and a slightly more simple circuit for using the HC-05 with it's common breakout board (highly recommend getting the module on the breakout): ​http://makezine.com/projects/diy-arduino-bluetooth-programming-shield/

Resources