I've made this test with adc pin 32 not connected to anything (floating in the air)
with the default sensitivity 0DB attenuation, and I get a quite nice 50Hz sin wave.
Quite interesting EMC show case...
Search found 101 matches
- Mon Jun 28, 2021 2:16 pm
- Forum: General Discussion and Questions
- Topic: Circular buffer not working as expected
- Replies: 16
- Views: 7169
- Mon Jun 28, 2021 1:29 pm
- Forum: General Discussion and Questions
- Topic: Circular buffer not working as expected
- Replies: 16
- Views: 7169
Re: Circular buffer not working as expected
Hi thalesmaoa, I know you have switched from esp32 to Pyb. But just in case here under is a hack from Roberth to poll pin at max speed on ESP32 Original topic : https://forum.micropython.org/viewtopic.php?f=18&t=8791&start=10 from machine import Pin, ADC import machine import time from array import ...
- Mon May 31, 2021 2:56 pm
- Forum: Drivers for External Components
- Topic: 74HC595 shift registers
- Replies: 4
- Views: 4057
Re: 74HC595 shift registers
@pythoncoder do you have some specific binary counter ref in mind ?
On my side I have investigate and found: NXP - PCF8593 with i2c interface
On my side I have investigate and found: NXP - PCF8593 with i2c interface
- Fri May 28, 2021 7:40 am
- Forum: Drivers for External Components
- Topic: 74HC595 shift registers
- Replies: 4
- Views: 4057
Re: 74HC595 shift registers
Thanks for sharing this mcauser, Could this device can be used to count pulses ? I'm searching a work around to the lack of pulse counter support for ESP32. (in official firmware at least) I understand that shift register device can be used to do exactly that, am I right ? Do you know if 74HC595 can...
- Thu May 13, 2021 7:11 am
- Forum: ESP32 boards
- Topic: sys.atexit() unavailable ?
- Replies: 7
- Views: 4897
Re: sys.atexit() unavailable ?
Ok, so it may be a good idea to mention in the doc that this function is not included in the firmware, isn't it?
I will create an issue on github.
I will create an issue on github.
- Wed May 12, 2021 7:57 pm
- Forum: ESP32 boards
- Topic: sys.atexit() unavailable ?
- Replies: 7
- Views: 4897
Re: sys.atexit() unavailable ?
Thank's Stijn,
So if understand it right this statement in the doc : "This function is a MicroPython extension" mean that this function is not included in the firmware right ?
So if understand it right this statement in the doc : "This function is a MicroPython extension" mean that this function is not included in the firmware right ?
- Wed May 12, 2021 4:37 pm
- Forum: ESP32 boards
- Topic: sys.atexit() unavailable ?
- Replies: 7
- Views: 4897
sys.atexit() unavailable ?
Hello, In the doc: http://docs.micropython.org/en/latest/library/usys.html I found information about the sys.atexit() function but I'm not able to import it with the latest firmware: MicroPython v1.15 on 2021-04-29; ESP32 module with ESP32 Type "help()" for more information. >>> from usys import ate...
- Tue Apr 27, 2021 3:58 pm
- Forum: Hardware Projects
- Topic: open drain setup with level converter
- Replies: 4
- Views: 20456
- Tue Apr 27, 2021 12:55 pm
- Forum: Hardware Projects
- Topic: open drain setup with level converter
- Replies: 4
- Views: 20456
Re: open drain setup with level converter
Thanks for your answer Roberthh,
According to the 2n7000 specification, how should I wire it ?
1: Source -> ground
2: Gate -> Esp32 pin (set as an output 0 or 3.3v)
3: Drain -> switch pin
According to the 2n7000 specification, how should I wire it ?
1: Source -> ground
2: Gate -> Esp32 pin (set as an output 0 or 3.3v)
3: Drain -> switch pin
- Tue Apr 27, 2021 9:45 am
- Forum: Hardware Projects
- Topic: open drain setup with level converter
- Replies: 4
- Views: 20456
open drain setup with level converter
Hello, I have a device with momentary switches, this device is powered with 0/+5V. I would like to simulate switch press with external mcu : ESP32 I know that esp32 pins can be configured in open drain mode to simulate a switch, but has the device to control is powered with grater voltage than esp32...