Exploring The Hall Effect For Haptic Feedback PS4 Joysticks

Modern gaming console controllers aren’t without their annoyances — Joy-Con drift, anyone? The problems might stem from design deficiencies, but we suspect that user enthusiasm and the mechanical stress it can introduce might play a significant role as well. Either way, [Marius Heier] decided to take a look at what would be required to build a better joystick and came up with some interesting results.

The first video below lays the basic groundwork, with a bunch of experiments with 3-axis Hall effect sensors, specifically the Texas Instruments TMAG5273 and TMAG5170. They’re essentially the same sensor with different interfaces — SPI for the 5170 and I2C for the 5273. Using just one of these sensors, he was able to build a joystick with the usual X- and Y- axis control, but also with a rotary axis. What’s more, he built a motorized version using two NEMA 17 steppers to mechanically drive the stick back to center.

The joystick is bulky, but it looks like he’s got plans for a much smaller one with [Carl Bugeja]-style PCB motors that should fit into a PS4 controller. That’s the subject of the second video below, which uses a different Hall sensor — an Allegro A1304 — and is mainly concerned with getting the output of a non-motorized but considerably miniaturized joystick stick talking the language that the controller expects. It’s not a simple process, but it seems to be coming along nicely, and we’ll be watching progress closely.

Continue reading “Exploring The Hall Effect For Haptic Feedback PS4 Joysticks”

Do You Need The Raspberry Pi Camera Module V3?

This month came the announcement of some new camera modules from Raspberry Pi. All eyes were on version 3 of their standard camera module, but they also sneaked out a new version of their high quality camera with an M12 lens mount. The version 3 module is definitely worth a look, so I jumped on a train to Cambridge for the Raspberry Pi Store, and bought myself one for review.

There’s nothing new about a Pi camera module as they’ve been available for years in both official and third party forms, so to be noteworthy the new one has to offer something a bit special. It uses a 12 megapixel sensor, and is available both in autofocus and wide angle versions in both standard and NoIR variants. Wide angle and autofocus modules may be new in the official cameras, but these are both things which have been on the third-party market for years.

So if an autofocus camera module for your Pi isn’t that new, what can we bring to a review that isn’t simply exclaiming over the small things? Perhaps it’s better instead to view the new camera in the context of the state of the Pi camera ecosystem, and what better way to do that than to turn a Pi and some modules into a usable camera! Continue reading “Do You Need The Raspberry Pi Camera Module V3?”

Better Macro Images With Arduino Focus Stacking

If you’ve ever played around with macro photography, you’ve likely noticed that the higher the lens magnification, the less the depth of field. One way around this issue is to take several slices at different focus points, and then stitch the photos together digitally. As [Curious Scientist] demonstrates, this is a relatively simple motion control project and well within the reach of a garden-variety Arduino.

You can move the camera or move the subject. Either way, you really only need one axis of motion, which makes it quite simple. This build relies on a solid-looking lead screw to move a carriage up or down. An Arduino Nano acts as the brains, a stepper motor drives the lead screw, and a small display shows stats such as current progress and total distance to move.

The stepper motor uses a conventional stepper driver “stick” as you find in many 3D printers. In fact, we wondered if you couldn’t just grab a 3D printer board and modify it for this service without spinning a custom PCB. Fittingly, the example subject is another Arduino Nano. Skip ahead to 32:22 in the video below to see the final result.

We’ve seen similar projects, of course. You can build for tiny subjects. You can also adapt an existing motion control device like a CNC machine.

Continue reading “Better Macro Images With Arduino Focus Stacking”

Adding Electronic Shifter Functionality To Bicycle Derailleur

For the overwhelming majority of bicycles out there that feature multiple gears, switching between these is done purely mechanically, with a cable. Generally this uses a derailleur, which forms part of the gear switching and chain tensioning mechanism. As a mechanical system, it’s reliable when well maintained, but tuning it can be a real hassle. This is where an electronic shifter should be able to provide faster, more reliable and quieter shifting, and is also where [Jesse DeWald]’s electronic shifting project begins.

