DIY Raspberry PI Display for Nicehash stats
Prerequisites :
- RaspberryPi 3b+ or higher
- RaspberryPi 3.5 inch SPI TFT LCD Display
- SD Card 16GB or higher -- image it with Raspberry Pi OS Lite
- Power Cable & Charger/Battery Bank
- HDMI Cable to install pi display software
- Keyboard
Build the Device :
- Burn the OS in SD Card &
- Place the LCD dislay on GPIO Pins
- Plug in HDMI to TV
- Plug in Power
- Allow to install/Expand OS.
- Install Display driver http://www.lcdwiki.com/3.5inch_RPi_Display & Setup Screen Orientation +180 degree
- reboot the device , now LCD should have display.
Software & Install:
- Get Nicehash BTCAddress, apiKey, apiSecret & orgId - https://www.nicehash.com/my/settings/keys DO NOT SHARE THIS INFORMATION WITH ANYONE Note : please provide least required permission & enable 2factor auth if not already.
- Install NPM and NodeJS on raspberrypi
- clone this project to RaspberryPi /home/pi/app etc update credentials in index.js build project using npm install in project directory
Run
- in project folder : node index.js
- to start on boot follow this
- sudo nano /home/pi/.bashrc
- add to last line and reboot --->
- sudo node /home/pi/projectfolder/index.js
Njoy!!