FromTheBeanBag Observing the world from the comfort of a beanbag

3Apr/12Off

Remote-Controlled Car Transformed Into A Robot With Arduino

[Photo: Randy Sarafan]If you ever bought yourself or your kids a remote-control car, you'll know how quickly people get bored of them, leaving the toy tossed to one side. However, if you were looking for a small Ardunio project, that abandoned RC car might come in handy. Randy Sarafan, who also happens to be the Technology Editor over on Instructables, gutted a remote-controlled car and swapped the parts for an Arduino board. Seeing as Arduino is good for controlling motors and sensors, Randy added a PING ultrasonic sensor to the front of the vehicle too. So in addition to driving back and forth, the toy car will now be able to register an object and stop before it crashes into it--a pretty handy ability if your kids have a habit of smashing it into stands with your finest china on top. As Randy points out in the video below, by giving the toy an Arduino, you've not only breathed a little bit of life into an old product, but you could tinker with this further--for instance, you could scrap the need for a remote altogether, and use the sensors to make the car follow you around. Still, for those looking for a small confidence-boosting task to do with that new Adruino starter kit, this brain-swapping project would be an ideal start. To know how to take the RC car apart though, or see which parts you're going to need, head over to the toy's Instructables page.
31Mar/12Off

Raspberry Pi sees ZX Spectrum emulator port

So far, everyone scrambling to get their hands on the much sought after Raspberry Pi seem to be hoping to use it as a media player. The cheap Linux computer is capable of decoding 1080p video, and its low profile makes it ideal for the living room. Clearly, everyone needs to think a little bigger. One enterprising user has managed to port a ZX Spectrum emulator to the computer for some retrotastic gaming. Andy Taylor currently volunteers at the UK Computer Museum, an organization that was working on software to run on the Raspberry Pi. After that project was finished, Andy decided to port the ZX Spectrum emulator Fuse to the mini computer. The games he managed to get running include Manic Miner. It opens up even more possibilities for the Linux computer. It’s only a matter of time before people begin porting other emulators, and although there may be a limit on what it can render, we wouldn’t be surprised to see some classic consoles of old land soon. That’s if customers can get their hands on a Raspberry Pi, of course. The computer is so popular it sold out within two hours in the UK, and was then hit by manufacturing delays caused by an incorrect ethernet jack. Meanwhile, 2,000 boards are currently waiting to gain CE compliance before they can be be shipped to UK customers. [via Gizmodo UK]
30Mar/12Off

Raspberry Pi cases; everything except shortcrust

After the initial launch of Raspberry Pi on 29th Feb and subsequent sell-out of all stock, home development with the machine hasn't been all about software. There has been lots of discussion, model making, mock-ups and proposals of how to encase the bare circuit in a 'nice' presentable, protective case that allows access to the ports/connections.The RPi circuit board isn't a very demanding shape to encase; it's a 56mm x 85mm rectangle (just a smidge bigger than a standard credit card) with a depth of just under 20mm. However there are ports on every side of this rectangle so you don't have any 'clean' edges. There have been some not-so-serious homemade cases including; the tobacco tin case, Marlboro packet case and toilet roll tube Raspberry Pi case. Someone also found the Perspex iPod Touch packaging was almost perfect for the job of housing the RPi. In summer you should be able to buy, with the new production batch, the Raspberry Pi complete with a standard official case, if you wish: "We’ll be making and selling cases by the summer; you’ll be able to buy a unit with or without a case, or a case on its own. The education release later in 2012 will have a case by default." So it says on the organisation website. There are a couple of cases available to buy now; the best-looking version we found is the Raspberry Topping case from ModMyPi, it has the choice of five colours, also you can mix and match different upper- and lower-part colours. The company will only take your order now; the delivery will be in May 2012 sometime. Be aware though, that possibly the new production-release RPi will be of a slightly different size or circuit board configuration to the beta RPi people already own. raspberry topping A wooden case made by an Etsy user is definitely disappointing when you consider the possible beauty of wooden pieces. Think of all the decorative carving, inlays, ornamental veneering and French-polishing techniques that could have been used... More aesthetically pleasing and decorative might be the DIY Lego casing a few RPi fans have made to house their computers. An example is pictured below. a lego pi If you own, or have access to, a 3D printer then it's a snip to print out your own-designed RPi case as an enthusiast in Italy did. You could print one with the Makerbot Replicator we featured in January! Our favourite case in copious web travels is what you might call an RPi laptop case; it's actually made of wood and quite early in development. The completed machine will feature a 4.3in LCD display and a PIC-based QWERTY keyboard. Please marvel at the picture below, it's an early prototype model! RPi laptop It would be great to play on Fuse, the newly-released Spectrum emulator on the above RPi laptop. Relive those heady days of Commodore 64 envy, until a C-64 emulator is ported over.
 
 
Don't have an account? Register today!
Our favourite case in copious web travels is what you might call an RPi laptop case; it's actually made of wood and quite early in development. The completed machine will feature a 4.3in LCD display and a PIC-based QWERTY keyboard.
Ooh, nice - sort of a Nintendo DS for geeks! As to the other cases, like the official one - but it's crying out for some blobs on the top (and matching holes underneath) to turn it into a giant Lego brick. :D
Let's just see if the Pi passes CE certification first lol. I told them to get it tested when I first started following last year, we all saw this coming, except for the foundation.

