Search found 94 matches

by idahowalker
Mon Apr 29, 2019 9:32 pm
Forum: ESP32 Arduino
Topic: Using HardwareSerial to send/receive strings over serial
Replies: 1
Views: 229

Re: Using HardwareSerial to send/receive strings over serial

Here is the ESP32 code I use to send serial: #include <HardwareSerial.h> HardwareSerial SerialTFMini( 1 ); HardwareSerial SerialBrain( 2 ); ////// serial(1) = pin27=RX green, pin26=TX white ////// serial(2) = pin16=RXgreen , pin17=TX white #define SerialDataBits 115200 void setup() { SerialBrain.beg...
by idahowalker
Wed Apr 24, 2019 8:10 pm
Forum: ESP32 Arduino
Topic: vTask in a class?
Replies: 1
Views: 168

Re: vTask in a class?

here is the header file: #ifndef ESP32_MPU9250 #define ESP32_MPU9250 //// #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/timers.h" #include "freertos/event_groups.h" #include "myESP32_SPI.h" //// class myMPU9250 { public: myMPU9250( int _queueSize ); int fGetAll( ); voi...
by idahowalker
Wed Apr 24, 2019 8:10 pm
Forum: ESP32 Arduino
Topic: vTask in a class?
Replies: 1
Views: 168

vTask in a class?

I'm stuck in a loop. I wrote this class: #include "ESP32_MPU9250.h" //// //// myMPU9250::myMPU9250( int _queueSize ) { ESP32_SPI_API _spi; _spi.setQSize( _queueSize ); // _hEG = xEventGroupCreate(); //// // xTaskCreate( fDoTempratureConversion, "fDoTempratureConversion", 10000, NULL, 3, NULL ); } //...
by idahowalker
Wed Apr 24, 2019 8:01 pm
Forum: ESP32 Arduino
Topic: Problem uploading code
Replies: 2
Views: 295

Re: Problem uploading code

Did you try, after the start of upload code, holding down the EN button? I use a powered hub between the computer and the ESP32, since adding a powered USB hub issues like needing to hold down this button or that button have went away. The is also another reason to use some kind of isolator between ...
by idahowalker
Tue Apr 09, 2019 7:17 pm
Forum: ESP32 Arduino
Topic: Any ESP-Arduino documentation?
Replies: 1
Views: 359

Re: Any ESP-Arduino documentation?

Internet search on "installing esp32 in arduino ide" does not give you any results?
by idahowalker
Fri Apr 05, 2019 11:28 am
Forum: ESP32 Arduino
Topic: Questions about Pull-up/Pull-down and PWM
Replies: 1
Views: 205

Re: Questions about Pull-up/Pull-down and PWM

I think your idea of using a pull up resistor at the higher frequencies is a sound idea. I'd use external resistors over the internal resistors though. In this case size matters. The resistors in the ESP32 are quite small and tiny and weak in comparison to a 1/8th or 1/4 watt resistor.
by idahowalker
Thu Apr 04, 2019 5:47 pm
Forum: ESP32 Arduino
Topic: MPU9250, good news:
Replies: 0
Views: 250

MPU9250, good news:

I wrote this code for the MPU9250. I been testing it for the last 4 days. It's been working wonderfully. Thanks to Koolban, though he does need to update the SPI portion of his notes. Some names have been changed. #include <driver/spi_master.h> #include "esp_system.h" //This inclusion configures the...
by idahowalker
Thu Apr 04, 2019 2:23 am
Forum: Hardware
Topic: Driving an 8-bit parallel 8080 bus using I2S
Replies: 24
Views: 2606

Re: Driving an 8-bit parallel 8080 bus using I2S

LCD1602 2004 20x4 LCD Display Adapter IIC//TWI/SPI/I2C Serial Interface Module Shield https://smile.amazon.com/gp/product/B07D3YPK3H/ref=oh_aui_search_asin_title?ie=UTF8&psc=1 . You might have to do some of your own code or the library might work. I use them to drive LCD's with a Arduino Due and a S...
by idahowalker
Wed Apr 03, 2019 3:55 pm
Forum: ESP32 Arduino
Topic: Continuous reboot on WiFi and Bluetooth
Replies: 6
Views: 570

Re: Continuous reboot on WiFi and Bluetooth

pravi.khm@gmail.com wrote:
Wed Apr 03, 2019 6:04 am
adafruit
The magic word. I find many, not all, Adafruit libraries will cause the ESP32 to fault in some form or fashion.
Have you tried disabling all libraries and then one at a time, reenable each library one at a time to find the fault. I'd start with Adafruit first.
by idahowalker
Tue Apr 02, 2019 7:41 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 9
Views: 1146

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

You're saying that I can harm the PC if I connect the ESP directly to it via a USB Cable ? I never thought of that. I have experienced the 5V regulator supplying the ESP32 5V, deciding to put out a higher voltage, than 5V. If you look at the ESP32 schematic, you'll see that the 5V from the USB plug...

Go to advanced search