Posts with «arduino micro» label

A DIY H-shifter for driving simulators built from just two components

An H-pattern shifter for driving simulators can be built from just two basic electronic components. That is what Jason did, combining an analog joystick salvaged from a game controller with an Arduino Pro Micro. A 3D printer and ready-made firmware take care of the rest. This makes a DIY H-shifter a project within reach of anyone with a board in a drawer and a bit of filament.

The starting point is a joystick like the ones found inside many game controllers. Jason connects it to the Arduino Pro Micro with very simple wiring, so no shields, adapters or tricky soldering are needed. The two electronic components then go inside a 3D-printed prototype case, completed by a gear knob that reproduces the chosen H pattern. In practice, the mechanics of the shifter are all in the geometry of the knob and the case, while the electronics simply read the joystick’s movement.

The firmware and the shifter options

The firmware is already available and is loaded onto the board once everything is assembled. It is not a single fixed block: it offers many options for different shifter configurations, so it adapts to different patterns and behaviours without rewriting the code from scratch. For anyone wanting to rebuild the project, this is the part that saves the most time, because the work of reading the joystick and sending commands to the simulator is already done.

Anyone who wants to replicate the DIY H-shifter can start from just a few parts. The basic list is short:

  • an analog joystick like the ones in game controllers
  • an Arduino Pro Micro
  • 3D-printed case and knob
  • the ready-made firmware, to be loaded onto the board

If the joystick does not come from a discarded controller, there is a small analog resistive joystick that works on the same principle as the one used in the PSP1000. Instead of the Pro Micro you can also use an Arduino Micro, which carries the same ATmega32U4 and presents itself to the PC as a USB joystick or keyboard.

Case and knob: 3D printing makes the H pattern

The mechanical side is all in the 3D prints. The prototype case holds the joystick and the board together, while the gear knob implements the chosen H pattern. Changing the knob changes the gear layout, so the project adapts to different configurations without touching the electronics. The result is a very low-cost H-shifter prototype, intended for a simulated driving setup rather than for surviving hours of competition.

Anyone who wants to see how the project is made and where to start will find everything on the project page on Hackaday.io, where Jason collects the work on the shifter. There you can also see which options the firmware offers and how the assembly is organised.

The interesting thing is the ratio between effort and result. Two salvaged components, a 3D print and ready-made firmware are enough to have a working H-shifter. You do not need a fully equipped workbench, and you do not need dedicated encoders or sensors. For anyone who wants to get into driving simulation without immediately buying a commercial peripheral, this DIY H-shifter is a concrete starting point.

Source: https://hackaday.io/contests

Related products

The post A DIY H-shifter for driving simulators built from just two components appeared first on Open Electronics.

Build the Baddest Keypad on the Block with LEGO

Like so many of us, [EducatedAce] has been quelling the quarantine blues by resurrecting old projects and finding new challenges to fill the days. He’s just finished building this blocky macro keypad to hold a bunch of shortcuts for Photoshop, thus continuing and compounding the creative spree.

[EducatedAce] already had everything on hand except the Arduino Micro. Instead of standard key switches, this macro block uses 16 of the loudest, crunchiest tactile buttons out there — those big ones with the yellow stems that sound like small staplers.

And don’t worry — no LEGO or LEGO accessories were harmed in the making of this macro pad — the base plate and switch plate are 3D printed. [EducatedAce] has the STL files posted along with great build instructions if you want to wire one up for yourself.

This is a great project because it’s sturdy, it gets the job done without a lot of expense, and still looks like something you’d want on your desk. [EducatedAce] plans to rebuild it with uniformly colored bricks, but we think it looks great as-is, especially with those vented 1×2 pieces. If it were ours, we might use a different color for each row or column to help keep the shortcuts straight.

What? You’ve never printed your own interlocking building blocks before? Well, don’t limit yourself to 1:1 scale, otherwise the minifigs have won. Build a go-kart big enough for humans!

Use all your old-school game controllers with the turn of a dial

IT professional (and Arduino cap fan) John Milner had a minor problem. While his retro gaming setup could emulate a wide variety of systems and games, it was still missing the tactile feedback of the original controllers. Rather than “submit” to playing with only an Xbox 360 controller, he developed the Multijoy Retro Gaming System that can change gamepads with the turn of a knob using an Arduino Micro.

The resulting system lets him not only choose the original controller for each game, but if you want to mix things up and see how Super Mario Bros. would feel on a PlayStation 1, or even a Genesis controller, you can do that too! It also features shortcut buttons on the new console.

The Arduino presents itself as two joypads with native plug-and-play support for Microsoft Windows 7+ and Linux/RetroPie. The selector is simply a ring of LEDs with a potentiometer in the center, using the knob will move the lit LED to the desired controller pictured in that position, a simple system with an unexpected bonus of being a little retro in its appearance.

You can check it out in the video below, and see more of the project on his blog and on GitHub.

Unlock your garage door with a fingerprint

Using an Arduino Micro for control, French teenager “Joebarteam” came up with a way to biometrically secure his garage.

If you need to get into your locked garage, what could be better than using your fingerprint? To this end, Joe’ came up with a system that unlocks his door using a fingerprint scanner, and a bistable relay to disable communication between the scanner and the Arduino if there’s a problem.

It’s a really professional-looking build, and the locking mechanism is especially interesting. Two rack-and-pinion devices plunge shafts into the ground, making the door impossible to open (it has to pull out before going up). If there is an issue with the system, the pins can be physically unlocked and disabled as needed.

You can find more details on the project’s Instructables page here.

An interactive Lea shapes puzzle for visually impaired children

Using two Arduino Micros, these parents created a unique Lea shapes puzzle for their daughter Rebecca.

