Arduino and 7 segment LED display decoder

In this instructable i will explain how to connect 7 segment display, decoder and arduino. It´s pretty easy. At first we have to learn something about decoder. I´m using BCD to 7 segment decoder. My is D147D, this is old chip, but the newer are similar. Documentation about one of them you can find here . Description of D147D you can see on picture two. There are four pins for sending BCD code to the decoder (ABCD). Table of BCD code you can see on third picture. But there is small problem. I thing, that pins are inside of chip connected to VCC source. If you want set logic zero on input, you must connect this input to the ground. Continue reading Arduino and 7 segment LED display decoder

Using the 74xx47 BCD to Seven-segment display

The 74xx47 chip is used to drive 7 segment display. You must use the 74xx47 with a common anode 7-segment display (e.g. Kingbright part number SA03). The input to the 74xx47 is a binary number DCBA where D is 8s, C is 4s, B is 2s and A is 1s. The inputs DCBA often come from a binary counter.

The display is only sensible if the binary number is between DCBA=0000 (0) and DCBA=1001 (9); this is called Binary Coded Decimal or BCD for short. If the number is larger than 9 you get a strange output on the display. Try this out by moving your mouse over the truth table. Continue reading Using the 74xx47 BCD to Seven-segment display

The AVR Microcontroller Digital I/O Ports

Introduction to AVR Digital Input/Output


Atmel AVR 8-bits microcontrollers provide pins to take in/output information form/to the outside world in the form of logic values. These pins are usually organised in groups of eight (8) and referred to as a port. The AVR use the alphabet to name these port, example PortA, PortB, etc. The figure below shows the pins of an AVR 8-bit microcontroller which has four (4) digital I/O ports: PortA, PortB, PortC and PortD. The pins of PortA are: PA0 – PA7

Continue reading The AVR Microcontroller Digital I/O Ports

100 LED 10 band Audio Spectrum atmega32 MSGEQ7 with peak hold and fall down

 

 MSGEQ7 and atmega32  based  Audio Spectrum.
10 level height and 10 band width.
peak hold and fall down display style

Step 1: Components list

      components list
————————————-
1, atmega32 – 1
2, MSGEQ7 Audio spectrum ic -1
3, veroboard – 1
4, RED  Bar graph  LED  -10
5, 20 pin ic base –   10
6, BC557 -10
7,Resistors – 330Ω  -10
–  8.2KΩ  -1
–  200kΩ  -1
– 22k Ω    -2
– 10k Ω    -1
8, ULN2803     ic    – 2
9, 7805   5V regulator ic -1
10, crystal – 16Mhz -1
11,Capacitors-   22pf-3,  0.01uF -1, 0.1uF  – 2
12, single-strand wire Continue reading 100 LED 10 band Audio Spectrum atmega32 MSGEQ7 with peak hold and fall down

How to use MQ2 Gas Sensor – Arduino Tutorial

The MQ series of gas sensors use a small heater inside with an electro-chemical sensor. They are sensitive for a range of gasses and are used indoors at room temperature. The output is an analog signal and can be read with an analog input of the Arduino.

The MQ-2 Gas Sensor module is useful for gas leakage detecting in home and industry. It can detect LPG, i-butane, propane, methane ,alcohol, hydrogen and smoke.

Some modules have a built-in variable resistor to adjust the sensitivity of the sensor. Continue reading How to use MQ2 Gas Sensor – Arduino Tutorial

Convert an ATX Power Supply Into a Regular DC Power Supply

A DC power supply can be hard to find and expensive. With features that are more or less hit or miss for what you need.

In this Instructable, I will show you how to convert a computer power supply into a regular DC power supply with 12, 5 and 3.3 volt outputs. For about $10!

Why use a computer (ATX) power supply? Well, they’re available everywhere, and they can output tremendous amounts of power in a small form factor. They have overload protection built right in, and even a 500W model can be reasonably priced with high efficiency. The voltage rails are incredibly stable. Giving nice, clean DC current even at high loads.

Plus, it’s likely that many of you simply have an extra one lying around doing nothing. Might as well get the most value for your investment. Continue reading Convert an ATX Power Supply Into a Regular DC Power Supply