Sei sulla pagina 1di 1

/*

To use wir-1186 for wireless communication usinf arduino, we need to configure i


t with the other wir-1186 module
For that use USB-TTL convertor and plug Rx to Rx (yes this is fault there) and T
x to Tx, Vcc to 3.3V and ground to ground
Now open hyperterminal and check if red light glows on the module whenever we ty
pe something in the hyper-terminal
Now ground the (prog) terminal of module and just after this, you will see an "W
ir-1186 command" on the hyper-terminal
Now we have entered the configuration mode of the module.
Now type S? and entered
you will get value of S for your module.
Use S=0012 (any value of 4 digits could be written). this is your module own add
ress
Use D=any four digit number , this will be your destination address
Use N=any four digit number, this will be same for both modules
Also likely M and H both will same for both modules
likely do the same for other module, just make the S value and D value opposite
for each other.
now your modules are linked for each other
*/
/*
Now for connection, remove prog pin from ground and connect modules to arduino,
with Rx, Tx, 3.3V, ground connections only.
use serial commands for transmission and reception work.
*/

Potrebbero piacerti anche