Raspberry Pi Hacks: Tips & Tools for Making Things with the Inexpensive Linux Computer
Ruth Suehle, Tom Callaway
Format: PDF / Kindle (mobi) / ePub
With more than 60 practical and creative hacks, this book helps you turn Raspberry Pi into the centerpiece of some cool electronics projects. Want to create a controller for a camera or a robot? Set up Linux distributions for media centers or PBX phone systems? That’s just the beginning of what you’ll find inside Raspberry Pi Hacks.
If you’re looking to build either a software or hardware project with more computing power than Arduino alone can provide, Raspberry Pi is just the ticket. And the hacks in this book will give you lots of great ideas.
- Use configuration hacks to get more out of your Pi
- Build your own web server or remote print server
- Take the Pi outdoors to monitor your garden or control holiday lights
- Connect with SETI or construct an awesome Halloween costume
- Hack the Pi’s Linux OS to support more complex projects
- Decode audio/video formats or make your own music player
- Achieve a low-weight payload for aerial photography
- Build a Pi computer cluster or a solar-powered lab
want to permit traffic to access the CUPS server through the firewall, you’ll need to punch a hole. For Pidora and Raspbian, you can add these lines into /etc/sysconfig/iptables: -A INPUT -i eth0 -p tcp -m tcp --dport 631 -j ACCEPT -A INPUT -i eth0 -p udp -m udp --dport 631 -j ACCEPT You can also edit the configuration file from within a web interface (see Figure 3-3) by opening a browser on the Pi (Midori is usually the included web browswer), going to http://localhost:631/admin, and selecting
/home/pi/.ros/rosmake/rosmake_output-20130909-141408 At this point, you should have an installation on your Raspberry Pi that contains the core ROS stack and the additional ROS components necessary to support the NXT Mindstorms brick and sensors. If you’ve made it this far, you should be proud. While ROS is an awesome toolkit, installing it for the Raspberry Pi is no easy task at the moment. Testing the ROS Connection to the NXT Brick It’s time to make sure that ROS can see the NXT Intelligent
mount | grep mmcblk0 /dev/mmcblk0p1 on /mnt/raspi-boot type vfat (rw,rela time,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,er rors=remount-ro) /dev/mmcblk0p2 on /mnt/raspi-root type ext4 (rw,relatime,data=ordered) You should also now be able to see files in the /mnt/raspi-boot and /mnt/raspi-root directories. It is also possible to mount the /boot partition inside the mounted / partition, but we recommend keeping them separate. That way, if you forget to mount the boot
GPU starts this process. 2. Second-stage bootloader: Read off the boot partition on the SD card, this firmware (bootcode.bin) accesses the additional GPU firmware files, programs those firmware files into the Raspberry Pi GPU, and then starts it. 3. GPU firmware: This firmware (start.elf) allows the GPU to enable the CPU. An additional file, fixup.dat, configures the SDRAM partition between the GPU and the CPU. At this point, the CPU is released, and execution is transferred to it from the GPU.
without issue by adding this line to /boot/ config.txt: 18 RASPBERRY PI HACKS sdram_freq=500 Just like with arm_freq, you’ll need to reboot your Raspberry Pi for this to take effect. Increase GPU Frequency Your last major overclocking option is the GPU components, the frequencies of which are all defined by gpu_freq and default to 250 MHz. gpu_freq is a sort of super setting. Setting it assigns the same value to the core_freq (GPU processor core frequency), h264_freq (hardware video block