Hello everyone, please help. I have a clock that works by getting a 24V signal every second by reversing the polarity each time. The existing module that controlled the clock was damaged and I would try to solve it with Arduino. Please advise...
Thx
Hello everyone, please help. I have a clock that works by getting a 24V signal every second by reversing the polarity each time. The existing module that controlled the clock was damaged and I would try to solve it with Arduino. Please advise...
Thx
Google:
H Bridge
Use a DC Motor Driver that can handle 24V motors.
A basic Arduino is not great for time keeping so you will need some way to keep the time corrected. A DS3231 Real-Time Clock (RTC) module is one good and inexpensive choice. You could also use a GPS module, if you can put it next to a window. You could use a network time server if your Arduino has an Internet connection.
I'm not sure I explained it well. The clock is mechanical and does not lose its position due to loss of voltage. The analog hands are moved by a primitive rotor which, when it receives a 24v pulse, rotates one circle, but the next pulse must be of reverse polarity. it has 60 teeth to make a full circle, which means that one pulse should happen every second.
In short, I have to send 24V to two pins every second and change the polarity every time
That's a common type of clock, often used on train stations etc in numbers. The main unit, sending the pulse, was called "the mother" by the people there.
Could You make a little schematics of the oncoming build? Is there only a 2 wire connection?
The clock has only two wires, they are connected to the stator, and inside there is a primitive rotor made of solid metal that makes only one circle per pulse, and through the gear it is only one tooth (one second). For some reason when the next pulse is sent it has to be of reverse polarity and then the rotor turns again and in the same direction. A very simple thing.
I did an experiment with a 24v DC power supply directly on those two wires via a switch to change the polarity, by switching the polarity every second the clock works accurately
I tried with the H bridge L298N module and also with two relays. With the H bridge everything is fine for me, I get a regular DC motor to turn it left and right every second alternately. But, the problem arises when I turn on 24V instead of 5V voltage. According to the wiring diagram, I connect the VC to the 24V power supply, the negative is common to the VCC 5V with the Arduino. I removed the jumper. The engine won't start and I get sparking as if there is a short circuit on the connectors when I try to connect the VC.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.