Search found 13 matches

by markdh102
Fri Feb 07, 2025 3:25 pm
Forum: General Discussion
Topic: gemini post returns response 200, but the result is empty
Replies: 5
Views: 2152

Re: gemini post returns response 200, but the result is empty

Change your
while (read_len > 0)
to
while (total_read == 0 || read_len > 0)

Also be worth adding a timeout clause in the do loop to exit after 5s for example if nothing has been received.
by markdh102
Thu Feb 06, 2025 7:23 pm
Forum: ESP8266
Topic: Button interrupt triggering without button press
Replies: 1
Views: 9810

Re: Button interrupt triggering without button press

If the wires to your button are long, then the internal pull up may be too weak.
Disable the internal pull up and try an external 10k pull up instead.
by markdh102
Mon Aug 26, 2024 6:43 pm
Forum: General Discussion
Topic: Project box for a Heltec ESP32
Replies: 0
Views: 1233

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: 1135

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 ...
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: 8615

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: 8615

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 ...
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: 1898

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 ...
by markdh102
Wed Aug 30, 2023 6:04 am
Forum: ESP32 Arduino
Topic: Guru Meditation Error: Core 1 panic'ed
Replies: 2
Views: 3304

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: 3778

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 ...
by markdh102
Fri Oct 28, 2022 6:29 am
Forum: ESP32 Arduino
Topic: Improve SD logger
Replies: 3
Views: 3778

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 ...

Go to advanced search