Glenn Walsh has been experimenting with a PIC 18F4620 chip logging data from analog inputs. Read more here
Displaying System Information and Overclocking the #RaspberryPi
Some nice little snippets of command line courtesy of A Slice of Raspberry Pi.
To find out the clock speed of the ARM processor type “vcgencmd measure_clock arm” at the command line prompt and press Enter:
pi@raspberrypi ~ $ vcgencmd measure_clock arm_
This should return a result similar to the following, which in my case shows that the ARM processor is running at 700 MHz (700,000,000 Hz):
frequency(45)=700000000
You can also measure your system’s core frequency by typing “vcgencmd measure_clock core” at the command line prompt and press Enter:
pi@raspberrypi ~ $ vcgencmd measure_clock core_
This should return a result similar to the following, which in my case shows that the system core is running at 250 MHz (250,000,000 Hz):
frequency(1)=250000000
To measure the voltage your system is running at type “vcgencmd measure_volts” at the command line prompt and press Enter:
pi@raspberrypi ~ $ vcgencmd measure_volts_
This should return a result similar to the following, which in my case shows that the system is running at 1.20 volts:
volt=1.20V
Finally you can measure your system’s core temperature by typing “vcgencmd measure_temp” at the command line prompt and press Enter:
pi@raspberrypi ~ $ vcgencmd measure_temp_
This should return a result similar to the following, which in my case shows that the system is running at at temperature of 48.2 deg C:
temp=48.2’C
Building a scaled-down Space Invaders game with a #RaspberryPi
Tiburcio de la Carcova has been busy. He built a full-sized Space Invaders game a little while ago which was a bit big for his daughter, the intended user.
So, he’s made a scaled-down version with a Raspberry Pi!
Distro Super Test – #RaspberryPi Edition from Linux User magazine
The Linux User & Developer magazine website has just published their test of all the main Linux distros for the Raspberry Pi. They cover Raspbian, Arch, Fedora, SliTaz, Gentoo and RiscOS and give (very) honest opinions about all of them.
The article, written by Rob Zwetsloot, can be read on their website.
I2C Analog to Digital Converter with the #RaspberryPi
John Newbigin has been experimenting with a pre-assembled I2C analog to digital board with built-in sensors. Very interesting for such a small package and a very low price. It’s only £2.90 on DealExtreme.
Emulate Arduinos on the #RaspberryPi for real-time readings
This is a bit complicated to understand, so I’ll just quote the relevant bits from the Space Apps Challenge page.
Proof of concept that threads in a Real Time Operating System for the Raspberry Pi can emulate various Arduinos with help of a library that mimics the Arduino API. This will maximize the efficiency of the ArduSat platform by allowing multiple Arduinos to use dynamically asigned sensors. Please turn on the captions in the video for english subtitles.
A bit more detail…
This project solves the Ardusat hardware level 3 challenge by using a Raspberry Pi running ChibiOS (a Real Time Operating System for embedded systems). Inside ChibiOS threads runs Arduino code with help of a library that mimics the Arduino platform. The RTOS can be configured to map pins and devices betwen the Raspberry Pi and the virtual Arduinos allowing the maximum use of the sensors in Ardustat. The code and configuration running on the Raspberry pi can be uploaded via serial console for remote management.
Here’s a video in which the developer, Manuel Rabade, describes his project. For English subtitles, turn captions on in the video.
From what I can gather, you essentially run ChibiOS as the Pi’s operating system and then upload some Arduino code into the OS which then mimics several Arduinos running. According to the developer, it’s possible that the Pi could run tens of virtual Arduinos, making it a very powerful proof-of-concept.
If anyone thinks I’ve misinterpreted, or can get this going on their Pi, let me know! I’m a bit busy with getting ready for the Cambridge Jam at the moment to get to it.