Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
The Raspberry Pi PWM clock has a base frequency of 19.2 MHz. This frequency, divided by the argument to pwmSetClock(), is the frequency at which the PWM counter is incremented. When the counter reaches a value equal to the specified range, it resets to zero. While the counter is less than the specified duty cycle, the output is high, otherwise the output is low.
I bet you are talking about 443 MHz radio.I finally got my 433mhz outlets work with commands. Now my question is: is it possible to get them to work in reef-pi?
I bet you are talking about 443 MHz radio.
If that's the case, then it would be possible to create a driver in the 3.0 version of reef-pi to communicate with these modules if you would be comfortable coding in Go. Otherwise, you could possible to write a script in some other language, monitor a gpio that reef-pi controls, and trigger a command to control your outlet.
Are these DIY outlets, or some commercial product?
That looks interesting. It will take some custom coding. What kind of coding experience do you have? Python seems to be easier for many people, but we could fold it into reef-pi directly if you can create it as a driver in GO.
In python it's fairly straight forward.
Use Piscope, a free software oscilloscope based on pigpio, to capture the transmitted signals.
Then also using pigpio library, generate the wave forms. There are a few examples on the web.
They are a little bit more expensive, but I much prefer the wifi outlets. At least you get feed back on the on/off status, and less prone to interference.
Chris