30Mar/12Off

Linux ported to Atmel’s ATmega microcontrollers

Linux ported to Atmel's ATmega microcontrollersDmitry Grinberg's design allows an Atmel microcontroller to run a full GNU/Linux operating system - albeit slowly.
The Ubuntu Linux distribution has been ported to the cheapest and most portable platform yet: An Atmel ATmega microcontroller. Boasting a 20MHz 8-bit AVR processor, 128KB of flash storage and a massive 16KB of SRAM, the ATmega1284P isn't the most logical choice for building a microcomputer. It's the same basic design found in the Arduino prototyping platform: a microcontroller, designed to use its 32 pins to interface with external hardware like sensors, motors and LEDs. That didn't stop Russian-born and California-based programmer Dmitry Grinberg from taking on the challenge of porting the Linux kernel and a full desktop operating system to the device, though. 'It is common to see newbies asking in microcontroller forums if they can run Linux on their puny little eight-bit micro,' Grinberg explains of his inspiration in a blog post. 'The results are usually laughter. It is also common to see, in Linux forums, asked what the minimum specs for Linux are. The common answer is that it requires a 32-bit architecture and an MMU and at least a megabyte of ram to fit the kernel.' Grinberg decided that such a limitation could likely be avoided by emulating hardware the ATmega chips don't have in software. Designing his own ARM emulator - 'porting someone else's code is no fun, plus none of the emulators I saw out there were written in a way that would make them easy to port to an eight-bit device,' he explains - Grinberg was able to convince the ATmega1284P chip to pretend that it was a PXA255 ARMv5TE processor. Overclocking the chip to 24MHz from the stock 20MHz, and adding a 16MB SIMM module for RAM and a 1GB SD card for the operating system itself, Grinberg was able to successfully load an older copy of Ubuntu Linux onto the device, complete with a graphical user interface. While it works, the result isn't exactly a speed demon: Grinberg has timed the boot process at around two hours to reach the BASH shell - something an average netbook can achieve in around two seconds - and a further four hours to load the rest of the operating system. 'Starting X [the graphical user interface] takes a lot longer,' Grinberg adds. 'Curiously enough, once booted, the system is somewhat usable,' Grinberg claims in defence of the design. 'You can type a command and get a reply within a minute. That is to say that you can, in fact, use it. I used it today to format an SD card, for example. This is definitely not the fastest, but I think it may be the cheapest, slowest, simplest to hand assemble, lowest part count, and lowest-end Linux PC. The board is hand-soldered using wires, there is not even a requirement for a printed circuit board.' Grinberg's design, which he's releasing under a non-commercial open source licence, is portable to other microcontrollers such as the cheaper ATmega644. When you're talking about a chip that costs just £8, however, it's probably worth just plumping for the more powerful ATmega1284P. Full details of the build, which is the equivalent of an ARMv5TE processor running at around 6.5KHz (yes, we meant to type kilohertz and not megahertz) can be found on Grinberg's website.
30Mar/12Off

