Things used in this project

Hardware components:
Esquilo%20top%20small
Esquilo Air
×1
12002 04
Breadboard (generic)
×1
5161AS 1 digit 7 segment LED display
×1
Mfr 25fbf52 221r sml
Resistor 221 ohm
×1
Male/Male Jumper Wires
It is nice to make them color coordinated. I used: 2 black, 1 red, 2 white, 2 blue, 1 orange, 1 green, 1 yellow
×10

Schematics

Esquilo & 5161AS wiring diagram
Esquilo Air & 5161AS 1 digit 7 segment LED wiring diagram
Imqebo5gqqiga11d2dsy
LCD_5161AS.nut
Library for 5161AS 1 digit 7 segment LED on the Esquilo Air.

Code

LCD_5161AS_demo.nutPlain text
Demonstration code of the 5161AS 1 digit 7 segment LED on the Esquilo Air.
//
// LED 5161AS demo
//
// 20161214 Leeland Heins
//
require("GPIO");

// Load the library.
dofile("sd:/LED_5161AS.nut");

// Instantiate our class.
local led = LED_5161AS();

// Turn on all LED segments
led.all_on();

delay(500);

// Turn off all LED segments
led.all_off();

delay(500);

local i;

// Display hex digits 0-f and blink decimal point between
for (i = 0; i < 16; i++) {
    led.digit(i);

    delay(500);

    led.blink_dp();

    delay(500);

    led.blink_dp();
    
    delay(500);
    
    led.blink_dp();
    
    delay(500);
    
    led.blink_dp();
}

delay(500);

led.all_off();
LCD_5161AS.nut
Library for the 5161AS 1 digit 7 segment LCD on the Esquilo Air.

Credits

27eae0443d051e9e246159707c1f2203
Leeland Heins

Hardware & Software H4x0r

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Esquilo Air & HC-SR04 Ultrasonic Sensor Tutorial
Easy
  • 122
  • 6

Protip

This is a very simple example setup to show how to hook an HC-SR04 Ultrasonic sensor up to an Esquilo Air.

Esquilo Grove Starter Kit Demos
Easy
  • 477
  • 9

Protip

This project includes a web-enabled demo for each module in the Grove Starter Kit for Arduino using the Esquilo Air.

Esquilo Air and 1602A LCD Tutorial
Easy
  • 105
  • 4

Protip

This is a very simple example setup to show how to hook a 1602A LCD panel up to an Esquilo Air.

Remote LCD
Easy
  • 766
  • 20

Full instructions

Remote LCD message display with RGB backlight using Esquilo, controlled by a NetIO mobile app.

You Forgot to Take Your Pill
Easy
  • 175
  • 2

Using an Esquilo and accelerometer attached to a pill box, alert me if my pill box didn't move during the time I am supposed to take it.

Esquilo Air & HC-SR04 + 1602 LCD Tutorial
Easy
  • 133
  • 0

Protip

This is a simple example setup to show how to hook an HC-SR04 Ultrasonic Sensor and an 1602A LCD panel up to an Esquilo Air.

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaFree StoreBlog