.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
7-digit seven segment display module using Arduino UNO through 32-bit serial-in parallel-out shift register module

Upload the following program to Arduino board

//Pin connected to ST_CP (12) of 74HC595 int latchPin = 12; //Pin connected to SH_CP (11) of 74HC595 int clockPin = 11; ////Pin connected to DS (14) of 74HC595 int dataPin = 10; int numDigitArray[7] = {0, 0, 0, 0, 0, 0, 0}; int dotPointArray[7] = {0, 0, 0, 0, 0, 0, 0}; void displayValueAndDigit(byte value,
Read More
7-digit seven segment display module using Arduino UNO
#define D0 9 // A terminal of seven segment display module #define D1 10 // B terminal of seven segment display module #define D2 11 // C terminal of seven segment display module #define D3 12 // D terminal of seven segment display module #define LE1 2 #define LE2 3 #define LE3 4 #define LE4 5 #define LE5 6 #define LE6 7 #define LE7 8 // the setup function runs once when you press reset or power the board void setup() { // initialize digital pins as output.
Read More
Part 4 of : 7-digit seven segment display using ESP-12F IOT module through 32-bit serial-in parallel-out shift register module

Modules required

Reference blogs

ESP-12F IOT module programmer circuit and explanation : https://haberocean.com/2019/05/esp-12f-iot-module-programmer-circuit/

32-bit serial-in parallel-out shift register module using ESP-12F IOT module : https://haberocean.com/2019/05/32-bit-shift-register-module-using-esp-12f-iot-module/

Control the outputs of ESP-12F IOT module from android app : https://haberocean.com/2019/06/part-3-of-control-the-outputs-of-esp-12f-iot-module-from-an-android-app/

Video demonstration

Upload the following program to your ESP-12F IOT module.

Read More
Part 3 of 3 : 7-Digit seven segment display  module from Arduino UNO through 32-bit shift register module

7-digit seven segment display module can be controlled from three digital pins of Arduino UNO through shift register module. Circuit is done as shown in the image. Seven segment display module and shift register module should be powered from an external power supply.

Purchase 7-digit seven segment display module from https://haberocean.com/product/7-digit-seven-segment-display-module-with-negative-symbol/

Purchase shift register module from https://haberocean.com/product/shift-register-module-using-74hc595/

Upload the following program to your Arduino UNO.

Read More
Single digit seven segment display module using 74LS47 IC

Introduction

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
X