Search found 80 matches

by pidou46
Tue Jul 28, 2020 3:24 pm
Forum: ESP32 boards
Topic: [SOLVED] Polling pin at 13_us rate ?
Replies: 11
Views: 1155

[SOLVED] Polling pin at 13_us rate ?

Hi, I'm willing to read data from Chinese digital dial gauge. This have been successfully been done with arduino microcontroller. Here are some references: https://www.davidpilling.com/wiki/index.php/DialGauge http://www.shumatech.com/support/chinese_scales.htm https://web.archive.org/web/2018073019...
by pidou46
Wed Jul 15, 2020 8:03 am
Forum: ESP32 boards
Topic: ESP32 - TXS0108E - PZEM-004T
Replies: 0
Views: 690

ESP32 - TXS0108E - PZEM-004T

Hello, I try to get data from PZEM-004T (V4) AC multimeter from a ESP32 with latest MP firmware. It looks like there I face an issue with UART at the hardware level, because the red led on the PZEM-004T doesn't behave the same when I plug it to my computeur. To adapt UART voltage level I use a level...
by pidou46
Thu Feb 13, 2020 6:33 am
Forum: ESP32 boards
Topic: I have design a new small ESP32 board
Replies: 4
Views: 1168

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: 1055

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: 1482

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: 6168

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: 1353

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: 1353

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: 19
Views: 4498

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.