How to pair 2 bleepeds together


#22

BTW: The TTL voltage for the HJ580 module is 3.3V. You shouldn’t wire mega to HJ580 directly. add a resistor (330 ohm) between mega TX and HJ580 RX.


#23

hj580


#24

i connect them in such a way
3.3V to Vcc on hj580
ground to gnd on hj580
ground to p14 on hj580 (to become slave)
ground to p00 on hj580 (to enter config mode)
tx to rx on hj580(with a 330ohm resistor)
rx to tx on hj580 (without resistor)
3.3v to p06 on hj580(to wake up)


#25

The module should be peripheral only module.

I think it’s the issue. GND to P06 for wake up instead.


#26

sorry, i am connecting it to ground.
if it is peripheral only, meaning that it cannot be configured? then how can i pair it up with blepad so that it can receive data from blepad(central)


#27

You can still configure other params. But you should check the manual for how to input AT command. Can you read the manual in Chinese?


#28

I tried to configure it and uploaded the sketch with Atcommand, this is my output https://m.imgur.com/gallery/q1aYj


#29

I will get one HJ580 similar with yours tomorrow. I will try it when I got it.


#30

I think the baud rate is 19200 for your original module. Please try it.


#31

i changed the baudrate to 19200, it doesnt work. i tried other values as well


#32

the hj580 keeps on receiving weird character even though there it doesnt pair with anything


#33

did you also edit the sketch to baud rate 19200? could you please paste the sketch you edited?


#34

this is my edited sketch https://imgur.com/gallery/ssEap


#35

I got a HJ580 module today. But the firmware is customize for us and the baud rate is 9600. It works fine with the sketch ATCommand.

But I don’t know how to test your HJ580 module.


#36

you just uploaded it and it works?


#37

is there any way to change firmware? are you connecting the p00 to digital pin 5, p14 to digital 11, and p03 to digital pin 4, p06 to digital pin 8?


#38

No. DA14580 is designed for OTP (one-time-programming). You can’t change the firmware for it.


#39

are you connecting the p00 to digital pin 5, p14 to digital 11, and p03 to digital pin 4, p06 to digital pin 8?


#40

it’s same with BLEPad


#41

can you send me the link you purchase your hj580?