Posts with «pong» label

1D LED PONG, Arduino-Style

Maybe it’s just us, but isn’t it kind of amazing that in a world of pretty darn realistic games, PONG is still thrilling to play? This 1D implementation by [newsonator] is about as exciting as it gets.

It works like you’d probably expect — the light moves back and forth between the two players. Keep it in the green and you have a nice, gentle volley going. Let it hit your red LED and you’ve lost a point. But if you can push your button while your yellow LED is lit, the light speeds up tremendously until the next button press in the green.

Our only wish is that subsequent yellow-light button presses would make it speed up even more. But there are really just the two speeds with the current programming.

Inside the cool laser-cut box is an Arduino Uno and a 9V battery, plus a current-limiting resistor and the all-important buzzer. We like how [newsonator] wired up the LEDs to the Arduino by soldering them to a row of header pins and sticking that into the Arduino so it can be used in other projects down the line. We also like how [newsonator] shoved a couple of dowels through the box to ultimately support the two buttons.

Check out the intro video after the break for the overall details. The build is done over a few different short videos which follow.

Although this is pretty small, it isn’t quite the minimum viable.

 

Hack a Day 16 Dec 00:00

Building Badges The Hard Way

What’s a hacker to do to profess his love for his dearest beloved? [Nitesh Kadyan] built his lady-love this awesome LED pendant – the LED BLE Hearty Necklace Badge.

The hardware is pretty vanilla by today’s hacker standards. An ATMega328p  does most of the heavy lifting. An HM-11 BLE module provides connection to an Android mobile app. Two 74HC595 shift registers drive 16 columns of red LEDs and a ULN2803 sinks current from the 8 rows. The power section consists of a charger for the 320mAh LiPo and an LDO for the BLE module. All the parts are SMD with the passives mostly being 0603, including the 128 LEDs.

128 LEDs soldered wrong way around

[Nitesh] didn’t get a stencil made for his first batch of boards, so all the parts were painstakingly soldered manually and not in a reflow oven. And on his first board, he ended up soldering all of the LED’s the wrong way around. Kudos to him for his doggedness and patience.

The Arduino code on the ATmega is also quite straightforward. All characters are stored as eight bytes each in program memory and occupy 8×8 pixels on the matrix. The bytes to be displayed are stored in a buffer and the columns are left shifted fast enough for the marquee text effect. The Android app is built by modifying a demo BLE app provided by Google. The firmware, Android app, and the KiCAD design files are all hosted on his Github repository.

[Nitesh] is now building a larger batch of these badges to bring them to hillhacks – the annual hacker-con for making and hacking in the Himalayas. Scheduled for later this month, you’ll have to sign up on the mailing list for details and if you’d like to snag one of these badges. To make it more interesting, [Nitesh] has added two games to the code – Tetris and Snakes. Hopefully, this will spur others to create more games for the badge, such as Pong.

VGA Monitor Becomes Drawing Toy

We hate to break it to [Rob Cai], but he’s built a VGA drawing toy, not an Etch-a-Sketch. How do we know? Simple, Etch-a-Sketch is a registered trademark. Regardless, his project shows how an Arduino can drive a VGA monitor using the VGAx library. Sure, you can only do four colors with a 120×60 resolution, but on the other hand, it requires almost no hardware other than the Arduino (you do need four resistors).

The hardware includes two pots and with the right firmware, it can also play pong, if you don’t want to give bent your artistic side. You can see videos of both the art toy and the pong game, below.

Because the device started as a pong game, [Rob’s] version has two boxes, each with a pot and a button. Of course, if you were really building it just for the drawing toy, you’d probably put it all in a box. Maybe even a red box. If we were building it, we’d be tempted to put a tilt sensor or an accelerometer in the box so you could shake it to erase the picture. Just saying.

If you want 640×480 resolution from an Arduino, it can be done, but it takes more hardware. If you were trying to get a kid interested in Arduino, you could do worse than start with two projects with video that are fun, use a handful of easy-to-source parts, and shares hardware. Then again, if you are in the “go big or go home” camp, we’d redirect to this pong game, instead.


Filed under: Arduino Hacks
Hack a Day 09 Dec 00:00

Real-world 'Pong' might just beat the video game

If you miss the days of playing Pong with old-school dial controllers but would rather not track down a vintage console or arcade cabinet, today's your lucky day. Daniel Perdomo and crew have built a real-world Pong machine that replicates the pioneering game with physical parts. Despite what it looks like, it's not just an Atari-themed air hockey table. Instead of letting physics take over, the machine maps virtual ball and paddle movements to objects. All the eccentricities of Pong gameplay are intact, just in a more tangible (and arguably, far more immersive) form. LEDs track the score, while the controllers are rejiggered hard drives.

Via: Gizmodo, Popular Mechanics

Source: Daniel Perdomo (YouTube)

Engadget 30 May 18:00
arduino  gadgetry  gadgets  games  gaming  gear  pong  video  videogames  

