LCD category

Arduino Tutorial: Menu on a Nokia 5110 LCD Display Tutorial

In this easy Arduino Tutorial educ8s.tv is going to show us how to create a Menu on a Nokia 5110 LCD display.

This is the project we are going to build. In the display a simple menu appears, and with the help of three buttons I can navigate up, or down and select a menu item. Let’s select the first option. As you can see a new a UI screen is displayed and by pressing the up and down buttons we can change the contrast of the display. If we press the middle button again, we go back to the main UI screen. If we now select the second menu item and press the middle button we can turn the backlight of the display on or off. Lastly if we navigate to the last menu item we can reset the settings for the display to the default values. Of course this is just a demonstration project, you can modify it to build your own more complex menus if you wish. Let’s now see how to build this project.

Arduino Tutorial: Menu on a Nokia 5110 LCD Display Tutorial [Link]

How to Set Up and Program an LCD Display on an Arduino

circuitbasics.com writes:

In this tutorial, I’ll explain how to set up an LCD display on an Arduino, and show you all the functions available to program it (with examples). The display I’m using here is a 16×2 LCD display that I bought for under $10 on Amazon. LCDs are really useful in projects that output data, and they can make your project a lot more interesting and interactive.

How to Set Up and Program an LCD Display on an Arduino – [Link]

1K LCD Tinyfont

A tiny pixel font rendered to an LCD display, in under 1K program space. by Zach:

For the Hackaday 1k challenge, I’m attempting to pack a small pixel-based font and rendering to LCD in under 1K.

The project has already been developed in C, but the file size was much larger. This is rewrite in assembly.

Developed on an Atmega328p using a display from a Nokia 5110 on a Sparkfun dev board.

1K LCD Tinyfont – [Link]

Bitmap graphics on an Arduino Touch Screen and other top Arduino Displays

In this video tutorial educ8s.tv shows us how to load bitmap graphics in our Arduino Touch Screen projects using Adafruit’s GFX library.

The procedure that I am going to describe works with all the color displays that are supported by Adafruit’s GFX library and by the displays that use the TFTLCD library from Adafruit with a small modification. So from the displays I own I can use the color OLED display, the 1.8” ST7735 color TFT display, the 2.8” Color Touch Screen that I reviewed a few weeks ago and the 3.5” Color TFT display. You can find links for all the displays below.

Bitmap graphics on an Arduino Touch Screen and other top Arduino Displays [Link]

Choose The Best Display For Your Arduino Project

Have you ever been unsure which display you should be using in your next project? This tutorial from educ8s.tv will come in handy for choosing the best display for your each and every Arduino project!

There are lots of choices, so let’s talk about each one of them. Basically, you have three types of displays: LCD displays, OLED displays, and E-paper displays.

LCD displays: LCD (liquid crystal display) is the technology used for displays in notebook and other smaller computers. Like light-emitting diode (LED) and gas-plasma technologies, LCDs allow displays to be much thinner than cathode ray tube (CRT) technology. LCD display is a flat-panel display or other electronic visual display that uses the light-modulating properties of liquid crystals.

One of the famous LCD displays is Nokia 5110 LCD display, a basic graphic LCD screen for lots of applications. It was originally intended for as a cell phone screen.

6851997-danbo-wallpaper

Its controller is a low power CMOS LCD controller which makes it a good choice for low-consumption projects. It uses only 0.4mA when it is on and less than 0.06mA when in sleep mode. You have to use this library and you don’t need more than 8 wires to start using this display. This tutorial video will show you with details how to use Nokia 5110 LCD with Arduino:

A second choice is the OLED displays. OLED is an organic light emitting diode in which the emissive electroluminescent layer is a film of organic compound that emits light in response to an electric current. An OLED display works without a backlight; it can display deep black levels and can be thinner and lighter than a liquid crystal display. Thus, it is provides better contrast than the LCD choice but it becomes a bit more expensive.

color_oled

One of the newest OLED displays is the color SSD1331 display that can display 65.000 colors. Just download its library from Adafruit and start using it. A video explaining how to use it is available here.

The last type is E-paper displays, that mimic the appearance of ordinary ink on paper.

lg-paper

Unlike LCD or OLED displays, these displays reflect light instead of emitting it. Such displays are great for low power projects since they have the ability to keep the text or the image you had set before for a really long time and without electricity. One of these displays disadvantages that they are absolutely costly compared with other choices, some displays can reach $60!

Color TFT Display ST7735, White OLED Display SSD1306 and 3.5″ Color TFT Display are all mentioned in the tutorial. You should check it out for more details, information, and some hardware offers.

The tutorial concludes with this interactive table based on different criteria, this is ordered progressively by price. You can compare between displays here.

display

Dual Screen Netatmo Weather Station

Netatmo Weather Station is a module that measures your indoor comfort by providing vital information such as temperature, humidity, air quality, and CO2, alerting you when you need to air out your home to bring down its pollution levels.

fr8fd78ivcvqdh7-medium

One of the Netatmo limitations is that you need to use a smartphone to view the collected information by the station. To solve this, Barzok had developed an Arduino-based screen to display the weather data remotely, and published a full guide to build it in this instructable.

Barzok’s first attempt was a stand-alone device inside weather station using an Arduino UNO, a real time clock, a temperature and pressure sensor, and a 2.8” screen. It displays the time, pressure history over the past 6 days, and temperature as digits and as a gauge bar.