As [Jesse] points out in the introductory article on electronic shifting, it’s not a new concept, with everyone from Shimano (Di2) to Archer and others coming up with their own version. Some of these require replacing the existing derailleur, while others should allow for non-destructive modification. What [Jesse] did not find among this constellation of options was a version that’d work with existing derailleurs, did not require destructive modifications and have a long battery life.

[Jesse]’s design omits the servo present in Archer’s design, and uses the existing derailleur spring, with the reasoning explained in a nice spring physics refresher. Instead a stepper is used along with a matched balancer spring that in testing managed over 3 months of standby time with a 3,700 mAh Li-ion battery and thousands of shifts. At the core of the system is an Arduino Pro Mini board, the code for which is available along with the design plans.

The project is not done at this point, of course, with a whole range of improvements still to be added, including a case, so that the shifter can be used outside in the rain.

A Simple Air Suspension Demo With Lego Technic

The most common suspension systems on automobiles rely on simple metal springs. Leaf spring and coil spring designs both have their pros and cons, but fundamentally it’s all about flexing metal doing the work. Air suspension works altogether differently, employing gas as a spring, as demonstrated by this simple Lego build from [JBRIX]. 

The suspension system is employed on a Lego Technic car, with a relatively unsophisticated design. The car has no real form of propusion, and serves solely to demonstrate the air suspension design. They may look like dampers, but the system is actually using Lego pneumatic pistons as springs for each wheel. The pistons are connected to the upper control arm of a double wishbone suspension setup. Each piston is pneumatically connected to a main reservoir. With the reservoir, and thus the pistons, pressurized, the suspension system can support the weight of the car. If a bump perturbs a wheel, the piston compresses the air in the system, which then returns the piston to its original position, thus serving as a spring. If the reservoir is vented, the suspension collapses. Air springs on real, full-sized automobiles work in basically the same way. However, they usually have a separate reservoir per corner, keeping each wheel’s suspension independent.

Overall, if you’re working on some kind of Lego rambler, you might find this suspension concept useful. Alternatively, you might simply find it good as a learning aid. If you want to learn more about oddball suspension systems, we can help there too. Video after the break.

Continue reading “A Simple Air Suspension Demo With Lego Technic”

Toxic Telescope Makes You Mad As A Hatter

[Hank Green] posted an interesting video about the first liquid mirror telescope from back in the 1850s. At the time, scientists were not impressed. But, these days, people are revisiting the idea. The big problem with the early telescope is that it used mercury. Mercury is really bad for people and the environment.

The good thing about a liquid scope is that you can pretty easily make a large mirror. You just need a shallow pool of liquid and a way to spin it. However, there are downsides. You need to isolate the liquid from vibrations and dust. Another downside is that since gravity makes the shape of the mirror, these telescopes only go one way — straight up.

Continue reading “Toxic Telescope Makes You Mad As A Hatter”

A red and blue Lytro camera with a serial port soldered onto one

Unlocking Hidden Features Of An Unusual Camera

Back in 2012, technology websites were abuzz with news of the Lytro: a camera that was going to revolutionize photography thanks to its innovative light field technology. An array of microlenses in front of the sensor let it capture a 3D image of a scene from one point, allowing the user to extract depth information and to change the focus of an image even after capturing it.

The technology turned out to be a commercial failure however, and the company faded into obscurity. Lytro cameras can now be had for as little as $20 on the second-hand market, as [ea] found out when he started to investigate light field photography. They still work just as well as they ever did, but since the accompanying PC software is now definitely starting to show its age, [ea] decided to reverse-engineer the camera’s firmware so he could write his own application.

[ea] started by examining the camera’s hardware. The main CPU turned out to be a MIPS processor similar to those used in various cheap camera gadgets, next to what looked like an unpopulated socket for a serial port and a set of JTAG test points. The serial port was sending out a bootup sequence and a command prompt, but didn’t seem to respond to any inputs. Continue reading “Unlocking Hidden Features Of An Unusual Camera”