10 LED Bar-Graph Display- 10 Segment Bar-Graph Voltmeter Arduino Nano

Turns on a series of 10 Segments of LEDs based on the value of an analog sensor. This is a simple way to make a bar graph display. This method can be used to control any series of digital outputs that depends on an analog input. Trimmer Potentiometer and Analog joystick used to test the code.

 

  • 10 3MM LEDs
  • 470 E Series Resistor to limit the current to LED
  • 5K Ohms Trimmer Potentiometer/10K Joystick used to test the code

DOWNLOAD SCHEMATIC

Video Available Here

 

 

 

 

 

 

Arduino Code 10 LED Bar-Graph Display / Bar-Graph 5 Voltmeter 


/*
LED bar graph

Turns on a series of LEDs based on the value of an analog sensor.
This is a simple way to make a bar graph display. Though this graph uses 10
LEDs, you can use any number by changing the LED count and the pins in the
array.

This method can be used to control any series of digital outputs that depends
on an analog input.

The circuit:
– LEDs from pins D2 through D11 to ground
-Trimmer Potentiometer 5K on A0

*/

// these constants won’t change:
const int analogPin = A0; // the pin that the potentiometer is attached to
const int ledCount = 10; // the number of LEDs in the bar graph

int ledPins[] = {
2, 3, 4, 5, 6, 7, 8, 9, 10, 11
}; // an array of pin numbers to which LEDs are attached

void setup() {
// loop over the pin array and set them all to output:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
pinMode(ledPins[thisLed], OUTPUT);
}
}

void loop() {
// read the potentiometer:
int sensorReading = analogRead(analogPin);
// map the result to a range from 0 to the number of LEDs:
int ledLevel = map(sensorReading, 0, 1023, 0, ledCount);

// loop over the LED array:
for (int thisLed = 0; thisLed < ledCount; thisLed++) {
// if the array element’s index is less than ledLevel,
// turn the pin for this element on:
if (thisLed < ledLevel) {
digitalWrite(ledPins[thisLed], HIGH);
}
// turn off all pins higher than the ledLevel:
else {
digitalWrite(ledPins[thisLed], LOW);
}
}
}


 

 

4 Channels Optically Isolated I/O Board Using 6N137 Optocoupler

4 Channel Opto isolated board has been designed around 6N137 Opto-coupler, the 6N137 optocoupler is designed for use in high-speed digital interfacing applications that require high-voltage isolation between the input and output. Applications include line receivers, microprocessors or computer interface, digital programming of floating power supplies, motors, and other control systems.

The 6N137 high-speed optocoupler consists of a GaAsP light-emitting diode and an integrated light detector composed of a photodiode, a high-gain amplifier, and a Schottky-clamped open-collector output transistor. An input diode forward current of 5 milliamperes will switch the output transistor low, providing an on-state drive current of 13 milliamperes (eight 1.6-milliampere TTL loads).

Note : For 3.3 Input Signal R1, R4, R7, R10 = 220E

Features

  • Supply 5V DC
  • Input Signal : 5V DC TTL
  • Header Connectors for Inputs & Outputs
  • D1 Power LED

 

 

 

 

40Pin/28Pin dS PIC Development/Evaluation Board

The ds PIC Development Board is a development and evaluation tool that helps create embedded applications using dsPIC30F Digital Signal Controllers for motor control family. Sockets are provided for 28 and 40-pin devices in the motor control family.

