Hey All
i have a problem that i have been searching and trying hard to solve
i am trying to connect this module Wireless Module Serial UART (200M Range-433 Mhz) to my Arduino uno
Guide http://www.fut-electronics.com/wp-content/plugins/fe_downloads/Uploads/Wireless-Serial-UART-Arduino.pdf
i connected everything right but every time i try to write a command in Hyper terminal or tera term i get nothing
and i am trying to connect to at command mode i get no result also
The module have 5 pins :
1: Power, 3.3 V to 5 V. (this pin is marked by white square)
2: Gnd.
3: RX (TTL)
4: TX (TTL)
5: PIN5 is the AT Control mode, Pull up to high or NC will make module
work as normal, When connect to low, it will enter the AT Command mode.
( High level enter AT mode) .
i use this USB TO TTL converter : http://store.fut-electronics.com/PAE001.html
Yes i did here is a code for the pull up i used:
void setup() {
pinMode(inputPin, INPUT);
digitalWrite(inputPin,HIGH); // turn on internal pull-up on the inputPin
}
Turning on the internal pullup resistor of an INPUT pin and pulling an OUTPUT pin up to 3.3V are NOT the same thing. You did the former. The device expects you to do the latter.
Thanks for your replay PaulS
so i connect the set pin to arduino as an input and enable the internal pull-up resistor for example : pinMode(2, INPUT_PULLUP);
and the other pins as normal 5v and rx tx right?
5: PIN5 is the AT Control mode, Pull up to high or NC will make module
work as normal, When connect to low, it will enter the AT Command mode.
( High level enter AT mode) .
From this I cannot decide if the pin needs pulling to GND or to VCC.
It appears (I could be wrong) that pulling the AT control pin HIGH or leaving it disconnected will set the device operation to normal. To enter the AT command mode you must pull that pin LOW, do your AT command stuff, then go back to HIGH on that pin to return to normal operation.
void setup() {
pinMode(inputPin, OUTPUT);
digitalWrite(inputPin,LOW); // enter AT command mode
// do your AT command stuff here, then
digitalWrite(inputPin,HIGH); // exit AT command mode
}