Arduino-powered robot does your doodling for you

Friday 30 Mar 2012 - 10:42

DoodleBOT is the English name for GarabatoBOT, created by Spanish Aerospace Engineering student Miguel Ángel de Fruto. The aim behind the robot is pretty simple: attach it to a surface, connect it to your laptop, and it will draw the design you command it to.

It's made out a few 3D printed parts, which connect the two stepper motors to the power driver, Arduino board and Bluetooth--and batteries of course. Two pulleys help you string DoodleBOT to the surface and keep it balanced (as yet there is nothing to help the poor robot grip to its canvas). To get it doing its thing, place a pen, pencil or brush in the holder and turn on Bluetooth. Once connected to your computer, use the arrow keys to direct DoodleBOT, and off it goes! Miguel is still working on the robot, to get it working with Microsoft's Kinect (you could use arm movements instead of arrows) and to remove the limitation of needing a constant line. With an extra servomotor, Miguel believes he could create dotted lines and other complicated patterns. DoodleBOT may be very simple and not the most good looking robot out there, but you have to love the amazing designs it's capable of, and the ease of controlling its movements. Check it out in the video below, or here.
Elizabeth Fish | PC World
30Mar/12Off

Arduino Controlled Drummerbot Lays Down the Beat

March 29th, 2012 by: Conner Flynn

This little arduino controlled Drummerbot was created by Steffest, and is called the My Little Arduino Drummerbot. Just like the name implies, this little robot can play the drums either by itself or along with you. Drummerbot It was built using an Arduino and a bunch of other spare parts. The robot is controlled via a web interface. It’s easier to just let them explain how it works. This is a robot playing drums, and that’s good enough for me. “The Arduino receives the string, unpacks it back to a pattern and simple loops over the steps controlling each servo.” It also has “Horns” which are 2 small fans with a servo that push a piece of plastic against the blades. This little bot is fun to watch and seems like he would be a good jamming partner too. For more about how this bot was made check out Steffest’s blog. [via Hacked Gadgets]
29Mar/12Off

Raspberry Pi sellers will wait for safety approval – Inquirer

THE UNCASED MICRO PC, the Raspberry Pi will not be sold until it has passed CE testing. Raspberry Pi shipments have already been delayed by component issues, and talk of compliance testing has lead to fears of further delays. Now the Raspberry Pi Foundation has confirmed that, saying neither of the firms that will be shipping the units will do so until they have the official European safety stamp. "Both RS Components and element14/Premier Farnell have now informed us that they are not willing to distribute the Raspberry Pi until it has received the CE mark," said the foundation in a blog post. "While this differs from our view (as we've said before, we believe that the uncased Raspberry Pi is not a 'finished end product', and may be distributed on the same terms as Beagleboard and other non-CE-marked platforms), we respect their right to make that decision." That is bad news, unless you are particularly safety conscious, but it is not all bad. Raspberry Pi arrivals are very close, according to the foundation, and 2,000 of the blighters will tip up in the UK on Monday. raspberry-pis-in-the-factory "The good news is that our first 2,000 boards arrived in the UK on Monday and that we are working to get them CE marked as soon as is humanly possible, in parallel with bringing the remainder of our initial batch into the country," added the foundation. "On the basis of preliminary measurements, we expect emissions from the uncased product to meet category A requirements comfortably without modification, and possibly to meet the more stringent category B requirements which we had originally expected would require a metalised case." A case will not be part of the Raspberry Pi device until educational models are released, but since this early release is for enthusiasts, a case is less important. Firm delivery dates for these early, uncased releases are not yet available. µ
29Mar/120

Militarizing Your Backyard with Python and AI

Written by Harry Fairhead

Shooting squirrels with a water cannon might not seem to be a serious project, but it involves AI and a lot of hardware.

If you compare what you can buy in terms of intelligent devices to what you could create with the latest technology, you have to notice that there is a big gap.

