Posts: 2
Threads: 1
Likes Received:
0 in 0 posts
Likes Received:
0 in 0 posts
Reputation:
0
Joined: Jan 2021
Country:
02-12-2021, 07:58 PM
(This post was last modified: 02-12-2021, 08:06 PM by Yelostoner.)
It's a "zero-reference" pin. If I provide an Arduino connection schematic would it help?
From Robodyn's website"
"Dimming can be achieved by Pulse Skip Modulation:
Method 1 — One or more cycles (sine wave signal) are transferred to the load, while following one or several cycles are blocked.
Method 2 — Partial transferrence of each sine wave to the load.
Method 3 — Generation of modulated full sine signal of different frequency up to few hundred hertz. This method requires specialized powerfull AC generators with different modulation.
Methods 1 and 2 are the easiest to execute with the help of a Dimmer and programm code: in both cases, there is a need of circuit that detects the zero crossing and can control a triac."
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
If you have a schematic that might help. I have played with triacs but only switched them on/off.
Posts: 3,250
Threads: 90
Likes Received:
163 in 120 posts
Likes Received:
163 in 120 posts
Reputation:
184
Joined: Sep 2015
Country:
I found the listing on Robodyn's website, I see it uses 2 digital pins on Arduino and interrupts, plus they have a library which does the work. I also see some sample Arduino sketches so looks like it would be easy to get working on Arduino but would take some work to get on Pi. You would need to tweak the library most likely and setup interrupts on the Pi. The wiringPi library does work with interrupts so it's likely possible but definitely won't work with reef-pi.
If you really want to use it, I suggest get it working on an Arduino, then you can connect Arduino to Pi via USB (serial) or I2C and communicate that way but it would be a lot of work.