Search found 13 matches
- Tue Jun 07, 2022 1:21 pm
- Forum: ESP32 boards
- Topic: esp32c3 can't use pin18 pin19 as i2c?
- Replies: 2
- Views: 2667
esp32c3 can't use pin18 pin19 as i2c?
i use the latest fireware 1.18 for esp32 c3,but i found that pin 18 19 can't be used as i2c scl sda pins i try use pin4 pin5 or others pins ,they work normally and i try to use arduino i2c pin 18 19 work normally,too here is my codes: import utime from machine import Pin, SoftI2C i2c = SoftI2C(scl=P...
- Thu Aug 19, 2021 11:04 pm
- Forum: ESP32 boards
- Topic: How to set BLE connection interval?
- Replies: 0
- Views: 1431
How to set BLE connection interval?
SO,how to set BLE connection interval? when the devices are connected,i want to save more power,so i want to increase the conncetion interval ,but i can't find how to redefine this param. adv and scan interval is easily to set,i can't find the way to set connnection interval i notice that IRQ has th...
- Sun Jul 25, 2021 10:53 pm
- Forum: ESP32 boards
- Topic: Micropython on ESP32-C3
- Replies: 36
- Views: 245135
Re: Micropython on ESP32-C3
The build for ESP32-C3 is under construction. See https://github.com/micropython/micropython/pull/7438 From that PR it is possible to build a trial version. Recently,I want to test sleep and wake up function on esp32c3,here is my code: import machine,esp32 from machine import Pin import time wake1 ...
- Sat Jul 24, 2021 3:23 pm
- Forum: ESP32 boards
- Topic: Can't wakeup esp32c3 after deepsleep or light sleep by pin
- Replies: 3
- Views: 24205
Can't wakeup esp32c3 after deepsleep or light sleep by pin
Recently,I want to test sleep and wake up function on esp32c3,here is my code: import machine,esp32 from machine import Pin import time wake1 = Pin(2, mode = Pin.IN) #level parameter can be: esp32.WAKEUP_ANY_HIGH or esp32.WAKEUP_ALL_LOW esp32.wake_on_ext0(pin = wake1, level = esp32.WAKEUP_ALL_LOW) p...
- Thu Jul 15, 2021 11:13 am
- Forum: ESP32 boards
- Topic: Micropython on ESP32-C3
- Replies: 36
- Views: 245135
Re: Micropython on ESP32-C3
Interesting; perhaps try a clean? > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C ports/esp32 BOARD=GENERIC_C3 clean" And then build again: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micro...
- Thu Jul 15, 2021 11:07 am
- Forum: ESP32 boards
- Topic: How to make IR and BLE function work correctly at the same time?
- Replies: 0
- Views: 1757
How to make IR and BLE function work correctly at the same time?
Chips:esp32 Firmware: micropython 1.14 I wrote a program that receive ir singals and send datas to other BLE device,when the deceive is dispaired,all things works correctly,but when the BLE is connected,IR time ticks chaos at the same time, when i disconnected the devie ,program returned to normal i...
- Thu Jul 15, 2021 7:04 am
- Forum: ESP32 boards
- Topic: Micropython on ESP32-C3
- Replies: 36
- Views: 245135
Re: Micropython on ESP32-C3
I've just pushed a container to the docker hub that can help build that. You should be able to use: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C mpy-cross && make -C ports/esp32 submodules && make -C ports/esp32 BOA...
- Thu Jul 15, 2021 6:40 am
- Forum: ESP32 boards
- Topic: Micropython on ESP32-C3
- Replies: 36
- Views: 245135
Re: Micropython on ESP32-C3
Interesting; perhaps try a clean? > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C ports/esp32 BOARD=GENERIC_C3 clean" And then build again: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micro...
- Thu Jul 15, 2021 5:03 am
- Forum: ESP32 boards
- Topic: Micropython on ESP32-C3
- Replies: 36
- Views: 245135
Re: Micropython on ESP32-C3
I've just pushed a container to the docker hub that can help build that. You should be able to use: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C mpy-cross && make -C ports/esp32 submodules && make -C ports/esp32 BOA...
- Thu Jul 15, 2021 4:59 am
- Forum: ESP32 boards
- Topic: Micropython on ESP32-C3
- Replies: 36
- Views: 245135
Re: Micropython on ESP32-C3
I've just pushed a container to the docker hub that can help build that. You should be able to use: > docker run -ti --rm -v ~/my_micropython:/micropython micropython/build-micropython-esp32 bash -c -l "cd micropython && make -C mpy-cross && make -C ports/esp32 submodules && make -C ports/esp32 BOA...