Making a counter using CD40110BE with my son for a school project

Thread Starter

Kitman

Joined Aug 21, 2023
2
Hey all, So for my son's school project he is making a board game, as part of the board game he wants to have a digital counter built into the board so that you can keep track of the player's health.
Being a bit of an amateur with electronics I looked for a simple kit that we could build together to perform this function, however, all of the counters I could find in kit form count up only and don't count down (we need to count down if the player loses health). As such I searched and I found a lot of people using the CD40110BE counter IC's to perform this function. Most of them show using a single 7-segment display so counting 0-9 and then a few more showing 00-99 so I have adapted those as we need to count from 000 to 999.
I have all of the circuit laid out in Proteus and clicking the plus makes it go up and the minus makes it go down and the reset makes it reset, so pretty confident I have got it sorted. The issue is that sometimes the player can take 20 damage or more which means pressing the down button 20 times and then pressing the up 20 times when they heal up, so I was hoping to be able to clock the 10's with a push button while still keeping the cascading function. I just can't seem to make it work.

From what I read the Carry and Borrow lines are pulled high on the proceeding IC and when they go past 9 they are pulled low, as such the Clkup and Clkdn are always pulled high but I need to somehow pull them low to manually set them but still want to have the IC's cascade across all 3.

I did find a discussion about someone making a cricket scoreboard and they showed a little circuit that should do the job, but this didn't seem to work in Proteus, so I am not sure if that is just Proteus not working or I got something wrong.

I have attached a screenshot of my Schematic design from Proteus in the hope someone a bit smarter than me can assist. My old boss was my go to for this, sadly he passed away and I am no good at communicating with the afterlife so to the internet.

Thanks all in advance for any assistance
 

Attachments

MrChips

Joined Oct 2, 2009
29,809
Welcome to AAC!

I cannot see anything wrong with your circuit. The next step would be to acquire the required components and breadboard the circuit.
 

dl324

Joined Mar 30, 2015
16,113
Welcome to AAC!
I have attached a screenshot of my Schematic design from Proteus in the hope someone a bit smarter than me can assist.
It isn't clear from the description in the datasheet that the inputs can be clocked with switches that haven't been debounced.

CD40110B-desc.jpg
Other than that, it looks like it should work.

Thank you for a reasonably drawn schematic and turning off that hideous Proteus grid. If you print to black and white PDF, you can post a more "professional" looking schematic (us old timers always used monochromatic schematics).

For counter circuits, I prefer to violate conventions and draw the schematic so the display can be read more naturally. This is a mod60 counter:
1692715484284.png
 

sarahMCML

Joined May 11, 2019
314
Hey all, So for my son's school project he is making a board game, as part of the board game he wants to have a digital counter built into the board so that you can keep track of the player's health.
Being a bit of an amateur with electronics I looked for a simple kit that we could build together to perform this function, however, all of the counters I could find in kit form count up only and don't count down (we need to count down if the player loses health). As such I searched and I found a lot of people using the CD40110BE counter IC's to perform this function. Most of them show using a single 7-segment display so counting 0-9 and then a few more showing 00-99 so I have adapted those as we need to count from 000 to 999.
I have all of the circuit laid out in Proteus and clicking the plus makes it go up and the minus makes it go down and the reset makes it reset, so pretty confident I have got it sorted. The issue is that sometimes the player can take 20 damage or more which means pressing the down button 20 times and then pressing the up 20 times when they heal up, so I was hoping to be able to clock the 10's with a push button while still keeping the cascading function. I just can't seem to make it work.

From what I read the Carry and Borrow lines are pulled high on the proceeding IC and when they go past 9 they are pulled low, as such the Clkup and Clkdn are always pulled high but I need to somehow pull them low to manually set them but still want to have the IC's cascade across all 3.

I did find a discussion about someone making a cricket scoreboard and they showed a little circuit that should do the job, but this didn't seem to work in Proteus, so I am not sure if that is just Proteus not working or I got something wrong.

I have attached a screenshot of my Schematic design from Proteus in the hope someone a bit smarter than me can assist. My old boss was my go to for this, sadly he passed away and I am no good at communicating with the afterlife so to the internet.

Thanks all in advance for any assistance
The simplest way I can think of to add some extra switches is to place a resistor (about 1k should do), from the output of each Carry and Borrow to the corresponding following Clkup and Clkdn inputs, and put a switch from there to 0 Volts. That should allow you to advance or reduce the count, but you may get switch bounce problems with such a simple setup!
 

Thread Starter

Kitman

Joined Aug 21, 2023
2
Hey all, thanks for the input. I ordered all of my bits and assembled and it's mostly working as I would have hoped. I added a switch debounce for the count up and count down by adding a cap which has worked but can't seem to figure out how to add a debounce for the count up and down on the 10's and 100's I think I would have to add something like a schmitt trigger and run the carry and borrow through it along with the switches but that is getting a bit complicated for this simple project. I think a little switch bounce is OK since it's likely going to get used once and then recycled.

Thanks again all.
 
Top