Raspberry Pi - modrpc/info GitHub Wiki
- RPI webpage: http://www.raspberrypi.org/
- Wiki: http://en.wikipedia.org/wiki/Raspberry_Pi
- eLinux.org RPI Hub: http://elinux.org/RPi_Hub
- The Pi Hut - Tutorials : http://thepihut.com/blogs/raspberry-pi-tutorials
- MatLab support for RPI: http://www.mathworks.com/help/supportpkg/raspberrypiio/index.html
- Raspberry Pi FAQ on Power: https://www.raspberrypi.org/help/faqs/#power
- Power Supply: https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md
- Pi3B power budget
- up-to-1000mA (1A) for SoC/RAM
- 300mA for WiFi/BT
- 50mA for GPIO pins, distributed across all the pins
- individual GPIO pin can only safely draw 16mA
- 50mA for HDMI port
- 250mA for camera module
- 100~1000mA for keyboard/mouse
- 1200A for full powered USB
- A single ARM core, the ARM1176JZF-S, licensed from ARM Holdings
- A 1080p30-capable graphics processor, the VideoCore IV, developed and owned by Broadcom
- 128KB of Level 2 cache, shared with the CPU but used primarily by the VideoCore IV processor
- A suite of peripherals for the use of the ARM11 core, including:
- An interrupt controller
- Timers
- A pulse-width modulator (PWM)
- Two universal asynchronous receiver-transmitters (UARTs)
- A general-purpose I/O (GPIO) system providing 54 I/O lines
- An inter-IC sound (IIS or I2S) system and bus
- A serial peripheral interface (SPI) master/slave bus mechanism1
$ sudo apt-get install -y python-smbus
$ sudo apt-get install -y i2c-tools
$ sudo raspi-config
<enable i2c>
$ sudo vi /etc/modules
<add below two lines>
i2c-bcm2708
i2c-dev
$ sudo vi /etc/modprobe.d/raspi-blacklist.conf
<remove below lines, if any>
blacklist spi-bcm2708
blacklist i2c-bcm2708
$ sudo reboot
$ i2cdetect -y 1
- Go:
-
WiringPi: GPIO library
- To compile programs with wiringPi, you need to add:
-lwiringPi
- To use the Gertboard, MaxDetect, etc. code (the devLib), you need to also add:
-lwiringPiDev
- To compile programs with wiringPi, you need to add:
- EasyPIO: Harris's version for "CompArch" book
- HWIO: GPIO library for Golang
-
WiringPi: GPIO library
- Python:
- Adafruit motor hat: https://www.adafruit.com/product/2348
- PDF doc: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-dc-and-stepper-motor-hat-for-raspberry-pi.pdf
- Voltage requirements: 5v-12v
- Current requirements: drives up to 1.2A per motor (3A peak current)
- Software installation: https://learn.adafruit.com/adafruit-dc-and-stepper-motor-hat-for-raspberry-pi/installing-software
- Devastator platform https://www.dfrobot.com/wiki/index.php/Devastator_Tank_Mobile_Platform_SKU:ROB0114
- motor spec: https://www.dfrobot.com/product-100.html
- https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/hooking-it-up?view=all
- https://learn.adafruit.com/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi/library-reference
- Thumb Joystick: https://www.sparkfun.com/tutorials/272
- eLinux: http://elinux.org/Rpi_Camera_Module
- https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspistill.md
- Camera installation
- Webcam HTTP server: http://pingbin.com/2012/12/raspberry-pi-web-cam-server-motion/
- Taking photos: raspistill is a command line application that allows you to capture images with your camera module. e.g.
raspistill -o image.jpg
- reverse:
rapistill -vf -hf -o image.jpg
- reverse:
- Recording videos: raspivid is a command line application that allows you to capture video with your camera module. To capture a 10 second video with your Raspberry Pi camera module, run
raspivid -o video.h264 -t 10000>
at the prompt, where "video" is the name of your video and "10000" is the number of milliseconds