unable to communicate with doit esp-12n developemebt board

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Sat Feb 15, 2020 6:50 pm

Hi,
I'm new to micro-python and microcontrollers I, recently borrowed this microcontroller from my friend to learn micro-python it is an esp-12n development board from the esp chip is from doit I'm using lunix mint to work with my board I followed the instructions of how to flash the latest bin file from the getting stared guide the flash was successful i used the command 'picocom -b 115200 /dev/ttyUSB0 to connect to the board it gets connected but im unable to see (>>>) on the screen did try different bin files but the results were no different please can anyone help me

User avatar
Roberthh
Posts: 1959
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: unable to communicate with doit esp-12n developemebt board

Post by Roberthh » Sat Feb 15, 2020 7:14 pm

Are you sure that you are using the right USB device?

jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Sun Feb 16, 2020 9:55 am

The developement board is having silabs cp2102 for serial to uart communication so all i have to do is plug and play im able to flash the bin file but unable to code

User avatar
Roberthh
Posts: 1959
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: unable to communicate with doit esp-12n developemebt board

Post by Roberthh » Sun Feb 16, 2020 11:29 am

So
- you flashed the device using /dev/ttyUSB0, and there were no error messages. That should exclude any connection problems.
- there is no error message in accessing /dev/ttyUSB0 using picocom, like missing access right.
- you did not use any flow control options.
There were issues once with a modem manager. But the error patter was different. I just tried a Mint Linux VM with a board having a CP2104 chip, and that worked well.
Could you try to start picocom with the additional options --raise-rts --raise-dtr, just to sure that these lines are in a proper state.

jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Sun Feb 16, 2020 3:22 pm

Roberthh wrote:
Sun Feb 16, 2020 11:29 am
So
- you flashed the device using /dev/ttyUSB0, and there were no error messages. That should exclude any connection problems.
- there is no error message in accessing /dev/ttyUSB0 using picocom, like missing access right.
- you did not use any flow control options.
There were issues once with a modem manager. But the error patter was different. I just tried a Mint Linux VM with a board having a CP2104 chip, and that worked well.
Could you try to start picocom with the additional options --raise-rts --raise-dtr, just to sure that these lines are in a proper state.
sure sir i'll but what is the use of those commands im new to linux to so how am i to use it

User avatar
Roberthh
Posts: 1959
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: unable to communicate with doit esp-12n developemebt board

Post by Roberthh » Sun Feb 16, 2020 7:21 pm

The command would be:

picocom -b 115200 --raise-rts --raise-dtr /dev/ttyUSB0

Another test:
If you start picocom and then push the reset button or connect reset to GND of the esp12, do you get some response from the device? it could be a sequence of strange characters.

User avatar
Roberthh
Posts: 1959
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: unable to communicate with doit esp-12n developemebt board

Post by Roberthh » Sun Feb 16, 2020 7:24 pm

I just looked at the doit esp-12n. If it is just the module, make sure that you pull up en, rst and GPIO0.

jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Mon Feb 17, 2020 5:39 am

sir this is my boardImage

jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Mon Feb 17, 2020 5:40 am

but the esp chip is different

jay2026
Posts: 20
Joined: Sat Feb 15, 2020 6:10 pm

Re: unable to communicate with doit esp-12n developemebt board

Post by jay2026 » Mon Feb 17, 2020 5:42 am

Roberthh wrote:
Sun Feb 16, 2020 7:21 pm
The command would be:

picocom -b 115200 --raise-rts --raise-dtr /dev/ttyUSB0

Another test:
If you start picocom and then push the reset button or connect reset to GND of the esp12, do you get some response from the device? it could be a sequence of strange characters.
yes sir i get some garbage values in ascending steps format but im not getting this(>>>) to type my code

Post Reply