Thursday 25 September 2014

Raspberry Pi creations show the amazing of tiny PC can be




The Raspberry Pi, the $35 credit card-sized computer, has lived an interesting life despite being less than a year old and been used to teach programming and host servers, but above all it has provided a near-perfect platform for some of the most fun and interesting hobbyist projects in the computing world.
Pi owners found that it can be Arcade cabinets, computing clusters housed in LEGOs, musical instruments, robots, and wearable computers. It turns out you can do a lot with an ARM processor, GPU, a few ports and GPIO pins, and an operating system (typically Linux-based) loaded onto an SD card. Below are the coolest Raspberry Pi creations that have been able to find.


A Pi-powered arcade cabinet

Darren J described his epic MAME project in a guest post on the official Raspberry Pi blog  For more information, visit this site URL and don't forget to watch the video :) The Raspberry Pi arcade cabinet running Track and Field.



When Darren showed the finished cabinet to a friend, "he couldn’t believe such a small machine is capable of running the system at all, let alone as well as it does."
Looking for more Raspberry Pi arcade awesomeness? Check out this guy who built a fully functioning arcade cabinet so small it fits in the palm of your hand. Enjoy this video by looking at this site. Smaller than a Game Boy.

Siri, open the garage door


Apple's Siri technology is designed for people to give orders to their phones. But it can also control additional devices with Siri Proxy, a proxy server that connects to the Siri service.
One of the enterprising Pi user revealed that he's using Siri to open and close garage door, which is a hooked up to an automatic garage door system. lets watching this video .

Siri Proxy running on the Raspberry Pi, along with wiringPi to access the Pi's GPIO pins and turn a relay on/off, a user calling himself "DarkTherapy" wrote in the Raspberry Pi forums. Then the relay is then hooked up automatically to the garage door system. Therefore, to control the door, just use the Siri on iPhone.
The system is set up to work only over Wi-Fi, but it would be possible to use this over cellular with a VPN. After installing Siri Proxy and wiringPi, the code can be modified in one of the example Ruby scripts that comes with Siri Proxy to include commands specific to the garage door setup.
Here's the code used:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
listen_for /open the garage door/i do
  say "Opening the garage door.."
  request_completed
  system("gpio mode 1 out")
  system("gpio write 1 1")
  system("sleep 0.5")
  system("gpio write 1 0")
end
 
listen_for /close the garage door/i do
  say "Closing the garage door.."
  request_completed
  system("gpio mode 1 out")
  system("gpio write 1 1")
  system("sleep 0.5")
  system("gpio write 1 0")
end
That type of script can be modified to control all sorts of devices. "As you can see, the ruby script is basically calling 'system' commands to access wiringPi," DarkTherapy wrote. "Setting a GPIO pin as an output then setting it high for half a second then low again. You can have Siri call any command you can type in a terminal window, such as a passwordless SSH login to a remote pc to have it shut down or rebooted."


No comments:

Post a Comment