Search found 101 matches

by pidou46
Tue Aug 16, 2022 1:34 pm
Forum: Programs, Libraries and Tools
Topic: HX711 - which lib should I use?
Replies: 73
Views: 51704

Re: HX711 - which lib should I use?

@kiranmai1268
Welcome to micropython,

Your issue is note related to HX711, and it is specific to pico, you should post pico section of the forum :idea:
by pidou46
Mon Aug 15, 2022 7:11 pm
Forum: Programs, Libraries and Tools
Topic: Flight simulator controls Micropython
Replies: 8
Views: 4881

Re: Flight simulator controls Micropython

I try to achieve pretty much the same think (steering wheel) with my son, the way have taken is via bleutooth because esp32 have a pretty good bluetooth support. Heerkog have a working example of a basic joystick: https://github.com/Heerkog/MicroPythonBLEHID The next step is to build / find a HID de...
by pidou46
Mon Apr 04, 2022 2:37 pm
Forum: General Discussion and Questions
Topic: IDE for developing on multiple MicroPython boards concurrently
Replies: 1
Views: 857

Re: IDE for developing on multiple MicroPython boards concurrently

You can do it by running multiples instances of Thonny IDE.
You have to check option in general tab in option menu to do it

Maybe you would like to set each instance with a different theme to not get lost...
by pidou46
Wed Mar 30, 2022 9:35 am
Forum: Programs, Libraries and Tools
Topic: Rotary encoder with asyncio?
Replies: 18
Views: 8945

Re: Rotary encoder with asyncio?

ilium007 wrote:
Mon Mar 28, 2022 8:24 pm
I’m using the Adafruit STM32F405 board to prototype with.
It doesn't matter which board you use, the AS5600 sensor is really easy to use, you just have to request absolute position via 2ic bus each time you need it. But it's limited to one turn.
by pidou46
Mon Mar 28, 2022 2:03 pm
Forum: Programs, Libraries and Tools
Topic: Rotary encoder with asyncio?
Replies: 18
Views: 8945

Re: Rotary encoder with asyncio?

They have been multiple attempts to include PCNT esp32's hardware counter in firmware, but it stalled. As a workaround, I have jump on a AS5600 magnetic encoder. The main advantages I found is : - it's super easy to setup mechanically - setup is been done using i2c bus - reading can done via i2c, 0-...
by pidou46
Tue Feb 01, 2022 7:12 am
Forum: General Discussion and Questions
Topic: Add frozen code to the machine module?
Replies: 2
Views: 7287

Re: Add frozen code to the machine module?

Hello,

If I understand your need accordingly, I think Damien is cooking something up:

https://github.com/micropython/micropython/pull/8191
by pidou46
Tue Sep 28, 2021 8:13 pm
Forum: Programs, Libraries and Tools
Topic: mqtt_as – static IP
Replies: 2
Views: 1461

mqtt_as – static IP

Hi, I have a dedicated wifi network for mqtt without DHCP (static IP), does mqtt_as support this setup ? I have digged a little in mqtt_as code, I have found that : wifi_connect() function does not call ifconfig() before calling connect(), so static IP is not configured before trying to connect, so ...
by pidou46
Mon Aug 09, 2021 1:49 pm
Forum: ESP32 boards
Topic: IO0 and EN needed to flash ESP32
Replies: 2
Views: 1442

IO0 and EN needed to flash ESP32

Hello, When flashing micropython firmware to ESP32-S module (not usual dev board) for the first time, it is need to use two switches: IO0 and EN https://fr.aliexpress.com/item/1005002958406273.html?spm=a2g0o.productlist.0.0.23025f078kexzT&algo_pvid=50171108-9f8f-4258-9946-85323370bf2b&algo_exp_id=50...
by pidou46
Wed Jul 28, 2021 9:00 am
Forum: General Discussion and Questions
Topic: AC Dimmer it possible.
Replies: 5
Views: 2810

Re: AC Dimmer it possible.

Hello I'm working on a project with AC dimmer and ESP32s The aim is to adjust a boiler power, with a AC dimmer. Set point come from a mqtt server. To ensure the most stable status, I have used 2 x esp32 mcus. The first one run a simple script who detect the cross zero signal on one pin and set the c...
by pidou46
Wed Jul 21, 2021 2:57 pm
Forum: Programs, Libraries and Tools
Topic: Cpython ble api android l2cap kivy
Replies: 1
Views: 1256

Cpython ble api android l2cap kivy

Is someone aware of a Cpython API with the following compatibility requirements ?
- Android (ideally linux and windows)
- CPython
- Bluetooth low energy
- Kivy
- asyncio
- l2cap

i.e. Cpython conterpart of:
micropython-lib/micropython/bluetooth/aioble/