Skip to content

pevandenburie/node-red-contrib-pcd8544-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-RED PCD8544 Raspberry-Pi

A node for Node-RED to communicate with the LCD screen PCD8544 for Raspberry Pi.

Hardware

I used the PCD8544 from www.sunfounder.com, designed to be mounted on the GPIO ports of a Raspberry-Pi:

This Node.js module uses the predefined pin layout, and is not configurable for now:

Installation

Install wiringPi driver

This package makes use of WiringPI-library of Gordon Henderson (https://projects.drogon.net/raspberry-pi/wiringpi/).

$ cd /home
$ git clone git://git.drogon.net/wiringPi
$ cd wiringPi
$ sudo ./build

Install the package from the repository

$ sudo npm install -g https://github.com/pevandenburie/node-red-contrib-pcd8544-rpi.git

Example using Node-RED

Once installed, the new PCD8544 box is available in Node-RED palette:

Create a simple flow with an injection box, and a function box:

Configure the function box as follow to fill the 4 lines of text. The lines must be prefixed with "1:", "2:", "3:", "4:", to indicate the corresponding line:

Deploy, then press the injection button: the 4 lines must appear on the screen.

About

Node RED node for PCD8544 LCD screen driver for Raspberry-Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages