Posts | Comments

Planet Arduino

Archive for the ‘ps2’ Category

The hacking life is not without its challenges, and chief among these is the tendency to always be in acquisition mode. When we come across a great deal on bulk equipment, or see a chance to rescue some obscure gear from the e-waste stream, we generally pounce on it, regardless of the advisability.

We imagine this is why [Nathan] ended up with a hoard of PS/2 keyboards. Seriously, there are like thousands of the things. And rather than lug a computer to them for testing, [Nathan] put together this handy Arduino-based portable tester to see which keyboards still have some life left in them. The video below goes into detail on the build, but the basics are pretty simple — an Arduino, a 16×2 LCD display, and a few bits and bobs to run it off a LiPo pack and charge it up. Plus, of course, a PS/2 jack to plug in a keyboard and power it up. Interestingly, the 16×2 display is an old Parallax unit, from the days when RadioShack still existed and sold their stuff. That required a little effort to get it working with the Arduino, but in the end it works like a charm — plug in a keyboard and whatever you type shows up on the screen.

Of course, it’s hard to look at something like this, and that mountain of keyboards in the background, and not scheme up ways to really automate the whole test process. Perhaps an old 3D printer with a stylus mounted where the hot end would go could press each key in turn while the tester output is recorded — something like this Wordle-bot, but on a keyboard scale. That kind of goes against [Nathan]’s portability goal, but it’s still fun to think about.

Evil geniuses usually have the help of some anonymous henchmen or other accomplices, but for the rest of us these resources are usually out of reach. [Evan], on the other hand, is on his way to a helpful army of minions that will do his bidding: he recently built a USB-powered minion that turns a regular PS/2 mouse and keyboard into a Bluetooth mouse and keyboard.

[Evan] found his minion at a McDonald’s and took out essentially everything inside of it, using the minion as a case for all of the interesting bits. First he scavenged a PS/2 port from an old motherboard. An Arduino Nano is wired to an HC-05 Bluetooth chip to translate the signals from the PS/2 peripherals into Bluetooth. The HC-05 chip is a cheaper alternative to most other Bluetooth chips at around $3 vs. $40 for more traditional ones. The programming here is worth mentioning: [Evan] wrote a non-interrupt based and non-blocking PS/2 library for the Arduino that he open sourced which is the real jewel of this project.

Once all the wiring and programming is done [Evan] can turn essentially any old keyboard and mouse into something that’ll work on any modern device. He also put an NFC tag into the minion’s head so that all he has to do to connect the keyboard and mouse is to swipe his tablet or phone past the minion.

If you’re looking for an interesting case for your next project, this McDonald’s Minion toy seems to be pretty popular. PS/2 keyboards are apparently still everywhere, too, despite their obsolescence due to USB. But there are lots of other ways to get more use out of those, too.


Filed under: Arduino Hacks
Jan
03

Building a rather rudimentary Arduino tank bot

arduino hacks, motor shield, playstation 2, ps2, Robot, robots hacks, tamiya, tank Comments Off on Building a rather rudimentary Arduino tank bot 

building-an-arduino-tankbot

The tank robot builds that we see are often quite complex. This lets them do great things, but makes the platform scary for beginners. Here’s a tank build that would be a great first project, especially if you’re more interested in the programming side of robotics than you are in the hardware itself. [Paul Bleisch] combined several different commercially available products to fabricate this Arduino-powered tank robot base.

Locomotion is provided by a double geared-motor module. This unit, the plastic wheels and treads, as well as the wooden mounting platform are all made by Tamiya. They cost very little and are already designed to work with one another. To this base he adds the Arduino and a motor shield which makes the connections dead simple. The black case on one end of the chassis holds four AA batteries which provide power for everything.

These components are all that’s really needed to start, but they provide no interactivity. So [Paul] picked up a used wireless PlayStation 2 controller. There’s a library (written by regular reader [Bill Porter]) that allows him to connect the receiver to the Arduino in order to pick up commands from the controller. He also plans to add an ultrasonic range finder to the build sometime in the future.

If you’re don’t need to do things the easy way you should consider fabricating your own tank treads.


Filed under: arduino hacks, robots hacks


  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook