Posts | Comments

Planet Arduino

Archive for the ‘Teensy 3.0’ Category

Jan
01

Gotta Catch ‘Em All, With An Arduino

3ds, arduino hacks, ds, nintendo, nintendo ds hacks, pokemon, Shiny Pokemon, Teensy 3.0 Comments Off on Gotta Catch ‘Em All, With An Arduino 

PKMN

For every pokemon you encounter on your adventure to become the world’s greatest trainer, you have about a 1 in 8000 chance of that pokemon being ‘shiny’, or a different color than normal. Put an uncommon event in any video game, and of course a few people will take that feature to the limits of practicality: [dekuNukem] created the Poke-O-Matic, a microcontroller-powered device that breeds and captures shiny pokemon.

We’ve seen [dekuNukem]‘s setup for automatically catching shiny pokemon before, but the previous version was extremely limited. It only worked with a fishing rod, so unless you want a ton of shiny Magikarp the earlier setup wasn’t extremely useful.

This version uses two microcontrollers – an Arduino Micro and a Teensy 3.0 – to greatly expand upon the previous build. Now, instead of just fishing, [dekuNukem]‘s project can automatically hatch eggs, search patches of grass for shiny pokemon, and also automatically naming these new shiny pokemon and depositing them in the in-game pokemon storage system.

The new and improved version works a lot like the older fishing-only automated pokemon finder; a few wires soldered on to the button contacts control the game. The Teensy 3.0 handles the data logging of all the captured pokemon with an SD card and RTC.

What did [dekuNukem] end up with for all his effort? A lot of shiny pokemon. More than enough to build a great team made entirely out of shinies.

Video below, with all the code available through a link in the description.


Filed under: Arduino Hacks, nintendo ds hacks

sidebyside

If infinity mirrors aren’t cool enough, the 10-foot-tall infinity portal should blow you away. Strictly speaking, the mirror itself is only 7′x4′, but you’ll still find yourself engulfed in the archway. The portal began as a simple prototype that we covered earlier this summer, which was just a frame of 2×4′s, some acrylic and LED strips. It works by putting lights between a two-way mirror and another mirror, reflecting most light internally and creating the illusion of depth.

The giant archway also began as a small-scale prototype, its shape and engravings carved out by a laser cutter. Once they were satisfied with its design, it was time to scale things up. The full-sized portal needed a a tremendous amount of stability, so the guys at Freeside built the base from wooden palettes. They needed the portal to travel to a few different venues, so the rest of the frame breaks down into components, including a removable wooden frame from which the acrylic hangs. A Teensy 3.0 runs all the WS2812 LED strips, which were chosen because each of their LEDs is individually addressable.

Check out the video below for an extremely detailed build log, which should give you a better idea of how massive and impressive this portal really is!


Filed under: Arduino Hacks, Hackerspaces, laser hacks, led hacks, Microcontrollers

boards

[Paul Stoffregen], creator of the Teensy series of microcontroller dev boards, noticed a lot of project driving huge LED arrays recently and decided to look into how fast microcontroller dev boards can receive data from a computer. More bits per second means more glowey LEDs, of course, so his benchmarking efforts are sure to be a hit with anyone planning some large-scale microcontroller projects.

The microcontrollers [Paul] tested included the Teensy 2.0, Teensy 3.0, the Leonardo and Due Arduinos, and the Fubarino Mini and Leaflabs Maple. These were tested in Linux ( Ubuntu 12.04 live CD ), OSX Lion, and Windows 7, all running on a 2012 MacBook Pro. When not considering the Teensy 2.0 and 3.0, the results of the tests were what you would expect: faster devices were able to receive more bytes per second.  When the Teensys were thrown into the mix, though, the results changed drastically. The Teensy 2.0, with the same microcontroller as the Arduino Leonardo, was able to outperform every board except for the Teensy 3.0.

[Paul] also took the effort to benchmark the different operating systems he used. Bottom line, if you’re transferring a lot of bytes at once, it really doesn’t matter which OS you’re using. For transferring small amounts of data, you may want to go with OS X. Windows is terrible for transferring single bytes; at one byte per transfer, Windows only manages 4kBps. With the same task, Linux and OS X manage about 53 and 860 (!) kBps, respectively.

So there you go. If you’re building a huge LED array, use a Teensy 3.0 with a MacBook. Of course [Paul] made all the code for his benchmarks open source, so feel free to replicate this experiment.


Filed under: Arduino Hacks, ARM, Microcontrollers


  • 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