Go Down

Topic: Hc-05 bluetooth module connection with L293d motor shiled with Arduino Uno  (Read 456 times) previous topic - next topic

Raktim2000

I want use L293d Motor shield with Arduino Uno and also want to connect a Hc-05 Bluetooth module with Arduino Uno Pin 0 and 1. But, L293d motor shield already take 0 and 1 PIN. Then, how I connect the Bluetooth module?
 

link for zoom view of the shield...

https://www.resistorpark.com/arduino-motor-shield-l293d/

Grumpy_Mike

Quote
But, L293d motor shield already take 0 and 1 PIN. Then, how I connect the Bluetooth module?
By using software serial.

Raktim2000

By using software serial.
I watched some video where they solder 2 jumper wire with the top of the l293d motor shield or bottom of the arduino board to connect 0 and 1 pin the Bluetooth. Is it possible to work ? And l293d motor shield takes all Arduino Uno's digital pins (except pin 2). So, how i use the   "software serial" ?

Grumpy_Mike

Quote
So, how i use the   "software serial" ?
Use the analog pins as digital I/O.

Wawa

But, L293d motor shield already take 0 and 1 PIN.
No it doesn't. Shields always cover all pins, but not all pins are actually used.
But you shouldn't use pin 0,1 anyway.
Because pin 0,1 are already used by the USB<>Serial chip.

As Grumpy_Mike said, use SoftwareSerial on the analogue pins.
You can add a pinstrip to the shield holes marked A0-5 for easier connection with Dupond wires.
SoftwareSerial examples can be found in File>Examples of the IDE.
Leo..

Raktim2000

Use the analog pins as digital I/O.
Thank you Grumpy_Mike for helpe me...

No it doesn't. Shields always cover all pins, but not all pins are actually used.
But you shouldn't use pin 0,1 anyway.
Because pin 0,1 are already used by the USB<>Serial chip.

As Grumpy_Mike said, use SoftwareSerial on the analogue pins.
You can add a pinstrip to the shield holes marked A0-5 for easier connection with Dupond wires.
SoftwareSerial examples can be found in File>Examples of the IDE.
Leo..
Thanks wawa...

Raktim2000

Grumpy_Mike suggest me to use SoftwareSerial  and analog pin to use as digital pin. It's ok and one this is the another way.

But, if I  placed the motor shield to Arduino uno. Just like this



Then, can I solder some wire with the motor shield's  0 and 1 pin for serial communication ? Is It works?

Grumpy_Mike

Quote
Grumpy_Mike suggest me to use SoftwareSerial  and analog pin to use as digital pin.
Only because in the original post you said:-
Quote
But, L293d motor shield already take 0 and 1 PIN
If this statement is not true, as it now appears not to be, then yes you can use those pins if you can get at them to make connections to them.

Raktim2000

Only because in the original post you said:-
If this statement is not true, as it now appears not to be, then yes you can use those pins if you can get at them to make connections to them.
Thank you

Go Up