Posts with «arduino» label

Make Physics Fun with a Trebuchet

What goes up must come down. And what goes way, way up can come down way, way too fast to survive the sudden stop. That’s why [Tom Stanton] built an altitude recording projectile into an oversized golf ball with parachute-controlled descent. Oh, and there’s a trebuchet too.

That’s a lot to unpack, but suffice it to say, all this stems from [Tom]’s obvious appreciation for physics. Where most of us would be satisfied with tossing a ball into the air and estimating the height to solve the classic kinematic equations from Physics 101, [Tom] decided that more extreme means were needed.

Having a compound trebuchet close at hand, a few simple mods were all it took to launch projectiles more or less straight up. The first payload was to be rocket-shaped, but that proved difficult to launch. So [Tom] 3D-printed an upsized golf ball and packed it with electronics to record the details of its brief ballistic flight. Aside from an altimeter, there’s a small servo controlled by an Arduino and an accelerometer. The servo retracts a pin holding the two halves of the ball together, allowing a parachute to deploy and return the package safely to Earth. The video below shows some pretty exciting launches, the best of which reached over 60 meters high.

The skies in the field behind [Tom]’s house are an exciting place. Between flying supercapacitors, reaction wheel drones, and low-altitude ISS flybys, there’s always something going on up there.

Arduino's new Nano board family is more powerful and affordable

Arduino's Nano line will soon welcome four new products. They're all small boards like the classic one, making Nano a family of small boards meant for compact projects. All the new boards boast low energy consumption and processors more powerful than what the classic has. Even better, they're all pretty affordable: the most basic entry called Nano Every, which you can use for "everyday" projects and can replace the classic Nano, will even set you back as little as $9.90.

Source: Arduino

Engadget 19 May 02:22

Arduino's new Nano board family is more powerful and affordable

Arduino's Nano line will soon welcome four new products. They're all small boards like the classic one, making Nano a family of small boards meant for compact projects. All the new boards boast low energy consumption and processors more powerful than what the classic has. Even better, they're all pretty affordable: the most basic entry called Nano Every, which you can use for "everyday" projects and can replace the classic Nano, will even set you back as little as $9.90.

Engadget 19 May 02:22

A Ping Pong Ball LED Video Wall

Constrained builds are often the most fun. Throw an artificial limit into the mix, like time limiting your effort or restricting yourself to what’s on hand, and there’s no telling what will happen.

[bitluni] actually chose both of those constraints for this ping pong ball LED video display, and the results are pretty cool, even if the journey was a little rough. It seems like using sheet steel for the support of his 15 x 20 Neopixel display was a mistake, at least in hindsight. A CNC router would probably have made the job of drilling 300 holes quite a bit easier, but when all you have is a hand drill and a time limit, you soldier on. Six strings of Neopixels fill the holes, a largish power supply provides the 18 or so amps needed, and an Arduino knock-off controls the display. The ping pong ball diffusers are a nice touch, even if punching holes in them cost [bitluni] a soldering iron tip or two. The display is shown in action in the video below, mostly with scrolling text. If we may make a modest suggestion, a game of Pong on a ping pong ball display might be fun.

[bitluni] says that the display is on its way to Maker Faire Berlin this weekend, so stop by and say hi. Maybe he’ll have some of his other cool builds too, like his Sony Watchman Game Boy mashup, or the electric scooter of questionable legality.

Hack a Day 17 May 16:30

GymSoles ensure correct form and posture during your workout

While you can get a very good workout on your own, it’s ideal if you have someone else watching over your form. This, of course, isn’t always practical, so researchers at the University of Auckland’s Augmented Human Lab have prototyped a wearable system called GymSoles to help. 

GymSoles consist of a pressure-sensitive insole that is used to determine a foot’s center of pressure, and thus infer whether or not the participant is keeping the weights in the proper position relative to his or her body—perfect for exercises like squats and deadlifts. 

Feedback is provided visually as well as through tactile feedback via eight vibrating motors, allowing participants to modify technique without having to focus on a screen. A computer is used to control the device using an Arduino Uno with motor drivers and an I2C multiplexer.

The correct execution of exercises, such as squats and dead-lifts, is essential to prevent various bodily injuries. Existing solutions either rely on expensive motion tracking or multiple Inertial Measurement Units (IMU) systems require an extensive set-up and individual calibration. This paper introduces a proof of concept, GymSoles, an insole prototype that provides feedback on the Centre of Pressure (CoP) at the feet to assist users with maintaining the correct body posture, while performing squats and dead-lifts. GymSoles was evaluated with 13 users in three conditions: 1) no feedback, 2) vibrotactile feedback, and 3) visual feedback. It has shown that solely providing feedback on the current CoP, results in a significantly improved body posture.

VR boxing robot actually punches back

VR environments are meant to be immersive, but if you’ve ever thought what was missing is being actually pummeled by robotic fists, then James Bruton’s newest project could be just the thing. 

Bruton recently teamed up with students from Portsmouth University to build a robot that works in the real world, and coordinates its movements with a virtual setting displayed on the human’s headset.

The robot itself is controlled by an Arduino Mega, and features a differential (tank) drive with encoders for feedback. Shoulders can tilt from left to right, and the actual punching motion is handled by pneumatic actuators built from modified bicycle pumps. Robo-fists are covered by boxing gloves to keep humans relatively safe, and flesh-based competitors are given a small shield and sword-bat with which to fight back!