It is very similar to the early days of the home computer revolution. Back then there were pocket calculators or expensive minicomputers. Hobbyists brought the low cost machines that created a revolution to the market. First by building their own and later by selling their creations. We seem to be in a similar situation with AI and robotics at the moment and DIY projects seem to be the only way to get what you really want at a reasonable price.

Take the problem of a squirrel scarer. If you want to get rid of pesky squirrels, or any similar small creature, your only options are to get a gun or some low tech device that couples an IR sensor with a hose pipe and valve.

Kurt Grandis took some cutting edge and open source AI tools, Python, an Arduino and a SuperSoaker and built the perfect squirrel hosing machine.

To quote from his PyCon 2012 talk:

"Has your garden been ravaged by the marauding squirrel hordes? Has your bird feeder been pillaged? Tired of shaking your fist at the neighbor children? Learn how to use Python to tap into computer vision libraries and build an automated sentry water cannon capable of soaking intruders."

The project involved Open Computer Vision (OpenCV), an a SVM learning procedure that he trained to tell the difference between a squirrel and a non-squirrel. Some manual feature extraction was used in the initial processing. Squirelness seems to come down to "blob size", color and texture.
After "perfecting" the classifier the hardware came next - a SuperSoaker Mark I was used as the "water cannon". A pair of servos were used to aim the gun and a third to pull the trigger.

Filed under: Uncategorized No Comments
29Mar/120

Build Your Own Arduino-Based Laser Clock

It’s definitely not the most efficient way to get a clock on your wall (or the cheapest), but if you’re interested in tinkering with an Arduino, this laser wall clock definitely fits the bill.

If you dig DIY clocks or you just think lasers are cool, this is the kind of project that you might want to try, especially if you’re getting started with Arduino projects. You’ll need an Arduino, of course, and you’ll also need a pair of laser pointers, a few servos and motors to make the lasers move as time passes, and of course the IKEA BLANDA salad bowl, available for six bucks, which will serve as the housing for all of the gear.

The wiring diagram and some more shots of the clock are available at Zouliv’s blog, where he explains the process of assembling the whole thing. It’s not terribly detailed, so you’ll have to fill in the gaps, but if you’re interested in building one yourself, it shouldn’t be too difficult once you get started. The Arduino can be made to keep its own time, although Zouliv connected his to a computer over USB (you can see the cable) to keep accurate time. What do you think, a good starter project, or modern design gone horribly wrong? Share your thoughts in the comments below.

Clock Laser with IKEA Salad Bowl BLANDA (Google Translated to English) [Zouliv via IKEA Hackers]

SOURCE: http://www.lifehacker.com.au/2012/03/build-your-own-arduino-based-laser-clock/

 

Filed under: Uncategorized No Comments
29Mar/120

Loose-lipped iPhones top the list of smartphones exploited by hacker

iPhones, iPads and other Apple devices transmit the MAC addresses of routers they've recently accessed. Hackers from security firm Immunity use the unique identifiers to glean information about the people they're paid to target,

As a security professional who gets paid to hack into high-value networks, Mark Wuergler often gets a boost when his targets use smartphones, especially when the device happens to be an iPhone that regularly connects to Wi-Fi networks.

That's because the iPhone is the only smartphone he knows of that transmits to anyone within range the unique identifiers of the past three wireless access points the user has logged into. He can then use off-the-shelf hardware to passively retrieve the routers' MAC (media access control) addresses and look them up in databases such as Google Location Services and the Wireless Geographic Logging Engine. By allowing him to pinpoint the precise location of the wireless network, iPhones give him a quick leg-up when performing reconnaissance on prospective marks.

"This is interesting on a security level because I'll know where you work, I'll know where you live, and know where you frequent," Wuergler, who is a Senior Security Researcher for Miami-based Immunity Inc., told Ars. "If the last access point you connected to was your home, for example, I'll know right where to go to get to you later or get to your data. If I'm an attacker that wants to break into your company, this becomes a disclosure that an attacker isn't going to pass up."

