Search found 7 matches

by MarcRoma
Mon Feb 22, 2021 7:36 pm
Forum: ESP-IDF
Topic: esp32-idf parttool.py stops with error UnicodeDecodeError (IDF-2839)
Replies: 7
Views: 7605

Re: esp32-idf parttool.py stops with error UnicodeDecodeError (IDF-2839)

As an additional info: I've run the same test after installing the pre-requisites and the esp-idf dev stack on a ubuntu docker image. Got the same error message.
by MarcRoma
Fri Feb 19, 2021 7:16 pm
Forum: ESP-IDF
Topic: esp32-idf parttool.py stops with error UnicodeDecodeError (IDF-2839)
Replies: 7
Views: 7605

Re: esp32-idf parttool.py stops with error UnicodeDecodeError

Hi Roland,


Thx for the reply. Following your suggestion I've created a minimal key-value pair for nvs:

filename: test.csv
content:
key,type,encoding,value
default,namespace,,
key1,data,u8,1

I converted it to binary first, using:
nvs_partition_gen.py generate test.csv test.bin 0x80000.

and ...
by MarcRoma
Fri Feb 19, 2021 8:24 am
Forum: ESP-IDF
Topic: esp32-idf parttool.py stops with error UnicodeDecodeError (IDF-2839)
Replies: 7
Views: 7605

esp32-idf parttool.py stops with error UnicodeDecodeError (IDF-2839)

HI,

I've run out of ideas on this one and now my project is stuck - really appreciate if someone can help on this one.

When running parttool.py to upload a .bin nvs file I get "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 1: ordinal not in range(128)"

I am using esp-idf ...
by MarcRoma
Wed Dec 30, 2020 5:23 pm
Forum: Hardware
Topic: The Things Network + RF96 - which library to use ?
Replies: 0
Views: 1882

The Things Network + RF96 - which library to use ?

Hi,

I am looking for recommendations on libraries to connect to TTN using lora transceiver RF96.

I've managed to connect successfully using SX1276 + ttn-esp32 library. Unfortunately the same library seems not to work when using RF96. (I've banged my head for 2 days without success).

Which ...
by MarcRoma
Sat Dec 26, 2020 1:57 pm
Forum: Hardware
Topic: Sleep time drift due to temperature when using ULP/ulp_set_wakeup_period()
Replies: 0
Views: 1767

Sleep time drift due to temperature when using ULP/ulp_set_wakeup_period()

I am experiencing a sleep time drift/error when using ULP wakeup under different temperatures.

I am calling:
ulp_set_wakeup_period(900000000) // 15 minutes
Situation1:
- ESP32 Wroom 32E runs on ~23 degrees Celsius, I see the wake up happening about 2 seconds earlier than the 15 minutes. For me ...
by MarcRoma
Wed Aug 12, 2020 1:42 pm
Forum: ESP-IDF
Topic: GPIO25 as PWM output connected to GPIO33 as ADC input - voltage drop on pulse
Replies: 0
Views: 2014

GPIO25 as PWM output connected to GPIO33 as ADC input - voltage drop on pulse

I am a bit stuck on this one and would appreciate help or tips from the community here...

I am using ESP-IDF and using a dev board from TTGO (with LORA).

I've programmed the GPIO 25 to have a 100KHz PWM output with 50% duty cycle.
Looking at the osciloscope I see a nice, well behaved pulse 0-3.3V ...
by MarcRoma
Mon Jan 27, 2020 8:35 pm
Forum: Hardware
Topic: ESP32 inconsistent readings on GPIO D33/D32
Replies: 1
Views: 3471

ESP32 inconsistent readings on GPIO D33/D32

Hi Experts,

I cannot get this right, so thought about asking for help here...

I have an ESP32 DOIT dev board with D32, D33 used in input mode as follows:
On D32 I have a temp sensor (D18B20).
On D33 I use a voltage divider (1MOhm, 1.32MOhm) to allow me to read the voltage on a source of ~5.6V ...

Go to advanced search