Real-world 'Pong' might just beat the video game

If you miss the days of playing Pong with old-school dial controllers but would rather not track down a vintage console or arcade cabinet, today's your lucky day. Daniel Perdomo and crew have built a real-world Pong machine that replicates the pioneering game with physical parts. Despite what it looks like, it's not just an Atari-themed air hockey table. Instead of letting physics take over, the machine maps virtual ball and paddle movements to objects. All the eccentricities of Pong gameplay are intact, just in a more tangible (and arguably, far more immersive) form. LEDs track the score, while the controllers are rejiggered hard drives.

Engadget 30 May 18:00
arduino  gadgetry  gadgets  games  gaming  gear  pong  video  videogames  

Real-world 'Pong' might just beat the video game

If you miss the days of playing Pong with old-school dial controllers but would rather not track down a vintage console or arcade cabinet, today's your lucky day. Daniel Perdomo and crew have built a real-world Pong machine that replicates the pioneering game with physical parts. Despite what it looks like, it's not just an Atari-themed air hockey table. Instead of letting physics take over, the machine maps virtual ball and paddle movements to objects. All the eccentricities of Pong gameplay are intact, just in a more tangible (and arguably, far more immersive) form. LEDs track the score, while the controllers are rejiggered hard drives.

Via: Gizmodo, Popular Mechanics

Source: Daniel Perdomo (YouTube)

Engadget 30 May 18:00
arduino  gadgetry  gadgets  games  gaming  gear  pong  video  videogames  

Pong In Real Life, Mechanical Pong

[Daniel Perdomo] and two of his friends have been working on a mechanical version of Pong for the past two years. We can safely say that the final result is beautiful. It’s quite ethereal to watch the pixe–cube move back and forth on the surface.

[Daniel] has worked in computer graphics for advertising for more than 20 years. However, he notes that neither he nor his friends had any experience in mechanics or electronics when they began. Thankfully, the internet (and, presumably, sites like Hackaday) provided them with the information needed.

The pong paddles and and pixel (ball?) sit onto of a glass surface. The moving parts are constrained to the mechanics with magnets. Underneath is a construction not unlike an Etch A Sketch for moving the ball while the paddles are just on a rail with a belt. The whole assembly is made from V-groove extrusion.

Our favorite part of the build is the scroll wheel for moving the paddle back and forth. For a nice smooth movement with some mass behind it, what’s better than a hard-drive platter? They printed out an encoder wheel pattern and glued it to the surface. The electronics are all hand-made. The brains appear to be some of the larger Arduinos. The 8-bit segments, rainbow LEDs, etc were build using strips glued in place with what looks like copper foil tape connecting buses. This is definitely a labor of love.

It really must be seen to be understood. The movement is smooth, and our brains almost want to remove a dimension when watching it. As for the next steps? They are hoping to spin it up into an arcade machine business, and are looking for people with money and experience to help them take it from a one-off prototype to a product. Video after the break.


Filed under: classic hacks, Virtual Reality

Pong Project is a tabletop version of the classic game

Released in 1972, Pong was one of the earliest arcade video games to hit the scene and has since claimed its place in pop culture history. Whereas the Atari classic took the sport of tennis and brought it into the virtual world, a team of Makers led by Daniel Perdomo are taking it back to into the real world with an air hockey-like tabletop version.

As you can see in the video below, the “Pong Project” uses knobs similar to familiar arcade controls to move the paddles, which just like in the original, change the ball’s trajectory as it makes its way over to the opponent. The only difference is that it’s happening on a table instead of a screen. From the looks of it, there may even be a single-player mode with the other paddle seemingly moving all by itself.

To pay homage to the game, its creators gave the Pong Project some ‘70s flair with the iconic logo and play area, as well as neon lights along the sides that illuminate whenever the ball bounces off. Score is kept on seven-segment displays, while it would appear that at least a pair of Arduino boards are helping to drive the system. The team is currently seeking a hardware incubator and other Makers who may be interested in turning this into a final product. You can follow along with the project’s progress on Facebook.

Arduino Blog 27 May 16:34

Yet another cool Pong with Arduino Uno

Everyone knows Pong, the first commercially successful arcade video game machine  originally release by Atari in 1972. In those years the game helped to establish the video game industry and nowadays is often used by makers to experiment with creating game consoles with Arduino.

Roberto Melzi recently shared on the Arduino forum a new version of Pong made with Arduino Uno:

Thanks to the VGAx library done by Smaffer, based on the previous work done by Nick Gammon, I have done a little color game for an Arduino Uno working for a VGA monitor. See for details here:

The target was to use an Arduino Uno board without special shields and supporting IC.
the fundamental components are a button, a potentiometer, few resistors and DSUB15 connector.

Tale a look at the video to see it in action:

Follow the step-by-step guide on Instructables to build one yourself.

Arduino Blog 24 Sep 21:11
arduino  featured  forum  library  pong  tutorial  uno  vga  video game