The dsPIC Development has been designed mainly for Motor dsPIC30F4011 Digital Signal Controller in the 40-pin motor control socket and dsPIC30F4012 28 Pin digital signal controller, the board can also be used with other ds PIC ICs. Board provided with 3.3V and 5V regulator, crystal oscillators, a programming   connector. In addition, the board is populated with dual header connector for all I/O ,reverse supply protection diode, onboard 3.3V & 5V LED , Screw terminal for supply input, push button switch for reset, 6 pin header connector for programming, serial communication  header connector, jumpers for multi serial communication option , electrolytic capacitor for filters. Optional provision for LM317T  TO220 Regulator for 3.3V and 5V and Jumper for 3.3V or 5V power supply selection to power up the dsPIC.

  • Dual sockets for  28 and 40-pin PDIP  devices
  • On Board Reverse Supply Input Socket
  • Supply Input 7V to 15V ( LM7805 & LM1117-3.3V) Regulators
  • Optional Supply Input 7V to 36V DC If Populate LM317T TO220 IC
  • Sample application programs and project files available from microchip
  • website  for supported dsPIC30F devices
  • dsPIC30F4011 40-pin PDIP and dsPIC30F4012 28-pin PDIP
  • On Board Dual 5V & 3.3V regulator provided to full fill low and
  • TTL supply requirement.
  • On Board programming Header Connector
  • On Board 3.3V & 5V Power LED
  • Jumper to select 3.3V or 5V going to dsPIC
  • Jumper for 2 UART Port or CAN selection
  • Controller Area Network (CAN) interface
  • 1 push button for Reset
  • Access to all pins on the dsPIC30F device sockets via Dual  headers

 

 

 

 

 

 

 

 

 

2 Channel Relay Shield for Arduino UNO Circuit and PCB layout

2 Channel Relay Shield for Arduino UNO Circuit and PCB layout

2 Channel Relay shield for Arduino UNO can be used in several applications like remote control, on/off AC or Dc load and any circuits which required isolated high current and high voltage. Relay 1 connected to Digital pin D2 and Relay 2 can be controlled through D12 of Arduino PIN. Both relay has optocoupler in input for isolation which protect Arduino from any EMI noise and complete isolation between high volt/current at relay outputs.  Relay shield required separate 12V DC. Two LED indicate the Relay operations. J1,J2 provided In case single supply for relay and Arduino required.

  • Input: 12 VDC @ 84 mA
  • D2 and D12 Arduino connected to Relay inputs
  • Solder PCB Jumper J1 and J2 if Shield and Arduino need common supply
  • High TTL Signal Required to Trigger the Relay
  • Output: Two SPDT relay
  • Relay specification: 5 A @ 230 VAC
  • Trigger level : 2 to 12 VDC
  • Header connector for connecting power and trigger voltage
  • LED on each channel indicates relay status
  • Power Battery Terminal (PBT) for easy relay output connection

 

 

 

 

 

17 Channel Optically Isolated I/O Shield for Arduino Uno Using LOC111, PC817,6N137 Opto-couplers

17 Channel Optically Isolated I/O Shield for Arduino Uno

The shield enables you to  interface many things to Arduino Uno , all I/O are optically isolated, The shield consist  8 Channel low speed outputs which can be used for on/off applications. 3 Channel high speed outputs frequency up to 10 MHz using 6N137. 4 Channel slow inputs using PC817 opto-coupler. One high speed input frequency up to 10 MHz using 6N137, and one analog voltage input using LOC111 IC. Board provided with multi option isolated i/o line to integrate multiple sensors and other things.

Features

  • Supply 5V DC
  • 8 Low Speed Outputs for On/Off Slow Operations Using PC817
  • Slow Outputs Connected to Digital Pins D2,D3,D4,D5,D6,D7,D12,D13
  • 3 Channel High Speed Outputs Frequency Upto 10Mhz Using 6N137 Optocoupler
  • 3 High Speed Outputs Connected to PWM Pins D9,D10,D11
  • 4 Channel Low Speed Inputs Connected to Analog Pins A1,A2,A3,A4 (PC817)
  • 1 Channel High Speed Input Connected to Digital Pin D8 Frequency Up to 10Mhz
  • 1 Channel Analog Voltage Input 0 To 5V 

 

PDF Schematic

 

 

 

 

 

2.3 Inch Large Size 3 Digit 7 Segment SPI Display Schematic and PCB using 74HC595 and ULN2803

3 Digit 2.3 inch 7 segments SPI protocol Display module using 74HC595 project will display large size 7 segment 3 digit numbers. 2.3 Inch height, which can be visible over large distance.  More digit can be connected serially to each other easily trough connector.

This circuit is a 3 digit seven segment big display using 74HC595 shift register for easy control by micro-controller. useful circuit to make Timer, stop watch, Score Board, Token No, Vehicle counter at parking and many other applications.

Features

  • Supply 12V DC For Display
  • Supply 5V For logic 75HC595
  • Inputs data TTL signals

 

 

 

