Tips & Tricks: Number+

Now with counting capabilities!

The number+ module is a small 2 digit display that shows the strength of the signal flowing through your circuit and also works as a counter. Watch the following video to learn the ins and outs of the number+ module.

Number vs. Number+

The number+ bit is the same as the number bit with a few very cool features added. The Tips and Tricks from our older number module will fill you in on some tips and tricks for values mode and volts mode.

number_vs_numberplus_with_callouts

 

What the number+ adds to the mix is a counting feature. Here are the basics:

  • – Using the slide switch on the module it can be set to count up from 0 or down from 99.

  • – The number displayed on the module counts up (or down) every time the voltage coming into the module rises above 50%.

  • – The voltage leaving the module is proportionate to the number being displayed. So, if the counter reads 20, then the module will output 20% of the total voltage (20% of 5 volts is 1 volt).

  • – Anytime the signal voltage going into the reset bitsnap rises above 50%, the counter will reset to 0 or 99.

 

Automatic Reset:

Let’s say you would like to reset your counter every time it gets past 15. This would be a great time to use the threshold module:

counter_reset_threshold

 

In the circuit above, you would set your threshold to trigger every time the voltage rises above 14%. Now when the counter reaches 15, it will send 15% power to the threshold. This will trigger the threshold, which will send 100% power to the reset bitsnap, resetting the counter to 0.

 

Activating Your Circuit at Reset:

Now lets say you wanted to activate part of a circuit every time the counter reached 15. For example, you wanted to play a buzzer whenever someone scored 15 points. To do this you would modify the circuit above with a split, a timeout, and a buzzer.

threshold_timeout_buzzer

 

With the split, the threshold will reset the counter and sound the buzzer. We added a timeout because electricity is fast….very, very fast. When the threshold triggers the counter to reset, the counter goes back down to zero and so does the signal coming out of the threshold. That all happens so fast, the buzzer doesn’t even have a chance to make noise. The timeout extends the length of the signal going to the buzzer so it has time to make noise.

 

More Tips & Tricks

Tips & Tricks
Friday’s Tips & Tricks: The Buzzer

The buzzer’s function is simple, it makes noise whenever it’s connected to a power module. However, there is an art to...

Tips & Tricks
Tips & Tricks: Threshold

The threshold module turns an incoming variable voltage signal into an outgoing digital signal (on/off). In this post, we will sho...

Tips & Tricks
CodeKit Tips & Tricks

Get all the tips & tricks for your new Code Kit in one place