Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

Using Arduino with gaming

24 October 2024 at 20:08

It’s not surprising that the Arduino community is packed to the brim with examples of gaming-related projects. Both activities tend to attract people with a love for problem-solving, technology, and getting immersed in one challenging activity for hours at a time.

The result is that there are tons of fascinating Arduino projects that revolve around video games. If you enjoy sitting back in your favorite gaming chair and plunging into a world of virtual recreation, you’ll love what we’re sharing here — and maybe you’ll find some inspiration for your next project.

Let’s dive into a few of the best examples of Arduino-driven gaming creations.

Arduino project ideas for gamers

A tiny gaming mouse

The right mouse can make a world of difference in the world of PC gaming — there’s a reason high-end gaming mouses (mice?) can sell for eye-watering amounts of money.

If you want the most finely-tuned, customized mouse possible, though, you’ll have to make it yourself. That’s exactly what Science Shack did with this project — an ultra-light gaming mouse made using Arduino.

Driven by an urge to learn just how tiny a mouse could get, Science Shack embarked on his mission. The result? A mouse that is only 18 cubic centimeters in volume and less than 10 grams in weight.

Check out the full video where Science Shack walks through the process, materials, and the end result.

Handheld toggle switches game

When it comes to gaming, more complex isn’t always better. In fact, the old retro-style, ultra-simple games like Space Invaders are still popular decades on.

In keeping with this philosophy, Redditor ToggleBoss decided to create a handheld gaming device operated by nothing more than a small set of toggles. The device features a simple yet satisfying game on a small LED screen.

ToggleBoss’s project was built with just a handful of components — Arduino code running on a NodeMCU, together with a pull-up resistor for switches and an SSD1306 OLED display..

An LED gaming platform for people with special needs

One of the great things about gaming is that it’s an activity that almost anyone can enjoy.

This is now even more true thanks to Alain Mauer, who constructed this LED gaming platform specifically for people with special needs.

Mauer was inspired to create the project to help his son, Scott, who is non-verbal autistic. Later, he realized it could be enjoyed by many more people, including those with movement restrictions.

The game is a simple, LED-based puzzle operated by easy-to-press buttons on the device. There is no time pressure, and the device is extremely robust and durable.

Best of all, the project is designed to be as easy to replicate as possible. It uses affordable and easily obtained components with the code developed using the Arduino IDE 2. 

Arcade stacker game

Arcades may be associated with a bygone era, but that doesn’t mean we can’t replicate the same excitement and fun in our own homes.

Reddit user enlightened-creature built this arcade-esque stacker game with a 3D-printed case to capture the arcade vibe from anywhere. It’s built using a simple LED screen and some code and is easy to emulate — as proven here by another Arduino fan.

Exercise bike

In our busy, hustle-filled world, riding a stationary bike at home is one of the most convenient ways to get some exercise — saving the time and effort of hitting a gym or sports club.

But there’s one big problem… it’s boring. Programs like Peloton have evolved to help alleviate the tedium, but they’re expensive and not for everyone.

To solve the problem, Arduino user issaom decided to connect their exercise bike to the PC, transforming it as a controller for various driving simulator games. The pedals are, unsurprisingly, used to move forward, and a steering wheel is attached to the handlebars to change direction.

The project employs several components including an Arduino Nano and an Arduino Micro.

Take your gaming projects to the next level

With Arduino, it’s entirely possible to build projects just like these at home, with nothing more than a few easy-to-find components and some basic code.

The Arduino Project Hub is filled with similar examples, in any category you can think of and for all levels of experience. You can filter by project type and difficulty level, and even search for specific projects — plus there’s a specific section for interactive games. Check it out for inspiration and guidance.

The post Using Arduino with gaming appeared first on Arduino Blog.

Arduino Nano Matter powered gamepad runs Quake at 27 FPS

7 October 2024 at 17:43
Arduino Nano Matter gamepad board

Silicon Labs Solutions architect Nicola Wrachien has designed an Arduino Nano Matter gamepad for which he was successfully able to port Quake, a popular first-person shooter game. We have seen developers and engineers port doom on everything from toothbrushes to GPS receivers. Wrachien was previously able to port Doom on a Sparkfun Thing Plus Matter MGM240P at Silicon Labs’ 30th-anniversary celebration. But to make things more interesting and challenging he wanted to see if Quake could be run on the same MGM240SD22VNA MCU, and he succeeded. In the end, he could not only run the game, but he also implemented improved graphics (better than Doom), better physics, 3D rendering, and much more. This gamepad is built around an Arduino Nano Matter board which features MGM240SD22VNA MCU from Silicon Labs, along with 256KB of RAM, which is very low compared to Quake’s original system requirements which is a minimum of 8MB [...]

The post Arduino Nano Matter powered gamepad runs Quake at 27 FPS appeared first on CNX Software - Embedded Systems News.

Bringing Quake to Arduino: a game-changing project by Nicola Wrachien

1 October 2024 at 23:24

Following up on his successful Doom port last year, engineer Nicola Wrachien – who works at Silicon Labs, a leader in secure, intelligent wireless technology for a more connected world and long-time Arduino partner – has now tackled an even bigger challenge: porting Quake, the iconic 1990s’ first-person shooter, to an Arduino gamepad

What a great warm-up for the upcoming Matter Challenge! If this kind of project sounds like fun, follow the competition or submit your own entry by October 31st. 

Sponsored by Mouser Electronics, Silicon Labs and Arduino, the Matter Challenge is open to all skill levels. Take the opportunity to inspire others, by creating an incredible project with the Arduino Nano Matter board.

Released just three years after Doom, Quake was a huge leap forward in gaming technology. It introduced full 3D environments complete with dynamic lighting effects, and its enemies and weapons were 3D models rather than 2D sprites. The game also featured a scripting engine that gave modders a lot of creative freedom. But with more realistic graphics, a particle engine, and more complex sound effects, Quake was also a far bigger technical challenge to port.

Tackling this project required Wrachien to level up on memory and speed constraints. If you want to dive deeper into these challenges, be sure to check out the dedicated post on the Silicon Labs community blog.

In the face of demanding requirements, Wrachien turned to the Arduino Nano Matter, developed with the powerful Silicon Labs® MGM240S as part of a partnership to better enable seamless development of Matter over Thread applications on the Arduino platform, which also led to the release of Arduino’s first-ever Matter software library earlier this year. 

Reflecting on the Arduino Nano Matter board, Wrachien said: “The Nano Matter board, featuring the Silabs xG24, offers impressive processing power and versatility in a compact size, making it a fantastic tool for both simple and complex projects like this one.”

If you’re intrigued and want to explore more technical details, dive into Wrachien’s full post and get into the nitty-gritty of this remarkable project on his blog. You can get your Arduino Nano Matter from our store and replicate his idea thanks to all the information he shares, or imagine a new challenging project of your own! 

The post Bringing Quake to Arduino: a game-changing project by Nicola Wrachien appeared first on Arduino Blog.

❌
❌