15 LED’s Arduino Bar-graph Display and AD22151 Magnetic Field Sensor

My experiment with AD22151 Magnetic field sensor and 15LED’s Arduino Bar-graph display, the project shows how to read an analog input on analog pin A1, and print it out to 15 Bar-Graph LED’s. Bar-Graph board is Arduino compatible and hold ATmega328 chip on board, 15 LED’s with 330 Ohms series resistors. Supply 5V DC.  


  1. Download Arduino Code
  2. Download AD22151 Data Sheet
  3. Mode Details and Schematic Of AD22151 Module
  4. Watch Video of this Project
  5. Watch Video Serial Prints AD22151

Arduino Pins

LED 1-15>> DO, D1, D2, D3, D4, D5, D7, D8, D9, D10, D11, D12, D13, A0

AD22151 Output >> Analog Pin A1