[help needed] HOWTO use Bluetooth module

Hardware inside and outside of the ECU
opelpanfan
Posts: 25
Joined: Thu Oct 07, 2021 1:38 pm
Github Username: opelpanfan
Slack: Ben

Re: HOWTO use Bluetooth module

Post by opelpanfan »

If anyone has an issue accessing JDY-31 using putty.
4afab98f1db9d61bbc477d42b3c4ff55.jpg
4afab98f1db9d61bbc477d42b3c4ff55.jpg (88.97 KiB) Viewed 4414 times

You can try Arduino IDE serial monitor:
image.png
image.png (9.15 KiB) Viewed 4414 times
Also tried to use Serial Port Utility and it works as well.
image (2).png
image (2).png (30.69 KiB) Viewed 4411 times
Link to windows software: https://wiki.wit-motion.com/english/lib/exe/fetch.php?media=serial_port_utility.rar
serial_port_utility.zip
(9.34 MiB) Downloaded 199 times
Spec and AT command sheet can be found:

http://myosuploads3.banggood.com/products/20190129/20190129043725SKUA87502.pdf
Last edited by opelpanfan on Thu Mar 03, 2022 8:24 pm, edited 2 times in total.
User avatar
AndreyB
Site Admin
Posts: 14332
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: HOWTO use Bluetooth module

Post by AndreyB »

Weird, how come?! Wonder which settings are we not setting in Putty to not have it working :(
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
opelpanfan
Posts: 25
Joined: Thu Oct 07, 2021 1:38 pm
Github Username: opelpanfan
Slack: Ben

Re: HOWTO use Bluetooth module

Post by opelpanfan »

Maybe default Flow control?
image.png
image.png (23.27 KiB) Viewed 4409 times
Putty defaults to XON/XOFF
User avatar
AndreyB
Site Admin
Posts: 14332
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: HOWTO use Bluetooth module

Post by AndreyB »

Wow that Serial Port Utility has done the trick for me! Got "AT+VERSION" response from my JDY-33
image.png
image.png (41.34 KiB) Viewed 4054 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14332
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: HOWTO use Bluetooth module

Post by AndreyB »

opelpanfan wrote:
Thu Mar 03, 2022 12:25 pm
If anyone has an issue accessing JDY-31 using putty.

4afab98f1db9d61bbc477d42b3c4ff55.jpg
It's a small world. It has Beken BK3231S chip see https://rusefi.com/forum/viewtopic.php?f=13&t=1999 where JDY was not mentioned

And JDY-33 sometimes says BK3432 https://www.bekencorp.com/en/goods/detail/cid/17.html
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14332
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: HOWTO use Bluetooth module

Post by AndreyB »

Anyway there is also JDY-40 based on BK2461

And then there is https://www.elektroda.com/rtvforum/topic3758492.html calling all these clones of NRF24L01 ?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
jlowens76
Posts: 3
Joined: Sun Jan 22, 2023 8:46 pm
Github Username: interbiznw

Re: HOWTO use Bluetooth module

Post by jlowens76 »

AndreyB wrote:
Thu Mar 03, 2022 12:33 pm
Weird, how come?! Wonder which settings are we not setting in Putty to not have it working :(
it has to do with the end of line characters, the correct ones aren't sent with the apps that don't work, you can play with them and see which specific that work by using arduino serial monitor and changing them, seeing which work and which dont then trying that in the other apps.

I used arduino serial monitor for a bit till i got tired of that and started using RealTerm
image.png
image.png (29.38 KiB) Viewed 332 times
lets you specify if your sending numbers/vs ascii, pick EOL characters, and \n
image.png
image.png (30.16 KiB) Viewed 332 times
Post Reply