Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BT SPP wireless connection between microcontroller and Android app. #325

Closed
wants to merge 0 commits into from

Conversation

RoachWZ
Copy link

@RoachWZ RoachWZ commented Dec 24, 2022

#324 I installed a Bluetooth module on the car, which can remotely control the car. Use BT SPP wireless connection between microcontroller and Android app.
Bluetooth_module
The app will not to connect automatically, you must use this switch to select Bluetooth device connect/disconnect.
I recorded a demonstration video of Bluetooth connection
screen_setting

@RoachWZ RoachWZ closed this Dec 26, 2022
@RoachWZ RoachWZ reopened this Dec 26, 2022
Copy link
Contributor

@reger24 reger24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After adjusting the arduino firmware to accept BT input (via #include <SoftwareSerial.h> and BLTSerial.....) it worked for me.

@RoachWZ
Copy link
Author

RoachWZ commented Dec 28, 2022

After adjusting the arduino firmware to accept BT input (via #include <SoftwareSerial.h> and BLTSerial.....) it worked for me.

So you're using ESP32, right? I use the Nano's TX RX to connect with the Bluetooth module. No change arduino firmware

@reger24
Copy link
Contributor

reger24 commented Dec 28, 2022

@RoachWZ

So you're using ESP32, right? I use the Nano's TX RX to connect with the Bluetooth module. No change arduino firmware

not 100% sure but I think mine is called ESP8266 + HC02 (a UNO board)

@RoachWZ RoachWZ requested a review from reger24 January 2, 2023 13:46
Copy link
Contributor

@reger24 reger24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me (as mentioned in earlier comment, after adjusting firmware (ESP32) with Softwareserial.h to accept BT).
It's a nice feature (I already was missing, before I purchased a USB cable).
I'd accept the pull request.

@thias15
Copy link
Collaborator

thias15 commented Apr 2, 2023

@RoachWZ, your contribution would still be appreciated. We just need to merge the BLE PR first to support ESP32 and then find a way to select the BT mode. Sorry for the delay in reviewing, but we have been very busy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants