FireBeetle ESP32 IOT UART issue
Hi,
I have a FireBeetle ESP32 IOT. (DFR0478 )
I am trying to connect the Gravity: Laser PM2.5 Air Quality Sensor For Arduino(SEN0177)
I have the sensor powered from a separate 5v power source.
I am running MicroPython on the FireBeetle.
As soon as I connect the RX and TX pins of the sensor the FireBeetle freeze/hangs.
It responds again if I remove the RX and TX pins.
I have tested the sensor on my Arduino and it works fine.
TX and RX voltage levels are 3.3v, thus will work with FireBeetle.
Please help understand why the FireBeetle hangs when I try use the UART.
I have a FireBeetle ESP32 IOT. (DFR0478 )
I am trying to connect the Gravity: Laser PM2.5 Air Quality Sensor For Arduino(SEN0177)
I have the sensor powered from a separate 5v power source.
I am running MicroPython on the FireBeetle.
As soon as I connect the RX and TX pins of the sensor the FireBeetle freeze/hangs.
It responds again if I remove the RX and TX pins.
I have tested the sensor on my Arduino and it works fine.
TX and RX voltage levels are 3.3v, thus will work with FireBeetle.
Please help understand why the FireBeetle hangs when I try use the UART.
2017-09-03 22:49:34 Doing something like :
However using the UART pins as listed on the board or on the Gravity shield will still cause the ESP32 to freeze.
So there still is some issue with the listed UART. Horan Brendan
Code: Select all
Seems like I can read the device (pm2.5 sensor), unsure if the data it is reading is correct yet from machine import UART
uart = UART(1, 9600)
uart.init(9600, bits=8, parity=None, stop=1, rx=25, tx=26)
However using the UART pins as listed on the board or on the Gravity shield will still cause the ESP32 to freeze.
So there still is some issue with the listed UART. Horan Brendan
2017-08-25 16:01:23 I have not tried mapping the RX/TX pins to another mapping.
I was using D0/D1 as the wiki lists :
https://www.dfrobot.com/wiki/index.php/ ... U:_DFR0478
let me give a go at mapping it to IO25/26 and see.
thanks Horan Brendan
I was using D0/D1 as the wiki lists :
https://www.dfrobot.com/wiki/index.php/ ... U:_DFR0478
let me give a go at mapping it to IO25/26 and see.
thanks Horan Brendan
2017-08-24 22:52:15 As far as I know UART of ESP32 could be mapped to any pins, have you tried D3,D2, which are IO26,25 as RX/TX robert.chen
2017-08-17 23:45:05 I have sent an email to tech support.
l hope they can sort it out.
Will post details here when I get them Horan Brendan
l hope they can sort it out.
Will post details here when I get them Horan Brendan