I have a Chaney Electronics/Electronic Goldmine C6952 alarm clock/timer, which has an Omron G6HU-2 relay that can be used to switch power on or off to another device when the alarm goes off. The microcontroller does not energize the coil long enough to latch the relay contacts closed. Is there any way to keep the coil energized for a longer period of time? I can make the relay latch and reset using a battery pack. The board uses an ATMEGA48-20PU microcontroller.
Relay on alarm clock board does not close
Collapse
X
-
Re: Relay on alarm clock board does not close
If this is a consumer bedside alarm clock, it is unlikely that it contains a latching relay. I would expect a solid turn-on signal from the micro going to the base of a transistor, which would ground the low end of the relay. What is the output from the micro, a pulse or a continuous voltage?Is it plugged in? -
Re: Relay on alarm clock board does not close
I just saw your reply.
This is actually a clock kit. It does use a latching relay and the microcontroller sends a pulse to the relay, but the pulse is not long enough to make the relay latch on. Both of the pins connected to the coil are connected to the microcontroller.Comment
-
My pc
CPU : AMD PHENOM II x4 @ 3.5Ghz
MB : ASUS M4A89TD PRO USB3
RAM : Kingston ValueRAM 16gb DDR3
PSU : Cooler Master 850W Silent Pro
GPU : ATI Radeon HD 6850Comment
-
Re: Relay on alarm clock board does not close
Like I said above, the IC is a preprogrammed ATMEGA48-20PU. Since it uses a latching relay, a pulse is sent across the coil to make the relay contacts close and a pulse is sent in the opposite polarity to make the contacts open.Comment
-
Re: Relay on alarm clock board does not close
ah I see now hmm no easy solutions come to mind.
Maybe a bipolar cap across the output but that may overload the mcu outputs.My pc
CPU : AMD PHENOM II x4 @ 3.5Ghz
MB : ASUS M4A89TD PRO USB3
RAM : Kingston ValueRAM 16gb DDR3
PSU : Cooler Master 850W Silent Pro
GPU : ATI Radeon HD 6850Comment
-
Re: Relay on alarm clock board does not close
Hardware solution: H bridge, several diodes, and an R-C delay circuit.Comment
-
Re: Relay on alarm clock board does not close
You need nothing more than a few wires and a parallel port to program the AVR.
For the hardware solution, you need to make an H bridge (4 transistors) to be able to drive the relay with both polarities, use diodes connected to the MCU outputs to control the H bridge according to the polarity, and add RC delay circuit to "hold" the selected output for however long you need to.Comment
-
Re: Relay on alarm clock board does not close
It is very unlikely that the code in the micro is bad. Since the drive comes from the micro itself, be sure that your B+ is solid and within spec. A more productive approach would be to experiment with the relay itself to see how much current is required to operate it. Could the relay be defective, or the wrong part for this kit? What do the markings indicate? Second phase: latch the relay by hand and see if the micro can unlatch it. It would be very simple to take the latching signals from the micro and use them to operate a simple flip flop driving a standard relay. I've never seen a radio with an accessory outlet. Seems like a weird feature.Is it plugged in?Comment
-
Re: Relay on alarm clock board does not close
The markings match what the kit showed in the parts list. The microcontroller is able to unlatch the relay, and the relay can be latched using three dead AAA batteries. The entire board is powered by a 7805 that produces 4.90V. The kit came with a 78L05, but I didn't like how hot it ran. The regulator is soldered to the red and black wires on the corner of the board.Comment
-
Re: Relay on alarm clock board does not close
Maybe the microcontroler is programmed incorrectly. I could see that happening. Chaney Electronics doesn't make many kits that work properly. If it was possible to extract the program from the microcontroller and modify it, the problem could be fixed.Comment
-
Re: Relay on alarm clock board does not close
Yes, it's possible unless they locked it, which might not be the case.
The hardware is really simple, just a few wires to the appropriate pins.
Use software like AVRDUDE to read/write to it:
http://www.nongnu.org/avrdude/
Once you have the program, you'll need to load it in a disassembler to get readable code. Use the datasheets as reference to understanding the program. There will probably be a small delay loop that you'll need to change so it waits longer. Then reassemble and write it back to the MCU.
If this is your first time working with microcontrollers, you should start reading the datasheets/manuals. There is lots of informationComment
-
Re: Relay on alarm clock board does not close
4.9 volts coming from a 7805 means the regulator is faulty. Use a new regulator. Then put a diode in the grounded leg which will raise the output to 5.6 volts. That should solve your problem.
Interesting how much enthusiasm there is for reprogramming microprocessors, even for a clock radio. That's the spirit!Is it plugged in?Comment
-
-
Re: Relay on alarm clock board does not close
I want to start messing with this again. I need to figure out how to create the programmer and what software is needed to extract the program, disassemble it, and reprogram the microcontroller with the modified program.
One possible problem is that the TXD and RXD pins on the microcontroller are used for the DIP switch bank.Comment
-
Re: Relay on alarm clock board does not close
A number of pre-programmed microcontrollers are code protected, which means you cannot extract the code from them.My first choice in quality Japanese electrolytics is Nippon Chemi-Con, which has been in business since 1931... the quality of electronics is dependent on the quality of the electrolytics.Comment
-
Re: Relay on alarm clock board does not close
^ datasheet for your MCU, with all the info you need (see the "memory programming" section.)
http://www.arduino.cc/en/Hacking/ParallelProgrammer
http://reprap.org/wiki/Burning_the_S...der_using_DAPA
^ simple programmer that plugs into the parallel port.
You'll need an AVR disassembler and assembler. I think you can find those on Atmel's site.
Originally posted by japlyticA number of pre-programmed microcontrollers are code protected, which means you cannot extract the code from them.Comment
Related Topics
Collapse
-
by jm1234Hi, I'm seeing one 9V relay having temperature 40C on its 9V (primary) side. Does that seem right? I switched 2 relays on that board and the temperature was the same (on the same position), so I'm sure it's not a faulty relay. I measured voltage on that relay and it was 9.5V DC, so that looks good. I don't see any other relay on that board having that kind of temperature and they have 9V on them too.
I thought maybe the transistor that is switching this relay keeps switching on/off, so I also checked for AC and there was almost none: 0.3V using mV range. No steady frequency was shown, but... -
by edugimenoHi everyone!
I have this board that suddenly stopped supplying power to an output that drives an interchanger cleaner motor.
I checked while the board was in place with all wires attached and there's no AC voltage on the corresponding plug X5
This X5 is driven by fuse F8 (tested OK) which comes from the second orange relay
To make sure there are no charcoaled contacts inside the relay, I got a 24VDC power supply and got it ready to manually power up the coil side of these relays.
I respected the polarity, positive to cathode of protecting diode
So provided all... -
by sam_sam_samI was working on this CNC machine today found no keyboard functioning no control relay powering on
The screen powered on and was giving an operation error but the manual was not very clear about what the error exactly was but with a little bit of troubleshooting and finding out that the control relays not powering on and no keyboard functions we narrowed down to this one switching power supply which of course does not have any indicator LED light they are on the keyboard interface/relay controller board
Found shorted diodes on main controller relays there are 3 of them that... -
by Tom41This house has a Honeywell Accenta G3 alarm system. If the main unit loses power for any reason, the external siren sounds - even if the alarm is not even armed! Entering the code to disarm it is not an option as the keypads are completely dead when the power is out.
I presume this means the backup battery inside the box has failed, but I can't get in there and replace it without also setting off a tamper alarm! Is there any way to disable the tamper alarm so that electrical work can be carried out with the power off? Or a way to replace the backup battery without setting off the... -
by slybundaApologies if this is in the wrong section but being a car alarm siren that makes noise i thought it be best to put it in the audio section.
Had weird alarm issues where siren made a strange noise: https://www.youtube.com/watch?v=ZjsqndhionU
took siren out of the car and checked it out and pics attached seem to be the source of the issue.
shockingly the alarm still makes its normal sound if i trigger it manually so speaker seems to be intact.
getting a replacement is gonna be next to impossible, its a Toad Ai606 which is no longer in production and cant see to find a replacement...-
Channel: Troubleshooting Audio Equipment
-
- Loading...
- No more items.
Comment