Linux Format

How to build Internet of Thing devices

OUR EXPERT

Les Pounder is an associate editor at Tom’s Hardware and a freelance creative technologist. He blogs at bigl.es.

YOU NEED

Any 40 pin GPIO Pi model

An Explorer HAT Pro from Pimoroni

3 x Male to male jumper wires

10K Ohm Resistor (Brown-Black-Orange-Gold)

10K Potentiometer

Small DC motor

An internet connection

Get the code: https://github.com/lesp/LXF271-Node-RED-Explorer HAT/archive/main.zip

QUICK TIP

Unsure as to what a node does, or what data it produces? Fear not. Click any node and the information column will show the properties and example code for the node.

The Explorer HAT has been the star of a few tutorials in your favourite Linux magazine, but we’ve always used it with Python. Yet did you know that we can also use it with Node-RED? This is an event-driven programming language used for Internet of Things and embedded projects. In

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format3 min readSecurity
ParrotOS
A security focused operating system that is well suited to the Raspberry Pi 4 2GB and upwards, but not Pi 5 for now. ParrotOS provides a plethora of security auditing tools for both red and blue team members. This is a great distro for learners and n
Linux Format2 min read
Automatic Tracking
TimeSlotTracker has activity monitoring and this includes an optional facility to take screenshots and T place them in a user-defined directory. However, this isn’t the type of intricate user monitoring that some of the other options offer. Idle dete

Related Books & Audiobooks