Because of a medical condition, Rebecca will need to have her vision assessed at the age of two or younger. This means that she’ll have to be tested without yet knowing her alphabet, and instead need to be familiar with Lea shapes which can act as a substitute for letters in a vision test. Unfortunately, her hearing is also impaired, meaning that a non-visual type of stimulus is needed to encourage a correct response.

To accomplish this, her parents came up with an excellent puzzle system, where when one of these shapes is dropped into the correct slot, the smart lights in the room change to the corresponding color. It’s an interesting project that will hopefully help with a pressing need.

In terms of hardware, a Raspberry Pi 3 is used as a central hub along with a Hue smart lights bridge, which is paired with a couple of Arduinos and 2.4GHz radio modules that handle the wireless communication between the two devices.

You can see more about this build on their blog here and more background on their lighting system here.

Motorize any camera slider with Arduino!

Using a stepper motor, an Arduino Micro, and various mechanical bits, “Max Maker” shows us how to motorize a camera slider.

According to his video below, “There are many cheap sliders available, but none that are motorized.” On the other hand, in this project he demonstrates that with a little bit of work, and an excellent attention to detail, you can make the conversion yourself.

Even if you’re not interested in this kind of application, the video reveals some interesting tricks, such as transferring a hole pattern using tape at 0:30, and using nail polish/recessed lettering to label switches at 3:55. The slider can be set to slide down the rail between 10 seconds and 8 hours depending on your video or photography needs. Video results, seen around 5:00 in, are really amazing!

You can find more details on how to create a slider like this on the project’s Instructables page.

An experimental game with a conductive rubber band controller

RubberArms is an experimental rubber band game, created by Robin Baumgarten at the Global Game Jam 2017 in Yverdon-les-Bains, Switzerland.

The controller uses a conductive rubber cord from Adafruit that changes resistance as it’s stretched. This resistance is measured by an Arduino Micro/Leonardo (or a Teensy 3.2), which acts as a USB joystick sending signals to Unity3D. (The game is coded in Unity3D using Spring Joints and Line Renderers.)

At this point, the game is a simple prototype where you control the distance of two characters whose arms stretch whenever you stretch the rubber band, throwing little ‘Bleps’ around. You can read more about RubberArms on Baumgarten’s page, as well as his earlier project “Line Wobbler” here.

This 3D-printed bionic hand can replace or support a limb

3D-printed appendages are, as one might suspect, generally meant for those that are missing a limb. Moreover, there are many other people that might retain partial functionality of a hand, but could still use assistance.

Youbionic’s beautifully 3D-printed, myoelectric prosthesis is envisioned for either application, capable of being controlled by muscle contraction as if it were a real body part.

As seen in the video below, the Youbionic hand can manipulate many different items, including a small box, a water bottle, and a set of keys. Functionality aside, the movement is extremely fluid and the smooth black finish really makes it look great.

The device is currently equipped with an Arduino Micro, servos, various sensors, a battery pack, and a few switches. Even the breadboard appears to be very neat, though one would suspect the final version will use some sort of PCB.

You can learn more and order yours on Youbionic’s website.

Smart sock augments existing prostheses’ abilities

Developed by researchers at the University of Applied Sciences in Linz, the proCover is a sensor-enabled smart sock that adds sensations to current prosthetic limbs.

Although work on more advanced prostheses continues, commercially available limbs still lack tactile feedback. The proCover addresses this not by modifying or replacing the prosthesis, but by using a sock with piezoresistive force sensors embedded in it. This allows for the user to tell where on a foot it’s being touched, as well as the pressure applied, and it can be set up to suit a user’s needs.

Feedback is provided by vibrating rings that can also be placed on a user’s body where convenient. A version that detects how far a prosthetic knee is bent has also been tested.

The design and construction of prostheses that can emulate a natural sense of touch is of growing research interest. Over the last few decades, a number of solutions have been developed for the detection of pressure, slip, heat and texture… However, many of the exciting innovations in this field will likely remain out of reach for most people due to a multitude of factors pertaining to cost, accessibility, health status, and personal attitudes towards elective surgery. We introduce proCover, a low-cost sensing wearable in the form of a textile sock that can be applied retroactively to lower-limb prosthetics to make sensing capabilities more broadly accessible to those who rely on these assistive devices.

You can find more information in the project’s 12-page paper or in this TechCrunch article for a slightly shorter summary.

(Photos: Media Interaction Lab)

Smart sock augments existing prostheses’ abilities

Developed by researchers at the University of Applied Sciences in Linz, the proCover is a sensor-enabled smart sock that adds sensations to current prosthetic limbs.

Although work on more advanced prostheses continues, commercially available limbs still lack tactile feedback. The proCover addresses this not by modifying or replacing the prosthesis, but by using a sock with piezoresistive force sensors embedded in it. This allows for the user to tell where on a foot it’s being touched, as well as the pressure applied, and it can be set up to suit a user’s needs.

Feedback is provided by vibrating rings that can also be placed on a user’s body where convenient. A version that detects how far a prosthetic knee is bent has also been tested.

The design and construction of prostheses that can emulate a natural sense of touch is of growing research interest. Over the last few decades, a number of solutions have been developed for the detection of pressure, slip, heat and texture… However, many of the exciting innovations in this field will likely remain out of reach for most people due to a multitude of factors pertaining to cost, accessibility, health status, and personal attitudes towards elective surgery. We introduce proCover, a low-cost sensing wearable in the form of a textile sock that can be applied retroactively to lower-limb prosthetics to make sensing capabilities more broadly accessible to those who rely on these assistive devices.

You can find more information in the project’s 12-page paper or in this TechCrunch article for a slightly shorter summary.

(Photos: Media Interaction Lab)