Turning off the UART functioning as a serial console See the instructions here. Setup Permission You can determine the user PHP is running as with this command in a php page: <?php echo exec('whoami'); ?> It will typcially be 'www-data'. All serial connections, virtual or physical, are owned by the 'dialout' group so if you add www-data to the dialout group your […]
All posts by
UART transmit from the command line
You may first need to turn off the UART functioning as a serial console by following the instructions here. The default setup of the UART is 115200-8-N-1 (115200 baud, 8 data bits, No partity, 1 stop bit and no flow control). What is current port setup? stty -F /dev/ttyAMA0 Transmit String This will send "hello" from the serial […]
Using Model B SD Cards On The Model B+
SD cards should be interchangeable between a model B and a model B+ as long as the card was created since the release of the Model B+, or has been inserted into a model B since the B+ was released and these commands entered to update the OS and any other packages supported by apt-get: sudo apt-get update […]
IO pin control from the command line
:-( it looks like this page is no longer good for the lastest versions of RPi OS Elevate your permissions to root user to allow IO access sudo -i Setup to control pin as output Substitute 23 in the following commands for your GPIO number (GPIO, not pin number) echo “23” > /sys/class/gpio/export echo “out” […]
Model B+ Power
RPi Power Consumption Varies depending on how busy it is and what peripherals are connected. Running a GUI and running the GPU will take extra power. The USB devices and Ethernet connection will take power. General usage Typically, the Model B+ will use 600mA and upwards (up to a maximum of 2A) depending on what […]
Compute Module Schematics
Schematics for the Compute Module can be found here.
Compute Module IO Pins
Bank 0 GPIO GPIO0-27_VREF is the power supply for bank 0 and can be powered in the range 1.8V – 3.3V. (Must be powered even if GPIO is not used). GPIO0 / I2C0 SDA GPIO1 / I2C0 SCL GPIO2 / I2C1 SDA GPIO3 / I2C1 SCL GPIO4 / GPCLK0 GPIO5 / GPCLK1 GPIO6 / GPCLK2 GPIO7 / SPI0 CE1 GPIO8 / SPI0 CE0 GPIO9 / SPI0 MISO GPIO10 / SPI0 MOSI GPIO11 / SPI0 SCLK […]
Compute Module Documentation
Documentation for the Compute Module can be found here.
Model B+ IO Pins
Note that we are not currently sure if the new pin 27-40 PWM1, GPCLK1 and GPCLK2 peripheral pin functions will be made accessible under Raspbian and if so which pins they will be assigned to, hence the duplicated pins shown with these functions. Lost From The Model B Rev 2 Board The P5 connector is not […]
Model B+ schematics
The model B+ schematic is available from here. Currently only a reduced schematic has been released (2014-09) but they say they'll release a full schematic in due course.
