Building Sensors For The Scratch Programming Language

[Kevin Osborn] is making it a bit easier for young programmers to write programs that interact with the physical world. The device he’s holding in the picture is an Arduino based accelerometer and distance sensor meant for the Scratch language.

Scratch is a programming language developed at MIT. It has kids in mind, and focuses on graphical building blocks. This can make it quite a bit easier to introduce youngsters to programming concepts without the roadblocks and gotchas that come with learning syntax.

As you can see in the clip after the break, [Kevin’s] Arduino sketch includes hooks that automatically pull the accelerometer and distance data into the Scratch environment. We figure his example provides everything you need to get just about any type of sensor up and running, be it a magnetometer or LDR (both of which would make a nice burglar-alarm type project). Give it a try with your own hardware and see what you can accomplish.

Continue reading “Building Sensors For The Scratch Programming Language”

Self-Powered USB Host Mode On The HP Touchpad

touchpad-usb-host-power

[ften] was having plenty of fun running Android on his HP Touchpad, but he soon discovered that the tablet’s micro USB port didn’t provide enough juice to his peripherals when running in host mode. He started digging around and found the perfect means of providing the extra power while maintaining the device’s stock appearance.

He pried the tablet apart and installed a small DC step up converter in an empty space located behind the Touchpad’s dummy SIM slot. After wiring the converter to the battery terminals, he installed a micro USB adapter in the empty slot, which fit perfectly after a bit of sanding.

He hacked together a USB Y-cable to pull power from his new USB jack, while retaining the existing data connection through the original USB interface. You can see the results of his work in the video below, and while [ften] hasn’t said how much his mod affects the Touchpad’s battery life, he has confirmed that it will still shut down gracefully once you inevitably sap the battery dry.

Continue reading “Self-Powered USB Host Mode On The HP Touchpad”

Visible Kitteh Project Keeps Mice Out Of The House

[Aaron] and his wife have a wonderful cat that likes to contribute to the household by bringing field mice, shrews, and voles into the house as a ‘present.’ Obviously, this leads blood, fur, and viscera staining the carpet, and chasing around mortally wounded rodents isn’t [Aaron]’s idea of fun. To stop the cat from bringing small mammals into the house, [Aaron] is now preventing the cat from entering the house when it has an animal in its mouth.

[Aaron]’s project is inspired by this facial recognition cat door that refuses entry of all cats holding a small rodent in their mouth. To get his system working, [Aaron] started researching object recognition and built an Android app using the OpenCV libraries. To detect if his cat has a rodent in his mouth, [Aaron] is using Harr cascades – a proven object detection system that will detect and differentiate between a cat and a cat plus mouse.

Right now, the project is only about half done. [Aaron] is currently training his object recognition system, a process that can take days. Still, anything that keeps mouse guts out of the carpet is an awesome project in our books.

Android App Review: ADSdroid Gives You Every Datasheet, Ever

A few months ago when I reviewed the Android electronic reference app ElectroDroid, I made the offhand remark that a front end app for alldatasheet.com would be a killer mobile electronic reference app. [András Veres-Szentkirályi] accepted my challenge and built ADSdroid, the unofficial Android app for alldatasheet.com. You can check out my complete review after the break.

Continue reading “Android App Review: ADSdroid Gives You Every Datasheet, Ever”

Full Linux Distro On A Nook Color

We should have included a footnote in the title. You can say that [Thomas Polasek] installed a full version of Arch Linux on his Nook Color, but there’s one caveat. It’s running on top of the Android kernel and his proof-of-concept uses a second computer to get it up and running. But there’s potential for that to change moving forward.

Unlike previous attempts to run a Linux distro on Android, this does away with using a VNC to show the desktop. [Thomas] is commandeering Android’s frame buffer so that it can be used by the X desktop without needing to set up display drivers. To start off he installed a ROM based on CM7. A couple of Android apps give him the functionality needed to get the Arch Linux distro running from the SD card. This is accomplished by tunneling into the tablet via SSH, and using the ‘chroot’ command to make it active. The hope is that this can somehow be automated by a script.

A female to female USB coupler was used to connect the keyboard and mouse to the Nook. It looks like LXDE would be useless without them; touch control is not yet implemented. Those shortcomings aside, everything seems to be running pretty fast in the video after the break.

Continue reading “Full Linux Distro On A Nook Color”

A Simple Project To Get You Started With The Android ADK

simple-adk-exercise

If you just got your hands on a shiny new Android phone and are looking for a fun project to try out, you might want to check out this simple Arduino exercise that [Mike Mitchel] put together. Everyone needs a starting off point for hacking, and [Mike] thought that combining and Arduino and Android handset together for the purpose of temperature sensing and light metering would be a great place to begin.

The prerequisites for this project are a bit beyond a simple breadboard and a few ICs, requiring an $80 Android ADK board to go along with your phone and Arduino. If your focus is going to be on interfacing your phone with microcontrollers however, it’s purchase you’ll make sooner than later anyhow.

The setup is pretty simple as you might expect. A photocell and TMP36 temperature sensor are connected to the Arduino, then with a bit of code and USB host magic, the Android app shows the temp and amount ambient light present in the room.

[Mike] has made all of his easy to read and well commented code available online, so be sure to check it out if you have been thinking about (but putting off) playing around with the Android ADK.

Android On Your Netbook

Looks like there’s a pretty easy way to install Ice Cream Sandwich, the newest version of Android, on your Netbook. Actually this is limited to a few types of hardware including netbooks like the eeePC. That’s because the ISO files used during installation have been tailored to the hardware used on those devices. As with other Linux distros, the ISO file can be loaded on a thumb drive using Unetbootin. From there you can give it a whirl as a Live CD (or USB as it were) or choose to install it on your hard drive. We haven’t given it a spin as the eeePC version doesn’t want to boot on our Dell Mini 9, but we don’t see a reason why this couldn’t be set up as a dual boot option.

Now why would you want to run Android on your netbook? We’ve already seen that there’s a way to run Android apps in Ubuntu. We bet some people just love Android, and others just hate the Unity desktop that Ubuntu now uses… especially when the Netbook Remix had a lot of good things going for it.