In many people’s memories, Snake lived and breathed on Nokia handsets from the late 90s and early 2000s. There’s a ton you can do with this miniature microcontroller, and that includes machine learning.Ĭontinue reading “ATtiny85 Snake Game Is A Circuit Sandwich” → Posted in ATtiny Hacks Tagged attiny85, cork, cr2032, oled, plywood, snake Be sure to check it out in action after the break, and grab the files from GitHub if you want to charm your own ‘tiny Snake. Then it was time to make this plywood and cork sandwich, which gives the point-to-point solder joints some breathing room and keeps them from getting crushed. started by programming the microcontroller and then tested everything on a breadboard, both of which are admirable actions. It doesn’t take much to conjure Snake with an ’85 - mostly you need a screen to play it on (an OLED in this case), some buttons to direct the snake toward the food dot, a handful of passives, and a power source. This is ’s first foray away from Arduinoville, and although they did use one to program the ATtiny85, they learned a lot along the way. If any such rule exists for game programming on a new microcontroller, then it is certainly that thou shalt implement Snake. If there’s any looming, unwritten rule of learning a programming language, it states that one must break in the syntax by printing Hello, World! in some form or another. We’ve covered robots driven by animals before, and we’ve covered some of ’s builds - like this electromagnetic rendition on Mjölnir.Ĭontinue reading “This Snake Has Legs” → Posted in Robots Hacks Tagged allen pan, Animals, mech, robot, snake Perhaps with a camera with gaze detection? We’d love to see the next step – figuring out a way for the snake to control the robot’s direction. appears to be using a servo controller with a hard-coded walking sequence. In fact, the snake is free to leave whenever it wants.Ĭurrently, the whole system just walks forward. Once Shinji the snake decides to get in the robot, it isn’t strapped in. The robot’s gait is derived from lizards Allen observed in a pet shop. The main body of the robot is a clear plastic tube. The foot joint pivots freely to handle any uneven terrain. The robot itself consists of 4 legs, each with 3 joints and two servos. Thankfully those were only tested with a plush snake test dummy. Allen’s first attempts using toys based on ’s giant robot didn’t go exactly to plan. designed and 3D printed what can best be described as a robot for snakes to ride. Ok, so this hack has tongue planted firmly in cheek, but it’s still pretty darn cool. He loves them so much that he’s decided to play god, throwing away millions of years of evolution - just to give snakes back the legs they’ve “lost”. Posted in handhelds hacks Tagged atmega, breakout, diy handheld, snake Breakout-style games can also be implemented on various hardware platforms, including analog oscilloscopes. Recreating Snake on custom hardware is sort of a rite of passage for microcontroller hackers, as you can see in many impressive projects. Source files for all games are available on ’s website, and include a description of the exact hardware setup needed for each game. For example, a true random number generator creates a rather odd-looking bunch of asteroids in space – tweaking the distribution to make it a bit more uniform greatly enhances the game’s playability. ’s blog post is filled with interesting tips for real-life game programming. Similar hardware, although with a 128×64 graphic OLED screen, powered game #3, a Breakout/ Arkanoid clone called Blockbuster 7000. This game runs on an ATmega1284 and uses a 4×20 character text display, allowing simple graphics as well as an on-screen score counter. Game #2 is a side-scrolling space shooter called Dino in Space. All parts are simply soldered onto a piece of prototyping board, with no need for any custom PCBs or enclosures. made an initial version using an ATmega328P with an 8×8 LED matrix as a display, but quickly upgraded the hardware to a 16×16 display powered by an ATmega644, and added an LED seven-segment display to show the score. The first project is a copy of Snake, the arcade classic that millennials will recognize from their Nokia phones. Instead, he decided to recreate several games from scratch using the bare minimum amount of hardware needed. Keeping the relevant hardware running becomes harder as the years pile up however, so when decided to introduce his kids to classic video games, he didn’t dig up his old game consoles. Classic video games might look primitive by today’s standards, but the addictive gameplay of Breakout or Pac-Man remains fun no matter what decade you were born in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |