The number module displays information about the signal it’s receiving from your other modules. It features a two-digit, seven-segment LED display. In the “read” mode, the module displays information about the signal it’s receiving. In the “count” mode, the module counts up or down with each trigger. The counter can be reset by receiving a trigger at the reset bitSnap.™
This updated number module has 2 main modes and 2 settings under each mode. Use the 4-position switch to choose between the modes.
READ MODE: Read mode has two settings: values and volts. The number module reads the voltage on the input bitsnap, then calculates and displays either a value between 00-99 or a voltage between 0.0 - 5.0. The voltage on the output bitsnap is a filtered PWM value that equals the voltage on the input bitsnap.
COUNT MODE: Count mode has two settings: up (from 00-99) and down (from 99-00). A step to the next number happens on input low-to-high transitions. The voltage on the output bitsnap is a filtered PWM value that is proportional to the number on display. For example, if the displayed number is 50 then the output voltage is 50% of 5V, or 2.5V. The RESET bitsnap can be used in this mode to reset the number on display. In the "up" setting, the display resets to "00". In the "down" setting, the display resets to "99". The RESET bitsnap resets the number on low-to-high transitions.
Under the Hood
An Atmega168 is used to constantly read the signal from the switch and determine which mode the module is in. It also reads the buffered signal from the input bitsnap, and sends a PWM signal through a Sallen key filter to the output bitsnap. In "read" mode, the signal from the input bitsnap is passed from the ADC pin to the PWM output. In "count" mode, a step to a new number is triggered on a low-to-high pin-change interrupt on the ADC pin. A PWM lookup table is used to output the corresponding PWM value. The reset is also triggered on a low-to-high transition. The Atmega168 also controls the seven-segment LED display to display the correct value.
Check out littleBits Tips and Tricks for more info!
This product is listed in:
Documentation and Resources:
- The Maker Revolution
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - the transition from a consumer buying goods to eventually having a major part in their creation. The Maker Revolution places strong emphasis on free (...
- What is the better tech, innoBits or littleBits?
We get a lot of interest from parents and educators surrounding littleBits and innobits. Especially the difference between the two products. Both are magnetically connected electronic building blocks. Both products empower people to invent and create...
- The One Wand to rule them all!
Wands are cool, right? That's what Trinity, Adele, and April were thinking of our recent littleBits Workshop, down at the Core Electronics Knowledge Factory. Their inspiration for this project came straight from the films, in particular, the magic wands that Harry and co use throughout the Saga. They went a bit above a typical wand though, using a pressure sensor alongside a fan, buzzer, and bar graph to make their wand light up...
- littleBits Death Eater Skull!
Remote Controls are magical enough to recreate this awesome Death Eater Skull. You can switch it on from across the room and make it glow an evil green! Jake and Nathan built this invention at a littleBits Workshop down at the Core Electronics Knowledge Factory. At first, they tweaked an RGB LED Bit to be the perfect green and after some additions and problem solving they ended up with this remotely controlled Skull lamp. Just a...
We deliver Australia-wide with these options:
- $3 for Small Items (4-6 days, not tracked, only available on selected small items)
- $6.95 for Standard Post (2-4 days, tracked)
- $8.32 for Express Post (1-2 days, tracked)
- Pickup - Free! Only available to customers who live in the Newcastle region (only after we email you to notify your order is ready)
International Orders - the following rates are for New Zealand and will vary for other countries:
- $11.49 for Pack and Track (3+ days, tracked)
- $16.50 for Express International (2-5 days, tracked)
If you order lots of gear, the postage amount might increment based on the weight of your order.
Our physical address:
Unit 18, 132 Garden Grove Parade
Please checkout our customer service page if you have other frequently asked questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.