Coder Social home page Coder Social logo

rpi's Introduction

Raspberry Pi 3 B+ config scripts

About

Make initial config easier without the need of creating full custom image or to install anything on any other machine.

  • base - base config
  • donkey - extend base with donkeycar specific settings
  • wifi-ap - extend base which will convert rpi into wifi access point, with NAT/MASQUERAE over eth0 interface

Known limitations

  • python 3.7.6 and picamera have issues
  • tested with buster only
  • anything else ¯_(ツ)_/¯

Installation

  • Use balena echer to write image.
  • use base directory as base customizations, depending on sd-card
  • (optional) add base/boot/wpa_supplicant.conf with wifi config
  • write boot/ directly (skip chown)
  • (optional) write home/ and chown -R 1000:1000 /home/pi
  • Use other dirs for additional tuning
  • unmount sd-card, install in device, boot device
  • (in case of wifi-ap) connect to the device via ethernet cable
  • run on device, you will be asked for sudo:
ssh pi@raspberrypi
mkdir ~/src/
cd ~/src
sudo apt-get update && sudo apt-get install -y git tmux
tmux
git clone http://github.com/nvtkaszpir/rpi
cd rpi
./base/config.sh
./base/config-bt.sh
./base/config-cli.sh

Run other customizations scripts if needed.

Test

run pre-commit hooks:

pre-commit run

Or go full mental:

pre-commit run -a

TODO

  • check I2C 400, check SPI
  • bluetooth xbox controller auto-pair
  • notification that install is complete (slack/discord)
  • wrapper script for mounted sd-card?
  • fetch data for donkey from gh
  • rclone
  • rewrite with ansible?

rpi's People

Contributors

nvtkaszpir avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

rpi's Issues

numpy

sudo apt-get install libatlas-base-dev

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.