flxlafbivcvqchz-medium

The next experiment was connecting the Arduino UNO with Netatmo API through an Ethernet shield and displaying the data on the screen. The connection was the difficult part as the Arduino was not powerful enough to establish an HTTPS connection and receive valuable information from Netatmo servers.

The solution uses a PHP client on a web server, which connects with Netatmo servers, and then the Arduino retrieves the data using the standard HTTP.

f4bjzi3ivcvqcwg-medium-1

The final version of the station consists of an Arduino Mega, two 2.8” inches screens, and an ESP8266 Wifi module. There is no limit of the Arduino type and screen size, you can use your model with minor changes of the code. Barzok also made a custom circuit that transforms the 9V input voltage into a 5V to power the Arduino and 3.3V to power the ESP8266.

fdd0p87iva4yibz-medium

The diagram presents the process, the Netatmo module gathers the weather information and uploads them to the Netatmo servers. Then a PHP application runs on remote server and retrieves the information from the Netatmo servers and turns it into simple text data. Finally the Arduino receives the simple texts with the ESP8266 module and displays them on the two screens.

The two screens displays different information, the left one provides the real time data received from the Netatmo sensors about temperature, pressure, humidity, rain and CO2. The other screen shows the time and date, pressure history, and 3 days weather forecast.

f03ni4miva4yiem-medium

fyodjj4iva4yif3-medium

You can find more instructions to build this project with detailed description about the code, schematics, box design at the project page.

Introducing Autodesk Circuits Simulator For Beginner

Circuits.io is an online platform created by Autodesk for hardware hackers. It provides a browser-based application for designing, simulating electronic circuits and creating PCB boards. Autodesk circuits simulator can simulate Arduino-based projects for testing designs and programs before creating them in real life.

tumblr_inline_myzj7r9yiv1qal3cc

The simulator allows you to learn electronics using a virtual Arduino board and breadboard without blowing up capacitors or burning yourself with solder on your work table. It is free to use, but more features are available with premium accounts. To start using circuits.io just go to the website, create an account, and start building your circuit.

This instructable guides you to get familiar using the simulator through three different projects. You will only need a computer with internet access, and you can build these projects in real if you have the components.

In this tutorial you will work with these parts:

  • Arduino Board, the brain of your circuits.
  • Breadboard, the board where you will connect the elements.
  • Breadboard wires.
  • Resistors.
  • LEDs.
  • Potentiometer.
  • LCD.
  • DC motor.

The first project is simple and easy, it is about making a LED turn on and off continuously. The circuit consists of only one resistor and one LED connected with the Arduino, which will turn the LED on and off for a period of time defined in the code.

blink

Another simple project is based on the LCD (Liquid Crystal Display) which receives information from Arduino and displays it. You can program the Arduino to display a message you want, control its location, make it blink, or move the message on the screen. You will also use a resistor and a potentiometer to control the brightness of the backlight.

lcd

In the third project you will control DC motor speed and its spins in Autodesk Circuits. The motor must be fed by an external power source, and the Arduino will control the current flow to the motor through the TIP120 transistor.

motor

The full instructions and guides are available in this instructable. When you finish making these projects you can explore the simulator features and components, and start building your own projects.

DIY Home Energy Meter

A new tutorial by The DIY Life is for building a home energy meter that provides information about power consumption and cost estimates for the month.

Using Arduino and some other components you can build your own energy meter that measure the supply current to your home through a CT (current transformer), current, power, maximum power and kilowatt hours consumed. The cost of electricity used to date can be added and displayed easily.

arduino-energy-meter-high-consumption

Electronics you need to build this project:

  • Arduino Uno
  • LCD Shield / LCD Screen
  • CT – Talema AC1030
  • 56Ω Burden Resistor
  • 10µF Capacitor
  • 2 x 100K Divider Resistors

If you are not familiar with Arduino or LCDs you can check these articles by The DIY Life to learn more: getting started with Arduino, connect an LCD screen

First you have to build the current sensor by connecting the CT to the Arduino and setting a right voltage reference due to the Arduino 0-5V input range. As shown below, this is the way you should connect the CT to the Arduino.

energy-meter-wiring-diagram

This code should be uploaded to your Arduino to run the project. It already has a scaling factor that can be adjusted due to the components you choose in your circuit.If you don’t want to use or don’t have an LCD screen, you can also modify the sketch to output to the Arduino IDE’s serial window as described in this code.

For more information on how to choose different components, how to calibrate them, and to learn more details about wiring and coding, you should check this tutorial out.

The first number displayed is the instantaneous current followed by the instantaneous power. On the bottom line, the kilowatt hours used since reset and then the maximum recorded power since reset. Check the meter in action:

2.8″ TFT LCD Touch Screen ILI9325 with Arduino Uno and Mega

educ8s.tv uploaded a new video. This is a 2.8” Arduino Touch Screen Tutorial with the ILI9325 driver. Nick writes:

Hey guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Today we are going to take a look at this 2.8” touch screen designed for Arduino. As you can see, I have loaded a demo program that displays a button on the screen. When I press the button with my finger, the program displays a message. As demonstrated the touch screen is working fine! Finally we can start building projects with a touch screen which are much more interesting and easier to use.

2.8″ TFT LCD Touch Screen ILI9325 with Arduino Uno and Mega [Link]