Search found 473 matches

by devnull
Mon Jul 18, 2022 11:35 am
Forum: ESP32 boards
Topic: Adafruit QT-PY ESP32-C3
Replies: 1
Views: 2260

Adafruit QT-PY ESP32-C3

I recently received the latest batch of Adafruit QT-PY ESP32-C3 devices, they were out of stock for a while and a new batch as just been produced and shipped which I received. I am unable to get a REPL on these new devices and suspect a Hardware problem. The flashing process succeeds (this is the es...
by devnull
Sun Apr 10, 2022 5:43 am
Forum: ESP32 boards
Topic: BLE Beacon for Home Assistant
Replies: 2
Views: 1876

Re: BLE Beacon for Home Assistant

Thanks, but I have lots of other BLE beacons showing up, it's just the one I created in micropython using Jimmo's sample that is not recognized.

Does anyone have a working example of a BLE sensor beacon that can help me from re-inventing the wheel :-)
by devnull
Sat Apr 09, 2022 4:52 am
Forum: ESP32 boards
Topic: BLE Beacon for Home Assistant
Replies: 2
Views: 1876

BLE Beacon for Home Assistant

I need to create a BLE Beacon that sends data every 5 seconds, to be used with Home Assistant (HA) BLE Passive Monitor. https://github.com/custom-components/ble_monitor I have Jimmo's BLE advertising example running in a loop every 5 seconds, but despite the fact that HA BLE Monitor has discovered s...
by devnull
Fri Jan 21, 2022 11:16 am
Forum: ESP32 boards
Topic: I2C slave?
Replies: 10
Views: 17394

Re: I2C slave?

Many thanks, I just looked at it, quite a lot to digest. Problem is I am interfacing to an existing master, and the design of that master is out of my control and cannot be modified. I am trying to emulate a now obsolete device which acts as a slave, and using an ESP32 as a master is simply to be ab...
by devnull
Fri Jan 21, 2022 9:54 am
Forum: ESP32 boards
Topic: I2C slave?
Replies: 10
Views: 17394

Re: I2C slave?

OK, I thought that I would try the pyboard as a slave and esp32 as master: PYB Slave data = i2c_slave.recv(1) print(data) ESP32 Master i2c_master.writeto(0x0b,b'X') This works, but how do I go about having the slave reply ? PYB Slave data = i2c_slave.recv(1) i2c_slave.send(data) print(data) ESP32 Ma...
by devnull
Fri Jan 21, 2022 4:50 am
Forum: ESP32 boards
Topic: I2C slave?
Replies: 10
Views: 17394

Re: I2C slave?

Thanks, yes I am aware that the pyboard is the only device with built in slave mode.

But I am referring to a software implementation of this, probably bit banging.
by devnull
Thu Jan 20, 2022 9:19 am
Forum: ESP32 boards
Topic: I2C slave?
Replies: 10
Views: 17394

Re: I2C slave?

Hi;

I know this is a very old post, but you mentioned that you managed to get a slave working on the ESP32 ?

Was this using micropython ??

Or does anybody else have a software implementation for an I2C Slave / Peripheral that they would not mind sharing ??

I dont want to do this on a pyboard.
by devnull
Wed Jan 19, 2022 2:00 am
Forum: Development of MicroPython
Topic: Suppressing Build Warnings
Replies: 2
Views: 9774

Suppressing Build Warnings

How can I prevent my screen from filling up with warnings such as: warning: unused variable 'ret' [-Wunused-variable] warning: variable 'r' set but not used [-Wunused-but-set-variable] I have checked the ESP32 idf cmake config: idf/tools/cmake/build.cmake list(APPEND compile_options "-ffunction-sect...
by devnull
Tue Jan 11, 2022 12:26 am
Forum: General Discussion and Questions
Topic: Execute file when REPL is entered
Replies: 1
Views: 5856

Execute file when REPL is entered

Is it possible to detect when the REPL is logged into, my guess is no.

When a user logs into the REPL I want to trigger a soft reboot, or even import a file.
by devnull
Mon Dec 27, 2021 6:13 am
Forum: Other Boards
Topic: samd XIAO USB Mass Storeage
Replies: 5
Views: 17076

Re: samd XIAO USB Mass Storeage

Does anyone know how to add I2C functionality to the machine module ?