Search found 11 matches

by markdh102
Mon Aug 26, 2024 6:43 pm
Forum: General Discussion
Topic: Project box for a Heltec ESP32
Replies: 0
Views: 822

Project box for a Heltec ESP32

I have a Heltec ESP32 with OLED.
Does anyone know of a project box for such a device with a cutout for the OLED and mounting posts?
I'd need to fit a standard battery holder with 2 * 1.5V AAA batteries inside too. But nothing else.
I can make my own, but the result won't look very professional!
by markdh102
Sun May 26, 2024 9:29 am
Forum: ESP32 Arduino
Topic: My IDE is not compiling for the device I selected
Replies: 0
Views: 806

My IDE is not compiling for the device I selected

Raspberry Pi 5. Running Bookworm. Installed esp32 by Espressif Systems V2.0.11 using board manager. Arduino IDE 1.8.19 (same on my Pi4's with Bullseye & Buster distros) I select a Heltec Kit32 WiFi board. And compile but it cannot find pins_arduino.h. I have to physically copy the file from the Helt...
by markdh102
Mon Oct 02, 2023 10:58 am
Forum: ESP32 Arduino
Topic: ESP32 "Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled."
Replies: 7
Views: 5523

Re: ESP32 "Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled."

In the .cpp file change

Code: Select all

uint8_t IS31FL3733::set_page(uint8_t page)
to

Code: Select all

void IS31FL3733::set_page(uint8_t page)
In the .h file change

Code: Select all

uint8_t set_page(uint8_t page);
to

Code: Select all

void set_page(uint8_t page);
by markdh102
Tue Sep 26, 2023 6:23 am
Forum: ESP32 Arduino
Topic: ESP32 "Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled."
Replies: 7
Views: 5523

Re: ESP32 "Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled."

Try adding a dummy return value to following function in IS31FL3733.cpp or better yet, make it a void : uint8_t IS31FL3733::set_page(uint8_t page) { write_reg(0xFE, 0xC5); write_reg(0xFD, page); } I had this exact same problem after moving to 2.0.11 ESP32 Arduino. See https://esp32.com/viewtopic.php...
by markdh102
Sat Sep 23, 2023 6:16 pm
Forum: ESP32 Arduino
Topic: Moved from 1.0.5 rc6 to 2.0.11 and encountered a compiler 'issue' with no return value
Replies: 0
Views: 1527

Moved from 1.0.5 rc6 to 2.0.11 and encountered a compiler 'issue' with no return value

I've just made a major leap in versions of the ESP32 libraries. And Arduino IDE (1.8.19) Raspberry Pi 64 bit Bullseye distro. I linked my code to a library. In that library there was a function that was declared as returning a value. However, there was a path in the code where a value was not return...
by markdh102
Wed Aug 30, 2023 6:04 am
Forum: ESP32 Arduino
Topic: Guru Meditation Error: Core 1 panic'ed
Replies: 2
Views: 2381

Re: Guru Meditation Error: Core 1 panic'ed

As it does not find any WAV files, wav is not initialised.
You then try and access it in loop().
I'm pretty sure this will cause the core panic.
As for why it's not seeing any files, I don't know the answer.
by markdh102
Wed Jan 04, 2023 4:01 pm
Forum: ESP32 Arduino
Topic: Improve SD logger
Replies: 3
Views: 3115

Re: Improve SD logger

This is a very abbreviated form of the code I use. Hopefully it will show you what I am doing. I don't know if this will compile. I've not got my system to hand. And it is MOST DEFINITELY NOT the most elegant of code. #include <Arduino.h> #include "SdFat.h" SdFat _sd; File _myFile; #define MAX_RECOR...
by markdh102
Fri Oct 28, 2022 6:29 am
Forum: ESP32 Arduino
Topic: Improve SD logger
Replies: 3
Views: 3115

Re: Improve SD logger

I do something very similar. I log GPS/MEMS/BME/Bluetooth OBD/Timestamp every 100mS and store to an SD card. I found that most writes to the SD card took <5mS. Sometimes however they took approx 320mS. This is due to the way the blocks are written to the SD card at a low level and can't be changed (...
by markdh102
Thu Jun 18, 2020 9:34 am
Forum: ESP32 Arduino
Topic: ESP32 - Can't connect to microSD card
Replies: 3
Views: 6240

Re: ESP32 - Can't connect to microSD card

I use one of those adapters that comes with every MicroSD card. I solder header pins to it so it will fit onto a Veroboard.
Works on the ESP32 @ 3v3 no problem as there's no electronics on the adapter...
by markdh102
Thu Jun 18, 2020 9:21 am
Forum: General Discussion
Topic: Esp32 BLE Connect and disconnect issue
Replies: 4
Views: 12985

Re: Esp32 BLE Connect and disconnect issue

I use the 1.0.0.4 Arduino libraries. I have an ESP32 datalogger (to SD card). It connects to a BLE OBD2 scanner amongst other devices. When logging is stopped I want to email the file to myself. However, I could NEVER get this working. Either the WiFi would crash or the Bluetooth re-connection would...