Final tweaking to Artemis, the smart paludarium controller

Getting ready to have the main PCB built in China, I discovered some things that made me rethink… And make some pretty radical changes to the PCB… Enter v1.01!

Change 1: PWM for LEDs in high-res

The most major change “came to light” when I played with a prototype to control my new LED panel. Right now it uses PWM directly from the Arduino, so that is 256 steps (8 bit resolution).

But especially at lower light intensities I can see the LEDs take their steps. As I also have 16 channels controlled by a PCA9685 chip which is 12 bit resolution (so 4096 steps), I decided to use the PCA9685 outputs to run lighting. This in turn meant I needed to rethink which outputs work on 12V and which ones work on 24V. In the end I solved the puzzle and came up with a clean design:

Artemis v1.01: Changes to the layout of 12V and 24V power feeds and connectors. Note the large 6 pin connectors on the left: They are 24V RGB-CCT outputs now run from the PCA9685 PWM chip.

Another addition: Sense 12V and 24V

As I was reworking the 12V and 24V layout anyway, I thought it might be a good idea to be able to sense 12V and 24V back into the logic. As logic and power circuits are completely separated by opto couplers, I added two single-channel opto couplers (TLP291) to sense both voltage lines. The Arduino will program pullups on its inputs, and the opto couplers will draw that to GND when power is applied, effectively allowing the Arduino to measure back whether 12V and 24V is actually present:

Artemis v1.01 feedback opto couplers to allow for the measurement of the 12V and 24V power by the Arduino. This way the logic can detect power failure in any of the high-power adapters for the lighting, pumps and valves etc.

Getting ready to have this PCB actually created, stay tuned! Things will get much more exiting once I get the new hardware to play with 🙂

One Response to Final tweaking to Artemis, the smart paludarium controller

  1. Pingback: Artemis hardware ordered! | P A L U W E B . N L

Leave a Reply

Your email address will not be published. Required fields are marked *