Go Down

Topic: nano arduino (Read 597 times) previous topic - next topic

Yahia_Elsaeed

can i use 2 Bluetooth HC-05 in one arduino nano ?
if yes .. how can i sent data from arduino to another via Bluetooth
meanly ...
the 1st bluetooth received " no. 1 " then the arduino read it and said to another bluetooth " in same arduno " sent it to the another arduino

strykeroz

Sure you can.  Look up Software Serial for how to use two sets of serial RX/TX pins.
"There is no problem so bad you can't make it worse" - retired astronaut Chris Hadfield

Yahia_Elsaeed

i know how configure hc-05 .. can u give me the code ?

strykeroz

If you know how, you don't need code from me.  I will not be writing this for you, no.
"There is no problem so bad you can't make it worse" - retired astronaut Chris Hadfield

Yahia_Elsaeed

ik how configure hc-05 meanly inter AT command and make connection with another bluetooth .. but what u talking about really idk how do it

Paul__B

can I use 2 Bluetooth HC-05 in one Arduino nano ?
As explained, you presumably can.

Since there is clearly no reason to do so, the next question is - why?

DrAzzy

Either use software serial for the second module, or determine that it won't meet your needs (software serial has some limitations, see documentation) and use a microcontroller board with two or more serial ports (an Arduino mega, or mega 1284p).
ATtiny core for 841+1634+828 and x313/x4/x5/x61/x7/x8 series Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts (some assembled), mosfets and awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Yahia_Elsaeed

thx all ... now can i detect my question
how sent no1 from arduino to another via bluetooth ?

Go Up