DOWNLOAD PDF PCB LAYOUT

DOWNLOAD PDF SCHEMATIC

 

 

 

 

 

6 Digit 7 Segment 1Inch SPI (Serial) Display Using Cat4016 IC with Current Control

6 digit spi display using 1 inch 7 segment display and CAT4016 ic (2)

6 Digit serial display project has been designed around CAT4016 IC from ON semi.  The CAT4016 is a 16 channel constant current driver for LED billboard and other general display applications. LED channel currents are programmed together via an external RSET resistor. Low output voltage operation on the LED channels as low as 0.4 V (for 2 to 100 mA LED current) allows for more power efficient designs.

A high-speed 4-wire serial interface of up to 25 MHz clock frequency controls each individual channel using a shift register and latch configuration. A serial output data pin (SOUT) allows multiple devices to be cascaded and programmed via one serial interface. The device also includes a blanking control pin (BLANK) that can be used to disable all channels independently of the interface.

Thermal shutdown protection is incorporated in the device to disable the LED outputs if the die temperature exceeds a set limit.

DOC

Features

  • 6 Digit 1 inch 7Segment Display
  • Supply Input 3V to 5.5V
  • Serial interface up to 25 MHz clock frequency
  • LED current 20mA (Range from 2 mA to 100)
  • LED current set by external RSET resistor
  • 300 mV LED dropout at 30 mA
  • Thermal shutdown protection
  • R1,R2,R3 Current Set Resistors

 

LED Current Set Formula

  • LED Current = 50X1.2/Rset ,
  • Rset = R1, R2, R3

 

CN1 : Connector

  • PIN1 : 3V TO 5.5V (VCC)
  • PIN2 : SIN (DI) Serial Data Input
  • PIN3 : CLK (CL) Serial Clock Input
  • PIN4 : Latch (LT) Latch Data Input
  • PIN5 : Blank (BK) LED Channel enable disable input
  • PIN6 : GND

 

CN2 : Serial Data Output

  • PIN1 : 3V TO 5.5V (VCC)
  • PIN2 : Sout (Do) Serial Data output
  • PIN3 : CLK (CL) Serial Clock output
  • PIN4 : Latch (LT) Latch Data output
  • PIN5 : Blank (BK) LED Channel enable disable
  • PIN6 : GND

 

 

6 digit spi display using 1 inch 7 segment display and CAT4016 ic (1)

6 digit spi display using 1 inch 7 segment display and CAT4016 ic (3)

6 digit spi display using 1 inch 7 segment display and CAT4016 ic (2)

6 digit spi display using 1 inch 7 segment display and CAT4016 ic (1) 6 digit spi display using 1 inch 7 segment display and CAT4016 ic (3) 6 digit spi display using 1 inch 7 segment display and CAT4016 ic (2)

 

 

 

 

RTC( Real Time Clock) Module Using SMD Components and DS1307

RTC Module Using SMD Components DS1307 (2)

The module based on DS1307, The DS1307 serial real-time clock (RTC) is a low-power, full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. Address and data are transferred serially through an I²C, bidirectional bus. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with fewer than 31 days, including corrections for leap year. The clock operates in either the 24-hour or 12-hour format with AM/PM indicator. The DS1307 has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply. Timekeeping operation continues while the part operates from the backup supply.

DOC

Key Features

  • Supply 5V DC
  • Completely Manages All Timekeeping Functions
  • Real-Time Clock Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year Compensation Valid Up to 2100
  • 56-Byte, Battery-Backed, General-Purpose RAM with Unlimited Writes
  • Programmable Square-Wave Output Signal
  • Simple Serial Port Interfaces to Most Microcontrollers
  • I2C Serial Interface
  • Low Power Operation Extends Battery Backup Run Time
  • Consumes Less than 500nA in Battery-Backup Mode with Oscillator Running
  • Automatic Power-Fail Detect and Switch Circuitry

 

RTC Module Using SMD Components DS1307 (3) RTC Module Using SMD Components DS1307 (2) RTC Module Using SMD Components DS1307 (1) RTC Module Using SMD Components DS1307 (1) C089-500x500 RTC Module Using SMD Components DS1307 (2)

1 2 3 6