Search found 5 matches

by mitchellclaxton
Fri Mar 22, 2019 8:52 pm
Forum: ESP32 Arduino
Topic: Anyone get a VL53L1X to work with ESP32?
Replies: 1
Views: 4963

Re: Anyone get a VL53L1X to work with ESP32?

UPDATE 2: init returns false. I think it's continuously timing out Update 1: Here's the general code: it stops working after using setDistanceMode longFront.setTimeout(500); longFront.init(); longFront.setAddress(0x52); //longFront.setDistanceMode(VL53L1X::Long); //not working somehow //longFront.se...
by mitchellclaxton
Fri Mar 22, 2019 7:49 pm
Forum: ESP32 Arduino
Topic: Anyone get a VL53L1X to work with ESP32?
Replies: 1
Views: 4963

Anyone get a VL53L1X to work with ESP32?

I'm trying to get multiple Time-of-Flight sensors working with my board (ESP32-WROVER-KIT) I managed to get the Adafruit VL6180X working using the Adafruit_VL6180X.h library, even though i can't change the slave address. The long range VL53L1X however, using the arduino library VL53L1X.h (but with W...
by mitchellclaxton
Wed Mar 13, 2019 1:21 am
Forum: ESP32 Arduino
Topic: Trouble with SoftwareSerial. Alternative recommendations?
Replies: 4
Views: 12553

Re: Trouble with SoftwareSerial. Alternative recommendations?

OK so i went with UART 2 instead of UART 1 and i used SERIAL_8N1 because i'm using no parity.

I'm getting some readings back now but it's the same thing. 0, 28 over and over whenever i try to pass in a serial command.

Does this mean anything to you?
by mitchellclaxton
Fri Mar 08, 2019 12:10 am
Forum: ESP32 Arduino
Topic: Trouble with SoftwareSerial. Alternative recommendations?
Replies: 4
Views: 12553

Trouble with SoftwareSerial. Alternative recommendations?

Hi all. I'm using an ESP32-WROVER-KIT in Arduino IDE I'm trying to get an XBee wireless receiver working with my WROVER using the arduino breakout board and just wiring the digital pins 2, and 3 to GPIOs 2 and 4 on the ESP32 and using the SoftwareSerial library that has been floating around (the one...
by mitchellclaxton
Tue Jan 29, 2019 12:54 am
Forum: ESP32 Arduino
Topic: Interrupt upon receiving data through USB UART
Replies: 1
Views: 3633

Interrupt upon receiving data through USB UART

I tried searching this forum for a similar thread but i couldn't find anything. I'm controlling a robot with an ESP32 from a laptop via COM port. I don't want to continuously poll for data (Serial.available()). On TI MSP430 boards we could have an ISR when the board receives bytes via USB. How do i ...