Search found 101 matches
- Wed Jul 29, 2020 6:47 am
- Forum: ESP32 boards
- Topic: [SOLVED] Polling pin at 13_us rate ?
- Replies: 11
- Views: 5151
Re: Polling pin at 13_us rate ?
Thanks for your answers, I've made a typo, the clock is rated at 13_us (77_kHz) But it's quite different from one device to another. I've made some test to check if I would be able to manage the dial gauge case (400_us) from machine import Pin import time pin=Pin(12) while True: pin.value() print(ti...
- Tue Jul 28, 2020 3:24 pm
- Forum: ESP32 boards
- Topic: [SOLVED] Polling pin at 13_us rate ?
- Replies: 11
- Views: 5151
[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...
- Wed Jul 15, 2020 8:03 am
- Forum: ESP32 boards
- Topic: ESP32 - TXS0108E - PZEM-004T
- Replies: 0
- Views: 1555
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...
- Thu Feb 13, 2020 6:33 am
- Forum: ESP32 boards
- Topic: I have design a new small ESP32 board
- Replies: 4
- Views: 3190
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.
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.
- Mon Feb 10, 2020 10:37 am
- Forum: ESP32 boards
- Topic: LOLIN32 - PV cell powered
- Replies: 0
- Views: 1803
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)
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)
- Mon Feb 10, 2020 10:23 am
- Forum: General Discussion and Questions
- Topic: Rotary encoder.
- Replies: 8
- Views: 5454
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.
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.
- Tue Dec 24, 2019 9:57 am
- Forum: ESP32 boards
- Topic: Pulse counter support
- Replies: 27
- Views: 41610
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.
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.
- Thu Nov 28, 2019 2:29 pm
- Forum: General Discussion and Questions
- Topic: Does "__slots__" make sense in micropython
- Replies: 8
- Views: 4454
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...
- Thu Nov 28, 2019 10:56 am
- Forum: General Discussion and Questions
- Topic: Does "__slots__" make sense in micropython
- Replies: 8
- Views: 4454
- Thu Nov 28, 2019 10:45 am
- Forum: General Discussion and Questions
- Topic: Does "__slots__" make sense in micropython
- Replies: 8
- Views: 4454
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 ?
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 ?