Can I code variables over bluetooth communication?

abreathe
Posts: 3
Joined: Sat Mar 18, 2023 10:01 pm

Can I code variables over bluetooth communication?

Postby abreathe » Sat Mar 18, 2023 10:10 pm

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.

User avatar
corz.org
Posts: 80
Joined: Fri Feb 03, 2023 10:44 pm
Location: Aberdeen
Contact:

Re: Can I code variables over bluetooth communication?

Postby corz.org » Mon Mar 20, 2023 10:49 am

Yes.

bobolink
Posts: 98
Joined: Mon Feb 26, 2018 4:17 pm

Re: Can I code variables over bluetooth communication?

Postby bobolink » Mon Mar 20, 2023 10:51 am

Define three characteristics?

abreathe
Posts: 3
Joined: Sat Mar 18, 2023 10:01 pm

Re: Can I code variables over bluetooth communication?

Postby abreathe » Mon Mar 27, 2023 5:38 pm

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

User avatar
corz.org
Posts: 80
Joined: Fri Feb 03, 2023 10:44 pm
Location: Aberdeen
Contact:

Re: Can I code variables over bluetooth communication?

Postby corz.org » Tue Mar 28, 2023 3:04 am

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.

abreathe
Posts: 3
Joined: Sat Mar 18, 2023 10:01 pm

Re: Can I code variables over bluetooth communication?

Postby abreathe » Tue Apr 04, 2023 11:07 am

thank you sir

Who is online

Users browsing this forum: No registered users and 48 guests