Install Raspberry Pi Node LED Stripe
Everything on your own risk. You can damage your hardware with this.
- Aquire Raspberry Pi
- Aquire 3x IRFZ44N Mosfet Transistor
- Aquire 3x 10k Ohm Resistors
- Aquire Protoboard, minimum size = 13x10
- Aquire 5V LED Stripe with +5V, R, G, B connectors
- Aquire 5V Power Supply with Connector Jack Adaptor
- Aquire Soldering Equipment, some wires and stuff
- Solder this: Wiring
- Double check all connections and solderings for broken connections or short circuits. Be careful.
- Connect Raspberry Pi and LED Stripe as shown. Be careful.
- latest raspberry pi image + touch ssh
- login, passwd, resize partition with sudo raspi-config
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get purge node nodejs npm
- sudo apt-get install build-essential python-dev unzip wget pigpio pigpiod git
- curl -sL https://deb.nodesource.com/setup_12.x | sudo bash - # This might be different on your system, some Pis only support older versions. (e.g. uname -m = armv6l needs to download the tarball instead) More info: https://linuxize.com/post/how-to-install-node-js-on-raspberry-pi/
- sudo apt install nodejs
- Clone this repo.
- npm i
- sudo node index.js
In the sub dir Arduino is a version for the Arduino.