Hardware & IoTLesson 98Free preview
RasPi Get Started
This lesson is part of Node.js · All levels
Summary
This lesson introduces Raspberry Pi as a device for running applications, specifically IoT and home automation projects. You'll understand how to set up a Raspberry Pi, install it, and run the server that controls the hardware. Pi combines complete computer capabilities with GPIO pins for sensors and actuators. (Node.js)
Key points
- The Raspberry Pi is a credit card-sized mini computer with a GPIO and network connection.
- Install Node.js via NodeSource or nvm; the 64-bit Raspberry Pi OS supports the latest version.
- GPIO pins are used to read sensors (temperature, PIR) and control relay/LEDs.
- Run the Node app headlessly over SSH.
- Use systemd service to automatically turn on the app when the Pi is on.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.