Over Current Alarm with 15 Segment Bar-Graph Display

  • Rajkumar Sharma
  • 29 Views
  • moderate
  • Tested
  • SKU: EL148238
  • Quote Now

This Bar-Graph Display provides a high visibility 15-Segment Bar-Graph display for current measurements. A buzzer provides audible sound when an over-current condition event occurs. The 15 segments are made with Red, Blue, Green, and yellow color LEDS. All LEDs are SMD size 1206. This tiny board can display 0 to 2A current and provide an Alarm sound when the current level goes more than 2A. The project is Arduino-compatible and is based on an ATMEGA328 chip. INA198 chip measures the load current across the shunt resistor and provides an output voltage to ADC of ATMEGA328. The microcontroller drives and controls the 15 LEDs connected to I/O lines.

The project is Arduino-compatible. Connectors CN2 and CN3 are provided for Arduino programming and boot-loader. An example Arduino code is available as a download. Users may modify and write their code. Refer to the diagrams below for Bootloader and Arduino programming connection. Each LED display consumes approx. 125mA current and the ADC Map values to 15Leds + Buzzer.

Note: Arduino code is written to measure 2A current. The project can support a higher or lower current range, by changing the value of the shunt resistor. A higher or lower current range can be achieved. Please read the datasheet of INA198 for more info.

Features

  • Power 5V DC
  • 15 Bar-Graph LEDs (Red. Green, Blue, Yellow Colour)
  • Buzzer for Over Current
  • INA198 Current to Voltage Converter Chip
  • Arduino Compatible Project
  • Header Connector for Current Measurement
  • Header Connector for Arduino Programming and Bootloader
  • PCB Dimensions 59.37 x 19.84mm

Connections

  • CN1: Pin 1 = GND, Pin 2 = +OP to Load, Pin 3 = +In, Pin 4 = GND
  • CN2: Pin 1 = TX, Pin 2 = TX, Pin 3 = Reset, Pin 4 = GND, (Programming Connector)
  • CN3: Pin 1 = VCC 5V, Pin 2 = D11, Pin 3 = D12, Pin 4 = D13 (Programming Connector)
  • Arduino Pins: Buzzer A5, Analog Current Sense Input = A0
  • Bar-Graph LED Vs Arduino Pins: LED 1 = D3, LED 2 = D5, LED 3 = D4, LED 4 = D6, LED 5 = D7, LED 6 = D8, LED 7 = D9, LED 8 = D10, LED 9 = D11, LED 10 = D12, LED 11 = D13, LED 12 = A1, LED 13 = A2, LED 14, A3, LED 15 = D2

Arduino Programming

 

Schematic

Parts List

NOQNTYREF.DESC.MANUFACTURERSUPPLIERSUPPLIER PART NO
11BZ15V BUZZER 10MMCUI AUDIODIGIKEY102-1155-ND
23CN1,CN2,CN34 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5317-ND
33C1,C4,C50.1uF/50V CERAMIC SMDYAGEO/MURATADIGIKEY
41C210uF/16V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
52C3,R18DNP
62C6,C722PF/50V CERAMIC SMD SIZE 0805YAGEO/MURATADIGIKEY
711D1 to D11LED-GREEN SMD SIZE 1206WURTHDIGIKEY732-4993-1-ND
81D12BLUE-LED SMD SIZE 1206WURTHDIGIKEY732-4989-1-ND
91D13YELLOW-LED SMD SIZE 1206LITE ON INCDIGIKEY160-1406-1-ND
102D14,D15RED-LED SMD SIZE 1206WURTHDIGIKEY732-4991-1-ND
111Q1BC847AL SOT23-3ONSEMIDIGIKEYBC847CLT3GOSCT-ND
121R1100E 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
1315R2,R6,R7,R9,R10,R11, R13 to R22470E 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
141R30.01E 1% 2W SMD SIZE 2512YAGEO/MURATADIGIKEY
152R4,R510K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
161R80E SMD SIZE 0805YAGEO/MURATADIGIKEY
171R122.2K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
181U1INA198 SOT23-5TIDIGIKEY296-38950-1-ND
191U2ATMEGA328TQPF-32MICROCHIPDIGIKEYATMEGA328P-AURCT-ND
201X116MhzECS INC.DIGIKEY16MHZ CRYSTAL

Connections

Gerber View

Photos

Video

INA198 Datasheet

Please follow and like us:
Pin Share

PCB

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies