• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
Maker Hacks

Maker Hacks

Ideas, news & tutorials for makers and hackers – Arduino/Raspberry Pi, 3D printing, robotics, laser cutting, and more

  • Home
  • About
  • 3D Printing
  • Laser Cutting
  • YouTube
  • Free Arduino Course
  • Recommendations
  • Contact

Playing with Grove – LCD Displays

You are here: Home / Hardware / Playing with Grove – LCD Displays
FacebookTweetPin
Author: Chris Garrett
Grove i2c LCD
Grove i2c LCD

Recently I have come around to really enjoy the Grove sensors and displays from Seeed. They are so convenient!

Grove uses a 4-pin cable to make attaching and removing the addons crazy simple. You can’t even plug them in the wrong way!

You don’t have to worry about voltages, and they each have Arduino libraries. Unfortunately, right now I have found the ESP8266 support spotty. Will keep working with it.

Now, you don’t HAVE to use Arduino. I also have a Raspberry Pi board to try out.

Grove I2C LCD Displays

Today I wanted to share the two LCD displays that I have been testing.

The one pictured above is a straight graphical display. It comes with a nifty tool allowing you to convert a bitmap into C code. Of course, I had to convert my logo 🙂

If you only have a line or two of text, this RGB backlit display is lovely.

Seen here displaying Hello World along with a randomly coloured background.

Arduino C Code

// libraries for i2c and the specific display
#include <Wire.h>
#include "rgb_lcd.h"
rgb_lcd lcd;
void setup() {
    // make sure the random is random
    randomSeed(analogRead(0));
    
    // set up the LCD's number of columns and rows:
    lcd.begin(16, 2);
    
    // Print our message to the LCD.
    lcd.print("hello, world!");
}
void loop() {
  
    // Turn off the display:
    lcd.noDisplay();
    delay(500);
  
    // Turn on the display:
    lcd.display();
    // Random colours
    int colorR = random(255);
    int colorG = random(255);
    int colorB = random(255);
    lcd.setRGB(colorR, colorG, colorB);
    delay(500);
}

Related

Category: HardwareTag: arduino, c programming, esp32, esp8266, Makes, making, raspberry pi, software
FacebookTweetPin

About Chris Garrett

Marketing nerd by day, maker, retro gaming, tabletop war/roleplaying nerd by night. Co-author of the Problogger Book with Darren Rowse. Husband, Dad, 🇨🇦 Canadian.

Check out Retro Game Coders for retro gaming/computing.

☕️ Support Maker Hacks on Ko-Fi and get exclusive content and rewards!

Previous Post:Kano PixelKano Pixel Review
Next Post:How to Automagically Create Thumbnail Images Using Pythonthumbnails with python

Sidebar

  • Facebook
  • Twitter
  • Instagram
  • YouTube

Recently Popular

  • xTool S1 Review
  • xTool P2 Review (first look)
  • IKIER K1 Pro Max Review
  • Gweike Cloud Review
  • How to choose the right 3D printer for you
  • Glowforge Review – Glowforge Laser Engraver Impressions, Plus Glowforge Versus Leading Laser Cutters
  • Flux Ador
  • Prusa i3 Mk3S Review
  • Best 3D Printing Facebook Groups
  • xTool D1 Pro Laser Cutter Review
  • Elegoo Mars Review – Review of the Elegoo Mars MSLA Resin 3D Printer
  • Glowforge ‘Pass-Through’ Hack: Tricking the Front Flap of the Glowforge with Magnets to Increase Capacity
  • How to Make a DIY “Internet of Things” Thermometer with ESP8266/Arduino
  • Wanhao Duplicator i3 Review
  • IKEA 3D Printer Enclosure Hack for Wanhao Di3
  • Creality CR-10 3d printer review – Large format, quality output, at a low price!
  • 3D Printed Tardis with Arduino Lights and Sounds
  • Anet A8 Review – Budget ($200 or less!) 3D Printer Kit Review
  • Make your own PEI 3D printer bed and get every print to stick!
  • Upgrading the Wanhao Di3 from Good to Amazing
  • How to Install and Set Up Octopi / Octoprint
  • Creality CR-10 S5 Review
  • Glowforge Air Filter Review
  • Thunder Laser Review
  • 3D Printing
  • CNC
  • Hardware
  • Laser Cutting
  • News
  • Retro Computing
  • Software

amiga amos arduino basic programming budget buying cad cnc commodore corexy c programming creality crypto doctor who emulation esp32 esp8266 filament glowforge gweike Hacks Ideas kids lighting linux Makes making Monoprice Parts pc props prusa python raspberry pi ratrig resin Reviews robots software sounds technology tips upgrades wanhao xtool

.

Maker Hacks Blog Copyright © 2023 · All Rights Reserved · Powered by Mai Theme