Search found 781 matches

by kevinkk525
Tue Aug 11, 2020 6:52 am
Forum: General Discussion and Questions
Topic: AC doorbell signal
Replies: 21
Views: 1440

Re: AC doorbell signal

You've probably figured that a standard debouncer won't work as it assumes the bouncing will stop after a period. But I'm sure you can write uasyncio code that triggers an event on a high to low transition and clears it when the input stays high for a period. An application for the Delay_ms class? ...
by kevinkk525
Mon Aug 10, 2020 7:33 am
Forum: General Discussion and Questions
Topic: AC doorbell signal
Replies: 21
Views: 1440

Re: AC doorbell signal

Thanks for your answers.
Yes I will go for 10kR on the DC side then.

I could handle multiple interrupts with a debounce of a few ms. Haven't thought about using hardware to stabilize it.
by kevinkk525
Mon Aug 10, 2020 4:57 am
Forum: ESP32 boards
Topic: ESP32 reliability
Replies: 23
Views: 2540

Re: ESP32 reliability

I suspect that there are still some strange bugs in IDF3 and IDF4 (or micropython esp32 port) because my board often crashes with a cpu crash leaving a stacktrace, at least when running my own project. Haven't analyzed that one yet so I just let the esp crash once a day which is fine in my use-case.
by kevinkk525
Mon Aug 10, 2020 4:51 am
Forum: General Discussion and Questions
Topic: AC doorbell signal
Replies: 21
Views: 1440

Re: AC doorbell signal

Thanks for the confirmation. Here's the data by the way: https://datasheet.octopart.com/PC814X-S ... 120760.pdf

It's the PC814 not PC184... sorry.. was late yesterday :roll:
by kevinkk525
Sun Aug 09, 2020 6:14 pm
Forum: General Discussion and Questions
Topic: AC doorbell signal
Replies: 21
Views: 1440

Re: AC doorbell signal

[...] Go for the opto isolator. Considering that solution I'm not sure where your 50mA comes from. 4V RMS across IKΩ is 4mA RMS. The actual will be less: a) because the LED only conducts for one half cycle reducing it to 2mA. [...] c) presumably the signal only occurs when the button is pressed. Th...
by kevinkk525
Sun Aug 09, 2020 3:44 pm
Forum: General Discussion and Questions
Topic: AC doorbell signal
Replies: 21
Views: 1440

AC doorbell signal

The doorbell in our new appartment has an AC signal so it can power some LEDs inside the switches. If the switch is pressed, the signal is shorted to a "common ground" (not sure what exactly this is, it might be the neutral wire of the AC transformator and not the general ground). The voltage measur...
by kevinkk525
Tue Jul 28, 2020 9:40 am
Forum: ESP32 boards
Topic: ESP32 reliability
Replies: 23
Views: 2540

Re: ESP32 reliability

I was testing the psram unit with idf4.0
by kevinkk525
Tue Jul 21, 2020 7:12 am
Forum: General Discussion and Questions
Topic: Generating DMX512 - simple demo
Replies: 13
Views: 7193

Re: Generating DMX512 - simple demo

I worked with DMX512 once but not with micropython. We bought a Raspberry Pi DMX shield that had an esp8266 on the board to drive the DMX bus. The Pi was programmed with Python and worked great. Since this was a work project and I don't work for that company anymore, I don't have any sources files.....
by kevinkk525
Tue Jul 21, 2020 5:12 am
Forum: Pyboard D-series
Topic: First experiences (firmware upgrade & hardware design issue/mitigation)
Replies: 7
Views: 1249

Re: First experiences (firmware upgrade & hardware design issue/mitigation)

I wish I had found this thread before spending a few hours trying to get everything working correctly.. It would be nice if this could either be included in a Wiki or directly linked to this thread on the pyboard D download page. Getting the pyboard D to work was a more painful experience than using...
by kevinkk525
Mon Jul 20, 2020 12:36 pm
Forum: Drivers for External Components
Topic: MQ sensors
Replies: 7
Views: 820

Re: MQ sensors

Hmm yeah that is why I abandoned the MQ5 sensor, couldn't really figure out how to correctly use it so I thought a professional, ready-to-use solution might be better. But it was just for a gas heater in our appartement and we moved shortly after, so now I don't need that kind of sensor anymore, so ...