Posts with «arduino» label

A surfing “desk toy” that you can actually ride

If you’ve ever played with desk toys portraying a beach with liquids that splash around, this project by Lena Strobel, Gabriel Rihaczek and Guillaume Caussarieu takes things up several levels as a surf simulator that you can actually ride.

The device features two parts — an oil/water wave diorama which sloshes around using a servo actuator and a wooden “surfboard” large enough for a person to stand on.

The board is curved on the bottom enabling for someone to tilt it back and forth with their body movement, while a three-axis accelerometer handles angle measurement. This data is then passed from an onboard Arduino Uno to a second Uno that drives the diorama’s servo via nRF24L01 radio transceivers. 

The result is an actual body-controlled wave motion, and a distraction that looks like a lot more fun than simply pushing a tank around with your finger!

Do you feel a sudden urge of going surfing, but there is no large body of water nearby? Are you scared of deep and turbulent waters? Or are you just to lazy to go outside? Then the Ultra Realistic Surfing Simulator is the perfect solution for you! It allows for a close to reality surfing experience from any place imaginable. As a two part system, motion is sensed by a board and translated into wave motions of an ocean diorama.

Arduino Blog 18 Jun 18:21

Microscopic gigapixel photography with this X/Y stage setup

Normally the 10-50 gigapixels of a DSLR are good enough for nearly any photo you can imagine, but if you need more—and don’t want to spend many thousands of dollars—then this clever setup by Jon Bumstead may be just the thing.

His contraption uses a Nikon D5000 camera situated above a small photographic subject, which progressively moves in front of the lenses using an X/Y stage setup. Motion is handled by pair of stepper motors, under the control of an Arduino Nano and two L9110 driver boards. The Nano also commands the camera to snap a picture when the subject in position, producing an array of photos that can be stitched together to form an image with extreme detail.

In optical microscopes, there is a fundamental trade-off between field-of-view and resolution: the finer the detail, the smaller the region imaged by the microscope. One way to overcome this limitation is to translate the sample and acquire images over a larger field-of-view. The basic idea is to stitch together many high resolution images to form a large FOV. In these images, you get to see both the full sample, as well as fine detail in any portion of the sample. The result is an image consisting of about a billion pixels, much larger in comparison to the pictures taken by a DSLR or smartphone, which typically have around 10 to 50 million pixels.

In this Instructable, I will go over how to build a microscope capable of imaging a 90mm x 60mm field-of-view with pixels corresponding to 2 micrometer at the sample (although, I think the resolution is probably closer to 15 micrometer). The system uses camera lenses, but the same concept can be applied using microscope objectives to get even finer resolution.

Enforce Speed Limits with a Rusty Bike

They say you can’t manage what you can’t measure, and that certainly held true in the case of this bicycle that was used to measure the speed of cars in one Belgian neighborhood. If we understand the translation from Dutch correctly, the police were not enforcing the speed limit despite complaints. As a solution, the local citizenry built a bicycle with a radar gun that collected data which was then used to convince the police to enforce the speed limit on this road.

The bike isn’t the functional part of this build, as it doesn’t seem to have been intended to move. Rather, it was chosen because it is inconspicuous (read: rusty and not valuable) and simply housed the radar unit and electronics in a rear luggage case. The radar was specially calibrated to have less than 1% error, and ran on a deep cycle lead acid battery for around eight days. Fitting it with an Arduino-compatible shield and running some software (provided on the github page) is enough to get it up and running.

This is an impressive feat of citizen activism to provide the local police with accurate data to change a problem in a neighborhood. Not only was the technology put to good use, but the social engineering involved with hiding expensive electronics in plain sight with a rusty bicycle is a step beyond what we might have thought of as well.

Thanks to [Jo_elektro] for the tip!

Surfing Diorama Makes For A Neat Desk Toy

In 1994, Weezer famously said that “you take your car to work, I’ll take my board”. Obviously, for the office-bound, surfing is simply out of the question during the working day.  That doesn’t mean you can’t have a little fun with a desk toy inspired by the waves.

The crux of the build is a watery diorama, which interacts with a faux-surfboard. The diorama consists of a tank constructed out of plexiglas, sealed together to be watertight. It’s then filled with blue-dyed water, and topped off with baby oil. The tank is then mounted on a cam controlled by a servo, which rocks the tank back and forth to create waves. This is controlled by the motion of the rider on the plywood surfboard, which can be rocked to and fro on the floor thanks to its curved bottom. An Arduino built into the board monitors a three-axis accelerometer, and sends this information to the Arduino controlling the tank.

By riding the board, the user can shake the tank. Get the motion just right, and smooth rolling waves are your reward. Jerk around with no real rhythm, and you’ll just get messy surf. We reckon it would be even better with a little surfer floating in the tank, too. It’s a fun build, and one that might help stave off the negative health effects of sitting at a desk all day. You might prefer a more shocking desk toy, however. Video after the break.

Hack a Day 15 Jun 12:00

Stylish Alarm Clock Rocks a VFD

There are a great many display technologies available if you wish to make a digital clock. Many hackers seem to have a penchant for the glowier fare from the Eastern side of the Berlin Wall. [ChristineNZ] is one such hacker, and managed to secure some proper Soviet kit for an alarm clock build.

