.96″ OLED display using Arduino UNO, I2C programming basics

This tutorial illustrates the basics of programming .96″ OLED display from Arduino by I2C interface. This program will give you an idea about the control and data bytes that should be sent to the OLED display.

#include <Wire.h#define SSD1306_DEACTIVATE_SCROLL 0x2E #define SSD1306_MEMORYMODE 0x20 ///< See datasheet #define SSD1306_COLUMNADDR 0x21 ///< See datasheet #define SSD1306_PAGEADDR 0x22 ///< See datasheet #define SSD1306_SETCONTRAST 0x81 ///< See datasheet #define SSD1306_CHARGEPUMP 0x8D ///< See datasheet #define SSD1306_SEGREMAP 0xA0 ///<
Read More
Single digit seven segment display module using 74LS47 IC


7-Segment displays are always interesting to electronic beginners. Various methods are there to interface 7-segment displays in circuits. 7-Segment displays are of two types.

  • Common anode 7-segment display
  • Common cathode 7-segment display

74LS47 is a BCD to 7-segment decoder/driver which can be used to interface common anode 7-segment displays in circuits. Here, we will see a module using 74LS47 by which we can make a 0-9 counter in few simple steps.

Pages:  1 2 3 4 5
Read More