Search found 68 matches

by pidou46
Thu Feb 13, 2020 6:33 am
Forum: ESP32 boards
Topic: I have design a new small ESP32 board
Replies: 4
Views: 429

Re: I have design a new small ESP32 board

Nice,
Could you give some more details ?
What is the swiches for?
Does they allow to switch of the USB/TTL device to save power when not in use ?
It would be a nice feature according to me.
by pidou46
Mon Feb 10, 2020 10:37 am
Forum: ESP32 boards
Topic: LOLIN32 - PV cell powered
Replies: 0
Views: 641

LOLIN32 - PV cell powered

Hello,

Can I plug directly a 5V solar cell (<=500mA) to the microusb port of the LOLIN32 board ?

https://www.aliexpress.com/item/3300917 ... 2e0eV4oz5b

The battery port will be pluged to a Li-ion battery (18650)
by pidou46
Mon Feb 10, 2020 10:23 am
Forum: General Discussion and Questions
Topic: Rotary encoder.
Replies: 8
Views: 511

Re: Rotary encoder.

Hello,

There is a PR pending to add hardware counter device support of the ESP32 to micropython:

https://github.com/micropython/micropython/pull/5496

Your post show that there is interest in hardware counter with esp32.
by pidou46
Tue Dec 24, 2019 9:57 am
Forum: ESP32 boards
Topic: Pulse counter support
Replies: 15
Views: 3164

Re: Pulse counter support

Hi elliotwoods,

Did you complete the python side ?

I think you are really close to bring this functionality to MP.
If you can post it here, maybe someone (maybe me) would be able to implement it in esp32 branch in time for 2.0 release ?

Anyhow, thanks to have shared.
by pidou46
Thu Nov 28, 2019 2:29 pm
Forum: General Discussion and Questions
Topic: Does "__slots__" make sense in micropython
Replies: 8
Views: 474

Re: Does "__slots__" make sense in micropython

I have made some tests, and confirm it save some RAM : import gc import micropython class MyClass(object): #__slots__ = ['name', 'identifier'] def __init__(self, name, identifier): self.name = name self.identifier = identifier def MyPrint(self): print('{}:{}'.format(self.name,self.identifier)) gc.co...
by pidou46
Thu Nov 28, 2019 10:45 am
Forum: General Discussion and Questions
Topic: Does "__slots__" make sense in micropython
Replies: 8
Views: 474

Re: Does "__slots__" make sense in micropython

Interesting,

Shouldn't it be mentioned in the docs (maybe in the Maximising Micropython Speed) ?

As I have I understand it could help save RAM. It not exactly speed optimisation, but it could help as I have frequently hit the RAM limit...

Am I wrong ?
by pidou46
Mon Nov 25, 2019 5:02 pm
Forum: ESP32 boards
Topic: How do i get the full 16MB on the file system? ESP32
Replies: 16
Views: 1843

Re: How do i get the full 16MB on the file system? ESP32

Thanks MostlyHarmless for your explanation to ease the build of micropython firmware.

Yes, I think it definetly worth a specific topic.
by pidou46
Mon Nov 25, 2019 1:47 pm
Forum: ESP32 boards
Topic: TM2130 packwge
Replies: 3
Views: 256

Re: TM2130 packwge

I have made some experiments with Timer with a step / dir driver (like TM2130) https://github.com/pidou46/ustepper/blob/master/ustepper.py The general idea is to setup a PWM output and stop it with a Timer. You just need to compute the Timer delay to achieve the desired stroke. This solution is quit...
by pidou46
Thu Nov 07, 2019 9:28 pm
Forum: Programs, Libraries and Tools
Topic: New version of Thonny IDE
Replies: 7
Views: 1636

Re: New version of Thonny IDE

This latest release bring studding stability, it works flawlessly for all my uses cases.

kudos to Aivar :D