mitxela.com forum
Welcome. Please log in or register.

rn 42 reconnection
DAVID Posted: 25 May 2018, 11:55 PM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
hi, i have flash my hc05 with the rn42 firmware but when i pair it with any
device it connects but when i power off and power it back on the hc05 the it does not reconnect so how can i configure automatic reconnection on the hc05

-------------
[top]
DAVID Posted: 26 May 2018, 12:00 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
i solve it i just had to type SM,6 on a serial terminal after entering $$$ to the hc05


-------------
[top]
mit Posted: 26 May 2018, 11:48 AM
Avatar
yeah whatever

Admin
Posts: 538
Joined: 4-May 16
I'm glad you solved your problem. You must be getting pretty good with these HC-05 modules now. Are you still building gamepads, or something else?

-------------
[top]
DAVID Posted: 27 May 2018, 12:02 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
yes

-------------
[top]
DAVID Posted: 27 May 2018, 12:03 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
yesterday i finished building a bluetooth gamepad out of a ps3 controller and works fine

-------------
[top]
DAVID Posted: 27 May 2018, 02:39 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
I Will post a video so stay tune

Last edit by DAVID at 27 May 2018, 02:39 AM

-------------
[top]
DAVID Posted: 27 May 2018, 10:33 PM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
https://www.youtube.com/watch?v=aro5VXB7HDU
my results

-------------
[top]
mit Posted: 29 May 2018, 09:05 AM
Avatar
yeah whatever

Admin
Posts: 538
Joined: 4-May 16
Neat.

-------------
[top]
dethdron Posted: 31 Oct 2019, 06:20 PM
Avatar


Member
Posts: 2
Joined: 31-October 19
QUOTE (DAVID)
https://www.youtube.com/watch?v=aro5VXB7HDU
my results

hello David! I WANT TO REPEAT YOUR JOYSTICK BUT I HAVE A FEW QUESTIONS ?! I NEED TO REMISE THE ENTRIES FOR CONVENIENT WIRING! HOW DO I DETERMINE THE KEYS AND DIGITAL PINS? I NEED TO ALSO ADD A PAIR OF BUTTONS FOR FREE PINES d13 AND A5

(User posted image)


-------------
[top]
DAVID Posted: 31 Oct 2019, 10:00 PM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
I haven´t touch this project since I made it in 2018, only thing that i can remember of doing was to use my sketch and then just test all the buttons, but still you can connect them however you want and by trial and error figure out which pins control what.
I will also suggest that you put an ICSP break out for easily reprograming the mcu.
I really liked that PCB layout that you made

-------------
[top]
DAVID Posted: 31 Oct 2019, 10:03 PM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
I should probably rewrite the whole code since back then my programming skills were barely great (I think that more than 80% of the code was just taken from another person´s code)

-------------
[top]
dethdron Posted: 30 Nov 2019, 05:53 AM
Avatar


Member
Posts: 2
Joined: 31-October 19
I finished, it works fine, here is a photo of the board that turned out. I heard somewhere that it is possible to connect the output of a pio3 or pio6 module to ground so that an automatic connection takes place, but what output for hc05 I do not know
(User posted image)


-------------
[top]
DAVID Posted: 1 Dec 2019, 12:04 AM
Avatar
I love mcus

Member
Posts: 237
Joined: 10-September 17
I am not quite sure but if I remember right for making it reconnect automatically you needed to tweak a setting of the rn42 thorough AT commands.
I haven´t used an rn42 since a year and a half and the gamepad that i made no longer exists

-------------
[top]

Sign in to post a reply.