Giter Site home page Giter Site logo

chootka / rpi-compostpile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.07 MB

ASCII art and Python script for sending / receiving data from children over NRF24L01+ radios using the RF24 libs

Makefile 1.05% C++ 54.99% C 20.73% CSS 1.29% Python 20.56% Shell 0.06% Processing 1.07% XSLT 0.21% Euphoria 0.04%

rpi-compostpile's Introduction

rpi-compostpile

Steps to set up the Raspberry Pi to communicate via the NRF24L01+ radio
0/ flash SD card with latest raspbian stretch lite (from April 19)

1/ Be sure to include an empty file named ssh in the root of your newly flashed SD card so you can SSH into it later

2/ You will also want to enable SPI on by default (this is how the Rasbperry Pi will communicate with our radio) by editing the file called config.txt in the root of the Rasbperry Pi image and making sure that this is in there:
dtparam=spi=on

2/ Connect to your pi with user pi and default password raspberry
$ ssh [email protected]

3/ Go into the raspi-config tool and change the default password!!! Additionally, enable SPI, expand system to take up the full disk space of your SD card and join a wireless network so you are connected to the internet.
$ sudo raspi-config

4/ Install git, RF24 for radio comms and other image processing libraries
$ sudo apt-get update
$ sudo apt-get install git libboost-python-dev python-pip libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev python-pil python-requests -y
$ git clone https://github.com/nRF24/RF24.git
$ cd RF24
$ sudo make install
$ cd pyRF24
$ sudo python setup.py build
$ sudo python setup.py install

5/ Install this repo
$ git clone https://github.com/chootka/rpi-compostpile.git
$ cd rpi-compostpile

6/ Add the script to your profile so it boots automatically on start up $ sudo nano /etc/profile
$ sudo python /home/pi/p2p/parent-children.py &

7/ Reboot

Additional Resources

Image to ASCII art converter: http://picascii.com/
https://github.com/nRF24/RF24
https://github.com/nRF24/RF24Network
http://thezanshow.com/electronics-tutorials/raspberry-pi/tutorial-34-35
http://spencernusbaum.com/wordpress/index.php/2018/07/22/working-with-the-nrf24l01-transcievers-on-the-raspberry-pi-and-arduino/
https://howtomechatronics.com/tutorials/arduino/how-to-build-an-arduino-wireless-network-with-multiple-nrf24l01-modules/

rpi-compostpile's People

Contributors

chootka avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.