Hi all,
I've a project on the go at the moment that uses a microchip rtcc on the I2C bus, I've had it working no problems back in the spring, keeping good time etc.
Just recently I've been adding a few more bits and bobs to the board, my circuit is currently built up on bodge (strip!) board. First strange thing was the clock refused to start on power up after a few months unused, I thought a bit of damp must have got in, gave it a quick blast with the hot air gun and off it went!
I then added a ssr to the board to switch a small 240v ac pump, I noticed when the pic starts the pump the clock stops! Its also running quite slow?
The first problem, ie clock not running happened before the addition of the ssr, however the clock stopping and starting as the pump goes on and off, has only happened since 240v turned up on the board.
I've checked for any shorts and found none, the rtcc uses a 32Khz crystal as a osc, do folks think its more likely my crystal is junk or the 240v ac on the strip board is the problem?
I'm feeling my way with this stuff, I wonder if I should put mains switching stuff in a seperate box?
Cheers Geoff
I've a project on the go at the moment that uses a microchip rtcc on the I2C bus, I've had it working no problems back in the spring, keeping good time etc.
Just recently I've been adding a few more bits and bobs to the board, my circuit is currently built up on bodge (strip!) board. First strange thing was the clock refused to start on power up after a few months unused, I thought a bit of damp must have got in, gave it a quick blast with the hot air gun and off it went!
I then added a ssr to the board to switch a small 240v ac pump, I noticed when the pic starts the pump the clock stops! Its also running quite slow?
The first problem, ie clock not running happened before the addition of the ssr, however the clock stopping and starting as the pump goes on and off, has only happened since 240v turned up on the board.
I've checked for any shorts and found none, the rtcc uses a 32Khz crystal as a osc, do folks think its more likely my crystal is junk or the 240v ac on the strip board is the problem?
I'm feeling my way with this stuff, I wonder if I should put mains switching stuff in a seperate box?
Cheers Geoff