ESP8266 ESP12E Nodemcu Lua Lolin v3 and Teensy 3.2

Status
Not open for further replies.

Kraod

Member
Hi everyone.

I'm getting headaches connecting my ESP to my Teensy 3.2.
I'm confident my ESP is working as I managed to upload a sketch via usb and arduino IDE. The IotWebConf sketch works ok as I have my AP online.

But I can't upload a sketch via my Teensy, nor can I acces the ESP via serial monitor (AT command returns nothing)
I followed this instructables: https://www.instructables.com/id/ESP-12E-ESP8266-With-Arduino-Uno-Getting-Connected/
My esp board is this one: https://www.amazon.fr/gp/product/B07K24YQZQ/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1

Here's my wiring:
Esp VCC --> USB 5v
Esp GND --> usb GND
Esp RX with a voltage divider --> 220k --> Teensy RX1
--> 100k --> GND
Esp TX --> Teensy TX1
Esp Gpio15 --> 10k --> GND
Esp EN --> 10k --> Teensy 3v
Esp RST --> 10k --> Teensy 3v

I've tried to reverse RX and TX on the teensy with no success.
An interesting fact is that I have the exact same problem with an other Esp (esp01).

Might there be a problem with my teensy serial pins ?
 
For one Tx should go to Rx and vise versa, never Tx to Tx or Rx to Rx. You don’t need a voltage divider, both are 3.3v devices so that’s not needed, without knowing what sketch you’re running the issue could be either you haven’t routed the serial monitor to the hardware serial port or the resistor divider is causing the issue.
 
Actually, I don't really care for AT commands, it was just to test serial communication. Is the AT firmware needed for the teensy to use the esp?
My goal is to send shell commands to my raspberry from my teensy over wifi. Will the AT firmware allow me to do so?
I must admit I know nothing about esp firmwares.
 
I know nothing about it either, but you don’t truthfully need it to communicate between the two, you would just have to write your own serial commands that can tell your software on the esp what to do. I’m not sure how capable the builtin TCP/IP stack is on the esp you may have to write your own library for it to connect to a shell terminal on the raspberry, but I imagine it can be done.
 
Status
Not open for further replies.
Back
Top