Search found 4 matches

by ParaPashka
Sun Apr 25, 2021 9:24 pm
Forum: ESP32 boards
Topic: Strange problems with SD card
Replies: 1
Views: 971

Strange problems with SD card

Hello. I have connected SD cardreader to a esp-wroom-32 using VSPI. This is my simple test code: import machine, uos uos.mount (machine.SDCard(slot = 2), "/sd") print(uos.listdir('/')) file = open('/sd/test.txt', 'w') file.close() for i in range(10): file = open('/sd/test.txt', 'a') file.write('\nne...
by ParaPashka
Wed Apr 21, 2021 10:28 am
Forum: ESP32 boards
Topic: Some pins are in HIGH mode after reboot
Replies: 2
Views: 1021

Some pins are in HIGH mode after reboot

I have a ESP32 WROOM-32 DEVKIT V1 board. No software installed, just flashed with micropython (esp32spiram-idf4-20210202-v1.14). I have measured the voltage on the pins and foud that some pins are ON. They are: D14, TX0, RX0, D5, RX2, D15 When I flashed the board with another vertion of micropython ...
by ParaPashka
Wed Apr 21, 2021 9:41 am
Forum: ESP32 boards
Topic: ADC input stuck on one level
Replies: 2
Views: 1107

Re: ADC input stuck on one level

I got the solution. After I added small pause between reading data, everything went correct. New code: from machine import ADC from machine import Pin import time light_sensor = ADC(Pin(34)) light_sensor.atten(ADC.ATTN_11DB) while True: print(light_sensor.read()) time.sleep_ms(10) #added this line
by ParaPashka
Tue Apr 20, 2021 6:49 pm
Forum: ESP32 boards
Topic: ADC input stuck on one level
Replies: 2
Views: 1107

ADC input stuck on one level

Hi all! I am using ESP32 WROOM-32 board. When i read data from light sensor, the first value that i get is correct. After that i change the voltage on the pin. But the data that I get is still on the same level (changes just a little bit). The input voltage is around 0.5v. I get: ... 533 534 575 ......