Author Topic: My clock project  (Read 250 times)

Online Greybeard

  • Jack of all trades; master of none.
  • Wise & Enlightened
  • *
  • Join Date: Feb 2011
  • Posts: 6505
  • Karma: 36
My clock project
« on: 19.11. 2020 18:31 »
I've been getting into Arduino micro-controllers. If you've heard of Raspberry Pi, the Arduino is similar.
We were given an old American style wall clock. The original mech had been butchered and what was left working was not very reliable. I decided to try to get an Arduino to play sound samples to simulate the sounds that the clock should make. Additionally I've managed to get the pendulum working.
I've put some notes on YouTube.
https://youtu.be/sCSyK_EylQo

Offline Alex kettle

  • A's Best Friend
  • ***
  • Join Date: Sep 2013
  • Posts: 51
  • Karma: 0
  • 1960 bsa a10
Re: My clock project
« Reply #1 on: 19.11. 2020 19:21 »
I’d say top marks greybeard. That’s a good effort. 👍🏻

Online metalflake11

  • Resident Legend
  • *****
  • Join Date: Aug 2012
  • Posts: 671
  • Karma: 9
Re: My clock project
« Reply #2 on: 19.11. 2020 20:04 »
Clever clogs!  *smile*
England N.W
1960 A10
England

Online RichardL

  • Outside Chicago, IL
  • Wise & Enlightened
  • *
  • Join Date: Nov 2007
  • Posts: 5268
  • Karma: 50
Re: My clock project
« Reply #3 on: 20.11. 2020 00:47 »
What makes that an American style clock. I think the term is "Regulator," but may be wrong.

Richard L.
Plan on signing up for the world-wide 2020 DISTINGUISHED GENTLEMAN'S RIDEon September 27, 2020. This year it's a solo or pillion ride in dapper attire. Watch website at https://www.gentlemansride.com for details.


Online metalflake11

  • Resident Legend
  • *****
  • Join Date: Aug 2012
  • Posts: 671
  • Karma: 9
Re: My clock project
« Reply #4 on: 20.11. 2020 04:48 »
I get it chiming when the big hand passes 12, but how does it know how many times it should chime?

Have you programmed it to chime once more each time it passes, and then reset at 12 or something?
England N.W
1960 A10
England

Online Greybeard

  • Jack of all trades; master of none.
  • Wise & Enlightened
  • *
  • Join Date: Feb 2011
  • Posts: 6505
  • Karma: 36
Re: My clock project
« Reply #5 on: 20.11. 2020 08:52 »
I get it chiming when the big hand passes 12, but how does it know how many times it should chime?

Have you programmed it to chime once more each time it passes, and then reset at 12 or something?
Exactly that.
There is a counter that gets incremented each time the minute hand reaches the top. It gets reset at 12.
There also needed to be a 24 hour counter because I programmed a quiet period for night, so between 21:00 and 08:00 the volume is reduced. That counter is also incremented at the 12 position of the minute hand.

These mini micro-controllers are great fun, they make these sort of projects possible for amateur makers like me.

I needed to learn a bit of the programming language C++.

Online Greybeard

  • Jack of all trades; master of none.
  • Wise & Enlightened
  • *
  • Join Date: Feb 2011
  • Posts: 6505
  • Karma: 36
Re: My clock project
« Reply #6 on: 20.11. 2020 08:55 »
What makes that an American style clock. I think the term is "Regulator," but may be wrong.
A wall mounted clock in a case is known as an American clock here.

Online bsa-bill

  • Wise & Enlightened
  • *
  • Join Date: Mar 2006
  • Posts: 5565
  • Karma: 65
Re: My clock project
« Reply #7 on: 20.11. 2020 09:44 »
Quote
A wall mounted clock in a case is known as an American clock here.

 in that case, I've got one, also a Grandmother clock in many pieces, I also have plans for both of them but dare not say for how long the plans have been plans -  sometime in a future lockdown maybe
All the best - Bill
1961 Flash - stock, reliable, steady, fantastic for shopping
1959 Rocket Gold Flash - blinged and tarted up  would have seizure if taken to  Tesco

Online Greybeard

  • Jack of all trades; master of none.
  • Wise & Enlightened
  • *
  • Join Date: Feb 2011
  • Posts: 6505
  • Karma: 36
Re: My clock project
« Reply #8 on: 20.11. 2020 10:48 »
We are a bit clock mad here.
Picture 2 shows a Gledhill Brook clocking-in machine that I got from Freecycle. I got that working with an Arduino controlling a model aircraft servo.


Online Greybeard

  • Jack of all trades; master of none.
  • Wise & Enlightened
  • *
  • Join Date: Feb 2011
  • Posts: 6505
  • Karma: 36
Re: My clock project
« Reply #9 on: 20.11. 2020 10:58 »
The longcase clock mech is probably 300 years old, although the case is later. The clock was made with only an hour hand, in a time when minutes were not so important as now.

Online bsa-bill

  • Wise & Enlightened
  • *
  • Join Date: Mar 2006
  • Posts: 5565
  • Karma: 65
Re: My clock project
« Reply #10 on: 20.11. 2020 11:54 »
my grandparents had a grandfather clock, it always struck me it looked odd as it was black, my dad told me that some of the men in his family ( 5 boys 3 girls) had decided to fix the clock for some reason and the cogs were made of wood and black was the paint they had so black it was, I can remember it chiming but as to accuracy I don't know

my wall clock is very similar to picture 4

Nice collection though
All the best - Bill
1961 Flash - stock, reliable, steady, fantastic for shopping
1959 Rocket Gold Flash - blinged and tarted up  would have seizure if taken to  Tesco