Search found 7 matches
- Mon Sep 06, 2021 10:52 am
- Forum: ESP32 boards
- Topic: SoftI2C with two same devices
- Replies: 2
- Views: 1950
Re: SoftI2C with two same devices
I update firmware to 1.16 and using this i2c declaration. from machine import SoftI2C, Pin i2c = SoftI2C(sda=Pin(21), scl=Pin(22), freq=100000) // this i2c working good i2co = SoftI2C(sda=Pin(32), scl=Pin(33), freq=100000) // not working, scan return [], write and read get 119 ERROR or i2co = SoftI2...
- Thu Sep 02, 2021 11:04 am
- Forum: ESP32 boards
- Topic: SoftI2C with two same devices
- Replies: 2
- Views: 1950
SoftI2C with two same devices
Hello, I need advice. Using ESP32 DevKit and on standard I2C pins have connected DS3231 and 2x SHT20 sensor. Because SHT20 have same address I try create another I2C connection in other GPIO(test 0/4 and 32/33 gpio) but still have 119 EROR. When I try scan method on this give me [] result. One SHT c...
- Sun Nov 08, 2020 5:39 pm
- Forum: ESP32 boards
- Topic: Memmory issue
- Replies: 3
- Views: 1758
Re: Memmory issue
Yes I read this and applied everything what I know.
Now I need know what more can doing? Maybe I dont good understand all rule off this memmory saving.
It can be I want too many of this device.
Now I need know what more can doing? Maybe I dont good understand all rule off this memmory saving.
It can be I want too many of this device.
- Sat Nov 07, 2020 9:03 pm
- Forum: ESP32 boards
- Topic: Memmory issue
- Replies: 3
- Views: 1758
Memmory issue
Hello, I write some topic month ago of my problem with memory. I using Esp32 Devkit v1.2 standard from aliexpress. First write code I use C with arduino. Now I rewrite code into python. Have uart display comunication and modules as DS3231, sdcard and others sensors (temperature, humidity, soil moist...
- Fri Oct 16, 2020 10:52 am
- Forum: ESP32 boards
- Topic: Save data to flash
- Replies: 4
- Views: 3799
Re: Save data to flash
Thanks for answers. I try using btree database and have problem with save data. Than I want ask for write mode. If I use open with "w+b" mode than I save new data and can update existing or .. ? I create simple data library. import btree class DataThree: database = None file = None actualKey = None ...
- Mon Oct 05, 2020 5:25 am
- Forum: ESP32 boards
- Topic: Save data to flash
- Replies: 4
- Views: 3799
Save data to flash
Hello, now I using json config file to save some settings but after when I write too many data to file I have problem with memory. Can I read only specific row in file and not whole file? I rewrite some library from arduino c and want open dict of specific key. See next: def begin(self, key, readOnl...
- Fri Oct 02, 2020 11:55 am
- Forum: ESP32 boards
- Topic: ESP32 DevKit - Frozen code
- Replies: 1
- Views: 1113
ESP32 DevKit - Frozen code
Hello, I have one big problem. I have working code but if I want doing anything else as writing or reading json files ESP give me Memory error. I try using minimal code but for all sensors and sending data via uart have using many memory. I think about frozen code because I need use many lists and c...