The exposure of MAC addresses extends not only to iPhones, but to all Apple devices with Wi-Fi capabilities, he said. It means that whenever the wireless features are enabled and not connected to a network—for instance, during a brief encounter at a Starbucks—they broadcast the unique identifiers, and it's trivial for anyone nearby to record them. Wuergler speculates the behavior is a feature designed to automate configuration for networks users regularly access.

Apple did not respond to our requests for comment for this article.

 

Smartphones of all stripes

 

While MAC address leakage appears to be unique to Apple products (according to Wuergler), smartphones of all stripes expose so much valuable information that Wuergler has created an application he calls "Stalker" to streamline its collection. Running on a laptop, Stalker vacuums up passwords, images, email and any other data that is sent unencrypted and organizes it in an easy-to-read interface.

A screen capture from Stalker, an application developed by Mark Wuergler.

Previously accessed network names and unencrypted Facebook chats, emails, and attached documents are all there, along with the name of each smartphone user who exposed them. Stalker presents the collected data in aggregate or allows the user to view the contents retrieved from a specific smartphone owner. Stalker also calls on programming interfaces offered by Google and other location services to automatically plot the recently connected Wi-Fi networks on a map.

In some cases, it's possible for Wuergler and his colleagues to pinpoint people with ties to a given company just by examining the information Stalker has passively collected. When, for example, the researchers encounter a phone that has recently connected to Wi-Fi networks with the names IBM-Corp and IBM-Conference, they know the device had successfully connected to those SSIDs at least once before. Like the MAC addresses leaked by iPhones, this data is shared each time a smartphone of any type tries to connect to an access point.

In other cases, the names of friends and colleagues exposed in email and encounters on Facebook and other sites can give the attackers the personal information they need to trick their mark into revealing even more sensitive information. They have also devised ways to mine any manner of smartphone apps for personal information that is routinely sent in the clear. An app for the Pandora music service, for instance, reveals the birth year, zip code, and sex the user used to register an account.

In theory, smartphone apps can use the secure sockets layer protocol to prevent sensitive information from being spied on. The problem is that many apps still don't provide a way for users to know when their sessions are protected. And frequently those protections aren't enabled by default and must be turned on deep in the phone's configuration menu. In the case of exposed MAC addresses and SSIDs, there's no way at all to shield that data from prying eyes other than to erase entries from the phone each time a network has been accessed.

Stalker also has the capability to steal login credentials from browsers that store passwords. It works by injecting hidden forms into a user's browsing session that mimic the forms used to log in to corporate email accounts and websites. Because the fields are invisible, they can be added even when the target is visiting a completely unrelated site, giving little indication anything is awry.

Stalker relies on what its author calls a "Man Within Range of You" attack. Unlike man-in-the-middle exploits—in which a hacker sits between the victim and the site he's connecting to and monitors or tampers with data as its passed from one to the other—the app plucks data from radio signals transmitted in the vicinity of the smartphone and relies on the same airwaves to broadcast spoofed information back to the targeted device. When successful, so-called race conditions work by zapping the falsified data to the target before the legitimate source can.

 

Give me convenience or give me security

 

In many respects, Stalker is a dramatic example of the risks posed by today's smartphone, which was designed with speed and utility as its chief selling points.

"It's widening all of the attack vectors that I can use against you," Wuergler said. "All of the conveniences that are being extended to you are also being extended to an attacker, just making it easier for identity thieves and corporate attackers."

He said the best advice for people concerned about smartphone security is to limit the kinds of personal information they entrust to their devices. Users can also benefit by turning off their device's Wi-Fi as much as possible.

"I do use my phone on wireless networks, but I don't store a lot of personal data on my phone," he said. "If you put your personal data on there, you don't even need to be connected to a wireless network for me to be able to break into your phone."

Update:

(Wuergler said he has tested a variety of phones running iOS, Android and Blackberry operating systems, but has not provided Ars with a specific list.) Updated to reflect that IBM-Corp and IBM-Conference were hypothetical SSIDs.

By 

Originally from: http://arstechnica.com/apple/news/2012/03/loose-lipped-iphones-top-the-list-of-smartphones-exploited-by-hacker.ars

Filed under: Uncategorized No Comments