info for relay expansion box

Request new hardware or ideas for the controller
Post Reply
petruzzelli
Posts: 22
Joined: Wed Mar 30, 2011 3:04 am

Re: info for relay expansion box

Post by petruzzelli »

rimai wrote:Yes. just add a simple function and you are good to go. Curt is working on getting them into the development libraries too.
The PWM resolution is 8 bit, but to be honest, we don't even use 7bits resolution. We calculate PWM in percentage from 0 to 100, which is less than 7bit resolution.
Even with less than 7 bit resolution, the human eye can't distinguish the difference in my opinion, let alone corals.
Would you be able to enlighten us on why 12 bit would be more beneficial?
hi roberto
for me is importan 12bit for a new project not for aquarium
binder
Posts: 2871
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: info for relay expansion box

Post by binder »

rimai wrote:Yes. just add a simple function and you are good to go. Curt is working on getting them into the development libraries too.
Got this in, just needs to be tested for the output. It should work because all the code is based on what was already created. I just gave it a main menu entry:
Main Menu with PWM Menu
Main Menu with PWM Menu
main_w_pwm.JPG (58.31 KiB) Viewed 2801 times
and a fancy menu to itself:
PWM Menu
PWM Menu
pwm_menu.JPG (56.89 KiB) Viewed 2801 times
Note: This code only works with the PWM expansion module. It does not affect the 2 PWM outputs on the controller.

curt
Post Reply