It took a while to get all the components for the final version, found a little free time to etch the PCB, solder everything together, test the final version and shoot some pictures but it’s worth the result!
(Note: the on screen display language is Dutch)
Final result of the controller
The controller is a mobile battery powered device, it can be placed everywhere! No longer dependent from power-consuming power adapters!!!!!
Battery value is measured automatic and gives an indication when to recharge the controller. The operating periode is about 2 to 3 weeks with two re-used 6 years old lithium ion 18650 batteries from an old laptop battery pack. The remaining capacity is not much but good enough for this application.
The OLED display consumes the most power. OLED stands for organic LED, this means the display continuously emits light and is easy to read in the dark. The “most” power is a couple of mA’s but this is a lot against some other LCD displays (some µA’s).
The Arduino runs on a 8Mhz clock, with the necessary power saving functions it runs on a couple of hundreds µA (Note: the red power led on the Arduino Pro Mini is removed!), with the OLED display (and all the remaining electronics are negligible) it’s only mA’s of power consumption in total.
That’s battery friendly i guess 🙂
The overall operating voltage has to be between 2,7V and 5,5V for correct functionality. (battery protection auto. shutdown voltage at 2,5V)
Some features of the controller:
Time schedule of 5 shutters (open/close)
Option to choose between stored time or light sensor based (with adjust value: lighter/darker) closing of the rolling shutters
Example: setting and storing time open/close for Rolling Shutter 1
Setting and storing the day, month and year
The controller has a menu to adjust, change and store:
– time (hours: 0 to 23, minutes: 0 to 59)
– day (1 to 31)
– month (1 to 12)
– year (2015 to 2099)
– day of the week (Monday, Tuesday, Wednesday, and so on)
– random range in minutes (when time is set to 8:00 and random range is 10 minutes: the shutters will open between 7:55 and 8:05)
– light measurement adjustment (threshold “dark” value for light sensor)
– all roller shutters have there own open/close hour (accuracy is 1 minute, for instance 8:16)
– enable/disable channels (for instance if you have a door, you can disable that channel so you can still re-enter. That would not be possible if the shutter was closed!!!)
– automatic/timed shutter closing (the option can be “Time” of “Light”, Time means stored time and Light means sensor based)
Note: the time, day, year, .. are kept by the DS3231 Real Time Clock IC and when powerless, powered by the 3V coin cell (= memory function)
Note: other parameters are stored permanently in the Arduino’s EEPROM
The printed circuit board in detail:
The PCB is made in 2 stackable boards, the bottom module is the Arduino Pro Mini 3,3V controller with a LiPo Fuel Gauge from Sparkfun, Lithium ion battery charger module with battery protection for charging and discharging (with shutdown when the voltage drops below 2,5V for no battery damage), a ON/OFF master slide switch, reset button and battery connector terminal.
To recharge the module, simply plug in a micro USB cable. The charger board has 2 on board indication leds: RED: charging and BLUE: charged.
The top module has al the features for time keeping (DS3231 IC in the middle of the board), light measurement, switching capabilities, 5 input tactile push buttons for navigation in menu & settings and the OLED connector for the 1,3″ OLED display. At the top of the module is the connector for the Niko Easywave remote control.
Top module (picture without OLED display)
The side view of the controller, the headers are default 2,54mm headers. The male headers are 17mm long in stead of the 10mm usual. (because the 3V coin cell backup battery for the RTC on the bottom of the top module)
Bottom side of top & bottom module (with 3V coin cell on the left board)
Following pictures are the bare PCB’s
That’s a short overview of the controller, more detailed information about the working and components can be found in the previous post of the “prototype” of the controller.