I worked on this project with final year degree students in Computer Games Technology at Portsmouth University CCI faculty. The robot hardware is controlled over a serial interface, the team built an VR game which controls the robot, so when you get hit in VR you get hit in real life! The robot is tracked back into VR with Vive trackers so it stays in sync.

Arduino Blog 15 May 23:25

Program smart devices with a ‘magic wand’

Consider how interactive devices have come to dominate our lives. Once the purview of a select few in large laboratories, powerful gadgets—supercomputers even—are carried with us everywhere we go in the form of smartphones. And as everything around us becomes increasingly more connected, those that have no interest in the technical aspects of computing will still need to know how to configure the networked things throughout their homes.

As an experiment in interactive design, Austrian researchers Florian Güldenpfennig, Daniel Dudo, and Peter Purgathofer have come up with a ‘Magic Paradigm’ for programming.

Their project uses a wand with a built-in RFID reader, allowing it to sense which RFID tagged object it’s pointing to and register various sequences. This enables devices to be customized as needed, many of which contain an Arduino Nano as ‘active’ units and an nRF24L01+ module for communication. A central desktop/Arduino setup is also implemented to coordinate system elements.

We are surrounded by an increasing number of smart and networked devices. Today much of this technology is enjoyed by gadget enthusiasts and early adaptors, but in the foreseeable future many people will become dependent on smart devices and Internet of Things (IoT) applications, desired or not. To support people with various levels of computer skills in mastering smart appliances as found, e.g., in smart homes, we propose the ‘magic paradigm’ for programming networked devices. Our work can be regarded as a playful ‘experiment’ towards democratizing IoT technology. It explores how we can program interactive behavior by simple pointing gestures using a tangible ‘magic wand’. While the ‘magic paradigm’ removes barriers in programming by waiving conventional coding, it simultaneously raises questions about complexity: what kind of tasks can be addressed by this kind of ‘tangible programming’, and can people handle it as tasks become complex? We report the design rationale of a prototypical instantiation of the ‘magic paradigm’ including preliminary findings of a first user trial.

This compass reads the correct heading even when tilted

Consider an analog or even digital compass. While you can reasonably expect either to point towards magnetic north when held flat, when you add tilt and/or roll to the equation, things get a bit wonky. That is unless you’re maker “lingib,” who was able to construct a magical compass using an Arduino Uno and an MPU-9250 IMU unit, with an accelerometer/gyro in the same package.

As seen in the video below, when the compass unit is set at an angle, the heading output varies significantly—as much as 100 degrees according to the project write-up. When stabilization is turned on, however, the gyro/accelerometer is used to compensate for magnetometer heading variations—reducing output errors to just a few degrees.

This Instructable explains how to make a tilt compensated compass using an Arduino Uno R3, an LCD display, and an IvenSense MPU-9250 multi-chip-module that contains an MPU-6050 accelerometer / gyro and an AK8963 magnetometer within the same package.

The LCD simultaneously displays the heading, (P)itch, and (R)oll.

The heading accuracy is within 2 degrees depending on how well the compass has been calibrated.

Without tilt compensation the compass headings vary significantly … sometimes by as much as 100 degrees.

When stabilised, the tilted compass headings only vary by one or two degrees … the improvement is amazing.

The tilt stabilization may be disabled by placing a jumper wire between Arduino pins A0 and GND.

Arduino Blog 15 May 14:12

Modular CNC machine made with Arduino

Arduino boards running GRBL software have long been used for CNC machine control, but usually you need to choose between having a router or laser cutter. This project, however, is specifically designed to accommodate both with a modular carriage system.

Build-wise, it’s a fairly standard XYZ gantry CNC — with a frame made out of V-slot aluminum extrusions from OpenBuilds cut to length by a circular saw. The X and Y axes are controlled via NEMA 17 stepper motor and belt drive assemblies, while height adjustment is accomplished with a NEMA 23 motor and screw drive.

The electronics are all hidden away in a separate enclosure, including the Arduino Uno/CNC shield that serves as the brains of the operation and a cooling fan to keep the temperature inside in check. 

If you’ve been considering doing this type of build, this looks like a great place to start, and you can see a demos of it in laser and spindle modes in the videos below.

Current limiting Hacky Racer throttle

Hacky Racers, an electric vehicle racing series that’s part of the Power Racing Series, encourages drivers to put together their own hacky vehicle. While it looks like a lot of fun, in order to keep things relatively safe, current powering the car is regulated by an inline fuse from the battery, effectively limiting the top power output to the motor—thus keeping speed in check.

This means that while drivers need some control over how fast their motor is running, traditional PWM control where as much power is thrown to the motor as needed to keep it at a certain speed doesn’t really work. Instead, you need a system that controls how much current is provided. It’s a subtle problem, solved here with the addition of an Arduino Nano, which regulates output based on feedback from a current clamp sensor. While it won’t let a racer exceed the current limit, it does allow for maximum output when needed without tripping the fuse!

Those wishing to learn more can read the full write-up here and check out Hackaday’s recent article.

Arduino Blog 15 May 13:57