HI all,
I am currently busy with creating an extension for a to be defined interface (arduino, RPI, atmega...).
Initially I just focused on RPI so I wanted to use GPIO, but since at the moment my breakout will use a lot of them an alternative communications method might be better (rs485).
So in short at the moment I am focusing on detecting a light switch turning ON/OFF. At the beginning I used a transformer based power transformer to go to 5V. However I did not like it to have a bulky transformer on my print so I looked further. Since I am on 50Hz 203VAC I needed to have something which was able to phase correct and "stabilize".
I found the following 2 links and created based on those the circuit attached:
https://electrosome.com/transformerless-low-cost-power-supply/
http://www.electroschematics.com/5678/capacitor-power-supply/
My Schematic:
BOM List:
The 2 main questions I have are:
1. Does this work for my purpose (no delay "off" because of the capacitor, OFF will immediately shut the optoled)
2. Are the parts I selected correct.
Thank you in advance.
I am currently busy with creating an extension for a to be defined interface (arduino, RPI, atmega...).
Initially I just focused on RPI so I wanted to use GPIO, but since at the moment my breakout will use a lot of them an alternative communications method might be better (rs485).
So in short at the moment I am focusing on detecting a light switch turning ON/OFF. At the beginning I used a transformer based power transformer to go to 5V. However I did not like it to have a bulky transformer on my print so I looked further. Since I am on 50Hz 203VAC I needed to have something which was able to phase correct and "stabilize".
I found the following 2 links and created based on those the circuit attached:
https://electrosome.com/transformerless-low-cost-power-supply/
http://www.electroschematics.com/5678/capacitor-power-supply/
My Schematic:
BOM List:
The 2 main questions I have are:
1. Does this work for my purpose (no delay "off" because of the capacitor, OFF will immediately shut the optoled)
2. Are the parts I selected correct.
Thank you in advance.