B4R Question How to Run AT command from NodeMCU

AndroidMadhu

Active Member
Licensed User
Hello All,

I want to run AT command from NodeMCU from Arduino Serial Monitor.
I have updated all the library as per the post from Erel.
https://www.b4x.com/android/forum/threads/esp8266-getting-started.68740/

I performed he below activities

1. Connected 3.3 pin from Arduino UNO to NodeCU 3.3V
2. GND from Arduino UNO to GND of NodeMCU
3. RX of Arduino UNO[Pin0] to TX of NodeMCU
4. TX of Arduino UNO[Pin1] to RX of NodeMCU.
5. Connect Arduino Board to the Computer with USB cable
6. Select the Port and Start the serial Monitor on COM port 8. [From Arduino IDE]
7. Run AT
But nothing is coming. Also for the NodeMCU is not blinking its blue light.
Am I missing something? Do I need to update the NodeMCU firmware for AT commands?

Please advice.....
 

Erel

Administrator
Staff member
Licensed User
I'm not 100% sure but I think that the AT interpreter is removed once you run a program. What do you need it for?
 

AndroidMadhu

Active Member
Licensed User
@Erel,

Thanks for your advice. I read the above link.
But if I want to check what are all the available Wi-fi networks available in my surroundings, how to check that using B4r?
Like in AT command I can use
B4X:
AT+CWMODE=1
May be my question is like novice, but I want to clear my concept.
 

AndroidMadhu

Active Member
Licensed User
@Erel,
Thanks @Erel... I checked the link.
I have used the scan networks procedure. It works fine with one issue.
While at the log I found that the available network is found successfully but the "IP is unset".

B4X:
Found: 2 networks.
SAYAN
(IP unset)
Madhu     <==== This is my Network
(IP unset)
Is this is the reason because of the Dynamic IP address [I mean to say in the IPV4 the option chosen is : Obtain the IP address Automatically]???
 

AndroidMadhu

Active Member
Licensed User
Yes...... I have connected successfully!!!! I am able to connect to my router and I can successfully able to obtain my IP address


B4X:
Connected Successfully!!
My IP : 192.168.xx.xxx
 
Top