Posts | Comments

Planet Arduino

Archive for the ‘arduino’ Category

Having a light on your bike at night is important for safety, but what if those headlights could talk to others sharing the road with you? Well now it can, using the [Bike] Swarm by Alex Berke, Thomas Sanchez, and Kent Larson from the MIT Media Lab.

Their device—or collection of devices—controls a bicycle’s lighting via an Arduino and LED driver, and features an nRF24L01 wireless module to communicate with others in the vicinity. When another rider is encountered, the bikes sync their lights up automatically. 

The team has already designed and fabricated prototypes, then strapped them onto local city bike share program bikes for testing. 

It’s an interesting effect when two bikes pass, but as shown in the video below, things get much more fascinating when a handful of bikes can coordinate both their direction and light pattern.

As bikes navigate city streets after dark, they are often equipped with lights. The lights make the bikes visible to cars or other bikers, and the hazards of traffic less dangerous.

Imagine that as solitary bikes come together, their lights begin to pulsate at the same cadence. The bikers may not know each other, or may only be passing each other briefly, but for the moments they are together, their lights synchronize. The effect is a visually united presence, as groups of bikes illuminate themselves with a gently pulsing, collective light source.

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 on.

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.

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 lens 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.

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. 

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.

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.

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.

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

While the hoverboard craze has faded somewhat, the good news is that this means their powerful wheel motors can easily be found on online auction sites. Felix von Drigalski took advantage of this component’s availability, and created his own “HoverBot” which acts as something in between a radio-controlled skateboarder and a rather large self-balancing bot.

The device is built around an Arduino Mega, which takes input from an RC receiver, along with a Bosch BNO055 IMU, and passes appropriate signals to the motors through an ODrive controller. 

The HoverBot is a bit unsteady at high speeds, requiring close operator supervision. However, it looks like a lot of fun, especially when attempting tricks—sometimes successfully—at a skate park in the video below.

Microcontroller demo boards such as the Arduino UNO are ubiquitous on Hackaday as the brains of many a project which inevitably does something impressive or unusual. Sometime someone builds a particularly tiny demo board, or an impressively large one. In the case of the board featured here, the Arduino is a gorgeous labor of love which can’t really be called a board since there is no PCB. Instead of the traditional fiberglass, [Jiří Praus] formed brass bars into the circuitry and held it together with solder.

This kind of dedication to a project leaves an impression. His notes show he saw the barest way to operate an ATMega328, built it, tested, and moved on to the power supply to make it self-sustaining, then onto the communication circuit, and finally the lights. The video below shows a fully-functional Arduino happily running the blink program. He plans to encase the brass portion in resin to toughen it up and presumably keep every bump from causing a short circuit. The components are in the same position due to a custom jig which means a standard shield will fit right into place.

The Arduino started far less flashy yet nearly as fragile, and it has grown. And shrunk.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook