I know that this is an old problem but please bear with me.
I intend to control the light and heat in my vivarium using an 18m2 Pic and a two relay module - 5v coil, active on LOW (cheap as chips from Ebay )
After much testing on my Axe091 project board (without any loads on the relays) I produced an 18M2 board programed to:
Everything runs fine on the test bench until I connect the ceramic heater to the relay board. Occasionally when the circuit calls for heat, the heater relay switches on but the 18M2 board resets.
Note: This does not happen when switching the fluorescent light on/off.
Reading through various posts and following very useful links I have tried the following:
Still I have occasional problems with the Picaxe resetting.
Today I had a total re-think and have set up the 18M2 project board to send IR signals to an 08M2 project board. This new 08M2 board now controls the relays.
Again, all works fine on the test bench WITHOUT connecting the heater. As soon as I connect it I have problems with the 18M2 board resetting only this time it is happening more often.
Note: The 08M2 board may reset also but at the moment this does not matter as the heat/light reset as the 18M2 board comes back to life.
My question is, why should the 18M2 board reset? It has it's own power supply and is no longer connected in any way to the relay module.
The only thing that these two boards now have in common is the same power outlet on the wall. Could this be the problem?
I intend to control the light and heat in my vivarium using an 18m2 Pic and a two relay module - 5v coil, active on LOW (cheap as chips from Ebay )
After much testing on my Axe091 project board (without any loads on the relays) I produced an 18M2 board programed to:
- Switch the light on/off at certain times.
- Control the 100w ceramic heater (screw in type to replace infrared heat lamp). (Various temperatures depending on the time of day/night).
Everything runs fine on the test bench until I connect the ceramic heater to the relay board. Occasionally when the circuit calls for heat, the heater relay switches on but the 18M2 board resets.
Note: This does not happen when switching the fluorescent light on/off.
Reading through various posts and following very useful links I have tried the following:
- Decoupling capacitor across Picaxe input pins.
- 100uf capacitor across Picaxe power supply pins.
- Remove the relay module 'jumper' and add a separate power supply to feed the VCC and GND.
Still I have occasional problems with the Picaxe resetting.
Today I had a total re-think and have set up the 18M2 project board to send IR signals to an 08M2 project board. This new 08M2 board now controls the relays.
Again, all works fine on the test bench WITHOUT connecting the heater. As soon as I connect it I have problems with the 18M2 board resetting only this time it is happening more often.
Note: The 08M2 board may reset also but at the moment this does not matter as the heat/light reset as the 18M2 board comes back to life.
My question is, why should the 18M2 board reset? It has it's own power supply and is no longer connected in any way to the relay module.
The only thing that these two boards now have in common is the same power outlet on the wall. Could this be the problem?