B4J Question AC Dimmer on raspberry pi with gui

yhyamak

Member
I am working on project of heating champer with coil ,
i need to control the temperature using sensor then make tbe heat low and high using ac dimmer board using zero crossing,
i test it on arduino using arduino ide

https://www.aranacorp.com/en/using-an-ac-light-dimmer-with-arduino/amp/

, and it worked perfectly, but i need it on raspberry pi to control it using gui ,but i didnt find any resources could help me.
can anyone make a simple example for it.
 

besoft

Active Member
Licensed User
Longtime User
Hello,

An interesting project. You have several options (my opinion):

- you leave everything to Ardru's environment and talk to him through communication (RS232, or ..). At Rpi, the possibilities for UI are endless.

- you realize everything on the Ardruino environment, even there you can create a very nice GUI with a touch function.

- you create a program in the Python environment, where it is possible to nicely implement PWM for dimmer control. Communication between python and B4j is also not something scary.
 
Upvote 0

KiloBravo

Active Member
Licensed User
I use the forum search to look for "rpi pwm b4j" several pages came up. Erel had a post from 2014 that described this.
The dimmer board is controlled by one i/o pin and on pwm pin from the rPI. You should be able to getting it working with the rpi.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…