perikaruppan
Member
Hi friends,
I have completed my arduino controller with power module and lights using I2C mainly.
But i am having this issue:
When i Turn OFF or ON any of the High Load Switches in the power moduleThe Arduino goes into Freeze mode and the LCD blanks and the keyboard becomes inactive.
I have made this Aquarium controller for my aquarium. Written the code with a help of a few members in the Arduino forum and all seems to work perfectly
I am mainly using I2C to control my devices.
The main layout is :
The Display of the controller : have another display also attached to the system for secondary viewing.
The controller with the I2C, Clock and with the back of the LCD panel and the Keyboard
The power Module, using ULN 2003 and Relays. The Power module is Connected to the Controller using a 25Pin DB Wire.
The Outlook of the power Module
These are the problems: (I think they are related)
1. When the power module is not connected to the main system, the system works perfectly. There is a mode called FEEDMode, when i am into that mode by press of a key in the keypad, a few of the power modules are to TURN OFF for a period of time and then TURN ON again after that period, this works perfectly when the power Module is not connected to the system.
But when i connect the power Module to the system, and go into that FEED MODE it TURNS OFF the devices, goes through the Count and then TURNS on the DEVICES but the moment it turns ON The Devices the LCD goes BLANK with just a display of "1" in the SCREEN and KeyPad is FROZEN.. .so i need to restart the Arduino by powering it down and then ON it again.
2. Some times when there is a power Outtage, and when the System turns on again, i go into the Blank Screen Mode and Frozen keypad. But all the other controls in the Power Module are WORKING...
I even put diodes across the Relays to protect them, but no USE.
The Arduino Goes into FREEZE Mode when it handles the Power Module that is done using UNL2003/2004 ICs and Relays. The ULNs drive the Relays (+5v) and Relays Output (230vac) control the Motors and Pumps.
People on ardunio forum suggested it is de-coupling and i need to add capacitors to the pwr supply. and i added 100uF to the two power inputs (one to the Arduino and One to the Power Panel +5v PWR Supply) but that still had no effect. But creates another problem, the Arduino Freezes more often than before. Without the Capacitors, my system runs perfectly if i dont go into FEEDMODE.
Did you come across any such problem? or can you help me?
I have completed my arduino controller with power module and lights using I2C mainly.
But i am having this issue:
When i Turn OFF or ON any of the High Load Switches in the power moduleThe Arduino goes into Freeze mode and the LCD blanks and the keyboard becomes inactive.
I have made this Aquarium controller for my aquarium. Written the code with a help of a few members in the Arduino forum and all seems to work perfectly
I am mainly using I2C to control my devices.
The main layout is :
The Display of the controller : have another display also attached to the system for secondary viewing.
The controller with the I2C, Clock and with the back of the LCD panel and the Keyboard
The power Module, using ULN 2003 and Relays. The Power module is Connected to the Controller using a 25Pin DB Wire.
The Outlook of the power Module
These are the problems: (I think they are related)
1. When the power module is not connected to the main system, the system works perfectly. There is a mode called FEEDMode, when i am into that mode by press of a key in the keypad, a few of the power modules are to TURN OFF for a period of time and then TURN ON again after that period, this works perfectly when the power Module is not connected to the system.
But when i connect the power Module to the system, and go into that FEED MODE it TURNS OFF the devices, goes through the Count and then TURNS on the DEVICES but the moment it turns ON The Devices the LCD goes BLANK with just a display of "1" in the SCREEN and KeyPad is FROZEN.. .so i need to restart the Arduino by powering it down and then ON it again.
2. Some times when there is a power Outtage, and when the System turns on again, i go into the Blank Screen Mode and Frozen keypad. But all the other controls in the Power Module are WORKING...
I even put diodes across the Relays to protect them, but no USE.
The Arduino Goes into FREEZE Mode when it handles the Power Module that is done using UNL2003/2004 ICs and Relays. The ULNs drive the Relays (+5v) and Relays Output (230vac) control the Motors and Pumps.
People on ardunio forum suggested it is de-coupling and i need to add capacitors to the pwr supply. and i added 100uF to the two power inputs (one to the Arduino and One to the Power Panel +5v PWR Supply) but that still had no effect. But creates another problem, the Arduino Freezes more often than before. Without the Capacitors, my system runs perfectly if i dont go into FEEDMODE.
Did you come across any such problem? or can you help me?
Last edited: