Arduino mega instruction for arduino uno?

#20

13:52:45.966 -> AT
13:52:48.509 -> AT
13:52:51.006 -> AT
13:52:53.518 -> AT
13:52:56.010 -> AT
13:52:58.514 -> AT
13:53:01.058 -> AT
13:53:03.560 -> AT
13:53:06.067 -> AT
13:53:07.715 -> AT
13:53:08.016 -> AT
13:53:08.049 -> AT
13:53:08.617 -> AT
13:53:09.526 -> AT
13:53:12.091 -> AT
13:53:14.586 -> AT
13:53:17.115 -> AT
13:53:19.607 -> AT
13:53:22.129 -> AT
13:53:24.646 -> AT
this is the output from my serial monitor

0 Likes

#21

which pins have you connected the esp?

0 Likes

#22

0-RX ,1-TX,RESET, 3.3V and GND

0 Likes

#23

0 is the RX pin of arduino and should be connected to TX pin of esp and 1 is TX should be connected to RX pin of esp. which is not in your case and you should also use a voltage divider on the RX pin of the esp8266.

0 Likes

#24

i have a voltage regulator. Could that work?

0 Likes

#25

better search the google if you think both are same.

0 Likes

#26

yes, ive seen.
The LED on my ESP module is blinking yet it is not connecting to the Cayenne dashboard.

0 Likes

#27

did you use a voltage regulator? :anguished:
Anyways, are you getting any output in your serial monitor?

0 Likes

#28

You can connect the serial pins directly to the ESP but be aware that the ESP is a 3.3V logic not 5V and you may decrease the life of the module doing it. As Shramik said the best thing is to use a voltage divider or a logic level converter (something like https://www.sparkfun.com/products/12009). A voltage regulator will not work on an I/O pin.

Also be aware that the TX/RX pins are swapped between device as Shramik mentioned. Arduino RX<->ESP TX and Arduino TX<->ESP RX

1 Like

#29

No I did not use one, though i’m trying to make a divider with some resistors.

this is my screenshot of my serial monitor.

Everything seems alright but I cannot connect to the dashboard. Also, I am able to see an access point on my wifi connections called Fary_Link which is from my ESP.

0 Likes

#30

I do have a logic level converter :smiley: and I have swapped the RX and TX pins as Shramik said.

0 Likes

#31

from the serial monitor image it looks like the esp is not responding to AT command. can you post a bit more serial monitor output?

0 Likes

#32

If that’s the case then you have flashed an arduino sketch at some point and wiped out the AT firmware. You’ll need to flash the AT firmware again for this to work.

0 Likes

#33

That was the only output I was getting

0 Likes

#34

then thats means your esp is not communicating with the uno properly. check your connection and also what is the baud rate your esp is set to.

0 Likes

#35

my baud rate was 115200

0 Likes

#36

but i have changed to ethernet shield as my project is due this week

0 Likes

#37

are you facing any issue with ethernet shield ?

0 Likes

#38

Yes…I am trying to connect servo motor but its giving me connection errors.


this is from my serial monitor

0 Likes

#39
0 Likes