Post topics, source code that relate to the Arduino Platform

User avatar
By GigAHerZ
#24983
certeza wrote:By the way, the main reason I use the attiny is to prevent resetting the esp-12 when it has not finished its task. That can happen if you connect the pir directly to the esp-12.


During the time you work on something, you take down the trigger interrupt. And when you are finished, you set the interrupt up again. Or there's some other reasons, it's not possible?
User avatar
By certeza
#25074 I was hoping that was clear from what I described. :)
If there is an easier way, let me know.

Perhaps with two transistors.
Or not using reset at all, but the soft latch power switch concept to power up the ESP-12 when the PIR detects motion.