The clock employs an IV-27M vacuum fluorescent display, manufactured in the now-defunct USSR. Featuring 13 seven-segment digits, it’s got that charming blue glow that you just don’t get with other technologies. A MAX6921AWI chip is used to drive the VFD, and an Arduino Mega is the brains of the operation. There’s also an HD44780-compliant LCD that can display further alphanumeric information, and a 4×4 keypad for controlling the device.

The best part of the build though is the enclosure. The VFD is encased in a glass tube, and supported at either end by 90-degree copper pipe couplers. These hold the VFD aloft, and also act as a conduit for the wires coming off each end of the tube. It’s all built on top of a wooden base that holds the rest of the electronics.

It’s an attractive build, and we love the floating look created by the glass tube construction. It’s not the first time we’ve seen old Russian VFDs, and we doubt it will be the last. Video after the break.

Th

This self-balancing mech is piloted by an insect

You’ve seen self-balancing robots, where a pair of wheels suspend a mass above them in what’s known as an inverted pendulum configuration. As neat as they are, the “Augmented Arthropod” by Grzegorz Lochnicki and Nicolas Kubail Kalousdian puts a new spin on things. 

The structure for the build consists of three platforms separated on threaded rod and a couple of rather standard DC gear motors. Electronics include an Arduino Uno, a BNO055 IMU, and an L298N motor driver. 

Where things get a bit interesting, though, is that the mech is piloted by the movements of an insect placed inside a plastic case using two HC-SR04 ultrasonic sensors. 

Perhaps the most valuable part of the project write-up is the discussion about how it balances via PID, or proportional, integral, and derivative control. 

Building gas thruster-controlled drone

In the Earth’s atmosphere, a drone can adjust its heading by varying the speed of the propellers, and thus the thrust output of each. If you wanted to land something on a lunar surface, or maneuver a spaceship, the lack of atmosphere means a different technique must be used.

While not going to space (yet), Tom Stanton decided to create a demonstrator for this technique, similar to how the manned Lunar Landing Research Vehicle (LLRV) operated in the 1960s and ’70s. Stanton’s device employs a central electric ducted fan (EDF) to hold the craft up, while three compressed air nozzles provide most of its directional control. 

In action, an RC flight controller’s signals are modified by an Arduino Nano to accommodate this unique control scheme, pulsing out bursts of air via three solenoid valves.

Check out the build and experimental process in the video below, culminating with untethered tests starting at around 17:30.

Wake up to this unique VFD alarm clock!

If you’re a fan of novel timepieces, then you’ll want to check out Christine Thompson’s VFD Alarm Clock.

The device features a USSR-manufactured IV-27V 7-segment tube, capable of displaying 13 numbers or letters via a 24V supply, though the MAX6921 chip used here means that only 10 grids are used.

10 characters, however, are plenty to show time, date, humidity, temperature, and pressure, plus the text “WAKE UP!” when an audible alarm sounds.

The clock runs on an Arduino Mega, along with an RTC module, a keypad, and secondary LCD screen on the back to assist with setting it up.

3D printer converted into a cheap bioprinting rig

While most 3D printers deposit melted plastic in carefully controlled positions to build up a physical model, a similar process called “bioprinting” can be accomplished with biological materials. Commercial bioprinters can cost tens of thousands of dollars or more, but as shown here you can make your own using the shell an inexpensive desktop machine. 

In this example, a Monoprice MP Select Mini V2 is stripped down to its bones and motors, subbing in an Arduino Mega and RAMPS 1.4 stepper driver board.

A syringe-like extruder is added to push out custom bioink, and the Z-axis switch mounting and Marlin firmware is modified to accommodate the new device. The homing sequence is modeled in the video below, giving a short snippet of how it works.

Flowboard provides visual learning environment for coding

Embedded programming using the Arduino IDE has become an important part of STEM education, and while more accessible than ever before, getting started still requires some coding and basic electronics skills. To explore a different paradigm for starting out on this journey, researchers have developed Flowboard to facilitate visual flow-based programming.

This device consists of an iPad Pro and a set of breadboards on either side. Users can arrange electrical components on these breadboards, changing the flow-based program on the screen as needed to perform the desired actions. Custom ‘switchboard’ hardware, along with an Arduino Uno running a modified version of Firmata, communicate with the iPad editor via Bluetooth.

With maker-friendly environments like the Arduino IDE, embedded programming has become an important part of STEM education. But learning embedded programming is still hard, requiring both coding and basic electronics skills. To understand if a different programming paradigm can help, we developed Flowboard, which uses Flow-Based Programming (FBP) rather than the usual imperative programming paradigm. Instead of command sequences, learners assemble processing nodes into a graph through which signals and data flow. Flowboard consists of a visual flow-based editor on an iPad, a hardware frame integrating the iPad, an Arduino board and two breadboards next to the iPad, letting learners connect their visual graphs seamlessly to the input and output electronics. Graph edits take effect immediately, making Flowboard a live coding environment.

Want to learn more? Check out the team’s research paper here