Page 1 of 1

Can I code variables over bluetooth communication?

Posted: Sat Mar 18, 2023 10:10 pm
by abreathe
hello, I am using esp-32 for my first-line follower robot. Can I change the value of P, I, and D wirelessly? It is frustrating to flash every time when I want to modify those values.

Re: Can I code variables over bluetooth communication?

Posted: Mon Mar 20, 2023 10:49 am
by corz.org
Yes.

Re: Can I code variables over bluetooth communication?

Posted: Mon Mar 20, 2023 10:51 am
by bobolink
Define three characteristics?

Re: Can I code variables over bluetooth communication?

Posted: Mon Mar 27, 2023 5:38 pm
by abreathe
corz.org wrote:
Mon Mar 20, 2023 10:49 am
Yes.
can you give me an insight how I would be able to do that! thanks :3

Re: Can I code variables over bluetooth communication?

Posted: Tue Mar 28, 2023 3:04 am
by corz.org
I don't know what a first-line follower robot is, nor what P, I & D could possibly be, so it's difficult to be specific. If your robot came as a kit, I'm surprised it didn't already come with some sort of remote control code. Have you looked through all the documentation?

There are loads of apps and code out there that can help you control gadgets via Bluetooth; search Google or the play store, or (assuming you are using Arduino IDE) head to file / examples / ESP32 BLE Arduino, you should find plenty of code to work with.

Or you could use MIT App inventor or Blynk or something to make writing an app easier.

The more details you provide, the better answers you get.

Re: Can I code variables over bluetooth communication?

Posted: Tue Apr 04, 2023 11:07 am
by abreathe
thank you sir