NUTS AND VOLTS

Posted in: Nuts and Volts

The Counting Box

The initial concept was simple: a seven segment LED display so it could be read in the dark,  a rotary switch in the middle to choose the value to operate with, and big buttons for adding and subtracting.  Green makes the number get larger and red makes the number get smaller.

The electronics were first, since the size of the case would depend on the size of the finished electronics. I ordered these 4-digit seven-segment displays and this 10-position rotary switch from Mouser, and these video game buttons from Sparkfun. It would all be driven by a standalone ATMega 328 on a perfboard. The picture below shows the finished circuit right before I mounted it into the box.



The display is driven by a MAX7219 chip, which can drive 64 LEDs or 8 seven-segment digits with only 3 output pins on the ATMega. Interfacing with this was easy, with the only difficulty coming from keeping track of which wire was which when linking to the LEDs. Counting up to 99,999,999 might take a while, but it’s good to have goals, right?





[Source] HahaBird- The Counting Box


Comments

  • submit question
  • reader feedback
  • submit ideas

Projects:

  • CubeSats — Part 3: Attitude and Velocity

    Learn about some “toys” that help CubeSats control their own attitude and velocity. Read More...

  • 3D Custom Storage Boxes

    Get your electronics über organized with specially designed storage drawers. Read More...

  • The RN4020 PICtail Plus BLE.

    Bluetooth 4.0 is becoming the de facto standard when it comes to embedded device monitoring and control from iPhones and Android devices. Microchip’s BLE radio module is called the RN4020. Unlike many of the other BLE offerings, the RN4020 Bluetooth Low Energy radio module comes backed with a full load of example code and hardware development tools. This month, we’ll get started on the BLE path with Microchip’s RN4020 PICtail, a terminal emulator, and a laptop. Read More...

  • Can We Talk? Again?

    This month’s project goes through setting up a simple command language for controlling the Propeller through a serial interface. Read More...

  • Reader Questions Answered Here (04.2015)

    Making a smart house smarter, a telephone off-hook alarm, and radio tuning are question topics this time. Read More...