Posts with «arduino» label

Upgrading a ride-on car to a joystick-controlled assistive device

Child-sized wheelchairs can be difficult to come by, and unfortunately aren’t as much fun as something like a ride-on car. The South Eugene Robotics Team, or FRC2521, decided to address both challenges by building a mini Jeep augmented for kids with limited mobility.

Instructions found here detail how to modify the battery-powered toy, including what can be recycled and what extra parts will need to be purchased. In the new configuration, the Jeep’s two rear motors are configured for differential control, with the input regulated by an Arduino Nano and a pair of electronic speed controllers (ESCs). 

In this project, a joystick replaces the original pedal and steering wheel, and it looks like a lot of fun when implemented in the similarly-outfitted firetruck below.

Vintage Mini Inkjet Prints On-Demand ASCII Art

Readers of a certain age may fondly remember ASCII art emerging from line printers in a long-gone era of computing; for others, it’s just wonderfully retro. Well, when [Emily Velasco] found a vintage Kodak Diconix 150 inkjet at a local thrift store for $4, she knew what she had to do: turn it into a dedicated ASCII-art machine.

Dating to the mid-1980s, the diminutive printer she scored was an early example of consumer inkjet technology; with only 12 “jets,” it sported a resolution roughly equivalent to the dot-matrix impact printers of the day. [Emily] notes that this printer would have cost around $1000 in today’s money — this is from a time before printer companies started selling the printer itself as a loss leader to make revenue on the back end selling consumables. It seems you can’t escape the razor-and-blades model, though: [Emily] had to pay $16 for a new ink cartridge to revive the $4 printer.

With the new ink in place, and some tractor-feed paper acquired, [Emily] started work on the art generator. The concept is something that might have been sold on late-night TV ads: a “cartridge” you plug into your printer to make ASCII masterpieces. Starting with a stripped-down Centronics printer cable that matches the printer’s port, she added an Arduino nano to store and serve up the art. The user interface is foolproof: a single button press causes a random selection from one of ten ASCII images to be printed. The whole thing is ensconced within a slick 3D printed case.

One of the coolest aspects of this project is the lack of power supply. When she first hooked the Arduino to the printer’s parallel port, [Emily] noticed that it powered right up with no external supply, and in true hacker fashion, just ran with it. Upon reflection, it seems that power is being supplied by the printer status lines, Busy and/or Ack, through the input protection diodes of the Atmega328 on the nano.

We really like this project, and are more than a little bummed we tossed those old printers that were kicking around the Hackaday labs for years. If you still have yours, and would like turn out some rad ASCII art, the code for this project is up on GitHub.

We’re no strangers to [Emily]’s work, but if you aren’t familiar with it, check out her inspiring talk from the 2019 Hackaday Superconference. Meanwhile, don’t miss the excellent video about the ASCII art printer cartridge, after the break.

Hack a Day 09 Jan 16:30

Scale model Oldsmobile Dynamic 88 wagon handles like the real thing

Model cars can be fun to use and look at, but when driving one it’s difficult to get the same sort of movement in the suspension as a full-sized vehicle. To enhance his 65cm long 8.5:1 Oldsmobile Dynamic 88, creator Dimitar Tilev turned to an active suspension system controlled by four micro servo motors.

When maneuvering the little beast, an Arduino board along with an MPU-6050 IMU allow it to raise and lower each wheel individually based on the forces it experiences, giving an amazing approximation of an actual car’s behavior. 

The build also features a sound effects system to simulate engine noises and exhaust pops, and an attention to detail in the styling that sets it apart as something really special. 

More info on the project can be found in Tilev’s blog post or see it in action in the videos below! 

Arduino Blog 08 Jan 16:49

Fabric(ated) Drum Machine

Some folks bring out an heirloom table runner when they have company, but what if you sewed your own and made it musical? We’d never put it away! [kAi CHENG] has an Instructable about how to recreate his melodic material, and there is a link to his website, which describes his design process, not just the finished product. We have a video below showing a jam session where he exercises a basic function set.

GarageBand is his DAW of choice, which receives translated MIDI from a Lilypad. If you don’t have a Lilypad, any Arduino based on the ATmega328P chip should work seamlessly. Testing shows that conductive threads in the soft circuit results in an occasional short circuit, but copper tape makes a good conductor  at the intersections. Wide metallic strips make for tolerant landing pads beneath modular potentiometers fitted with inviting foam knobs. Each twist controls a loop in GarageBand, and there is a pressure-sensitive pad to change the soundset. Of course, since this is all over MIDI, you can customize to your heart’s content.

MIDI drums come in all shapes and sizes, from a familiar game controller to hand rakes.

Tiny Machine Learning On The Attiny85

We tend to think that the lowest point of entry for machine learning  (ML) is on a Raspberry Pi, which it definitely is not. [EloquentArduino] has been pushing the limits to the low end of the scale, and managed to get a basic classification model running on the ATtiny85.

Using his experience of running ML models on an old Arduino Nano, he had created a generator that can export C code from a scikit-learn. He tried using this generator to compile a support-vector colour classifier for the ATtiny85, but ran into a problem with the Arduino ATtiny85 compiler not supporting a variadic function used by the generator. Fortunately he had already experimented with an alternative approach that uses a non-variadic function, so he was able to dust that off and get it working. The classifier accepts inputs from an RGB sensor to identify a set of objects by colour. The model ended up easily fitting into the capabilities of the diminutive ATtiny85, using only 41% of the available flash and 4% of the available ram.

It’s important to note what [EloquentArduino] isn’t doing here: running an artificial neural network. They’re just too inefficient in terms of memory and computation time to fit on an ATtiny. But neural nets aren’t the only game in town, and if your task is classifying something based on a few inputs, like reading a gesture from accelerometer data, or naming a color from a color sensor, the approach here will serve you well. We wonder if this wouldn’t be a good solution to the pesky problem of identifying bats by their calls.

We really like how approachable machine learning has become and if you’re keen to give ML a go, have a look at the rest of the EloquentArduino blog, it’s a small goldmine.

We’re getting more and more machine learning related hacks, like basic ML on an Arduino Uno, and Lego sortings using ML on a Raspberry Pi.

Arduino goes PRO at CES 2020

We’re kicking off this year’s CES with some big news.

Millions of users and thousands of companies across the world already use Arduino as an innovation platform, which is why we have drawn on this experience to enable enterprises to quickly and securely connect remote sensors to business logic within one simple IoT application development platform: a new solution for professionals in traditional sectors aspiring for digital transformation through IoT. 

Combining a low-code application development platform with modular hardware makes tangible results possible in just one day. This means companies can build, measure, and iterate without expensive consultants or lengthy integration projects.

Built on ARM Pelion technology, the latest generation of Arduino solutions brings users simplicity of integration and a scalable, secure, professionally supported service. 

By combining the power and flexibility of our production ready IoT hardware with our secure, scalable and easy to integrate cloud services we are putting in the hands of our customers something really disruptive,” commented Arduino CEO Fabio Violante. “Among the millions of Arduino customers, we’ve even seen numerous businesses transform from traditional ‘one off’ selling to subscription-based service models, creating new IoT-based revenue streams with Arduino as the enabler. The availability of a huge community of developers with Arduino skills is also an important plus and gives them the confidence to invest in our technology”.  

But that’s not all. At CES 2020, we are also excited to announce the powerful, low-power new Arduino Portenta family. Designed for demanding industrial applications, AI edge processing and robotics, it features a new standard for open high-density interconnect to support advanced peripherals. The first member of the family is the Arduino Portenta H7 module – a dual-core Arm Cortex-M7 and Cortex-M4 running at 480MHz and 240MHz, respectively, with industrial temperature-range (-40 to 85°C) components. The Portenta H7 is capable of running Arduino code, Python and JavaScript, making it accessible to an even broader audience of developers.

The new Arduino Portenta H7 is now available for pre-order on the Arduino online store, with an estimated delivery date of late February 2020.

Adaptive Field Robot changes wheel shape to overcome various terrain

If your robotic vehicle will only work on smooth surfaces, the choice of a wheel is obvious. For more rugged bots, the same applies with knobby wheels. For those that need to operate in both environments, however, the Adaptive Field Robot presents a new solution in the form of wheels that actually change dynamically depending on the terrain.

This Arduino-powered robot is able to transform its two driving wheels from a nearly circular shape into a claw-like arrangement using secondary motors that rotate along with the wheel assembly.

When the bot detects a difference in terrain via an ultrasonic sensor, the motors springs into action, activating a rack-and-pinion system that expands the two halves of the wheel into “claw mode.” 

Be sure to check out this innovative robot in the video below, including some trial-and-error during the development process.

Hundreds of LED triangles combine for brilliant interactive display

If you need another idea for how to creatively diffuse LED lighting, then look no further than the “Light Me Up!” project by Hyewon Shin, Eunjeong Ko, and Junsung Yi. 

Their setup uses 312 3D-printed and laser-cut light triangles, each of which contains a trio of RGB LEDs. Users select the desired light by pressing the triangles themselves, via buttons concealed beneath the main assembly. Several Arduino boards are used to control the massive structure.

With such an involved triangular display, a number of interesting 3D-like shapes and even words can be created by users. Alternatively, smaller triangle arrangements can also be constructed using the same build concepts. 

This project has several triangles that form a hexagonal shape. So you can create stereoscopic patterns according to how you design light! Just press each piece and various colors will be gradated, and when the color you want comes out, just hit the hand you pressed and it will continue to shine beautifully with the color you wanted!

Check out its triangular luminescence in the videos below!

Will Cogley’s tester controls 16 servos simultaneously

When you need to test a single servo, it’s a fairly straightforward task. Just hook it up to an Arduino to generate the proper PWM signal, along with an appropriate power supply, and you’re in business. If, however, you need to test a bunch of them at the same time, things get a bit more complicated.

To solve this challenge for another project he’s working on, Will Cogley built a 3D-printed tester capable of experimenting with 16 servos at the same time.

The device runs on an Uno, and uses four potentiometers and two buttons for controlling the motors in sets of four. Settings from all 16 outputs are displayed on a 1.8” TFT screen and an Adafruit 16-channel driver is implemented to interface with the servos directly.

Arduino Blog 05 Jan 19:43

Arduino Wristwatch Has LED Hands

When you read “Arduino wristwatch”, you fall into the trap of envisioning an Arduino UNO clumsily strapped to someone’s wrist. [Marijo Blažević’s] creation is much more polished than that. A round circuit board holds two surface mount ICs and 12 LEDs. The whole thing looks nice fit snugly inside of a watch body. It isn’t a Rolex, but it does have considerable geek cred without being unwearable in polite company.

Once IC is an AVR micro, of course. The other is a DS3231 real time clock with built-in crystal. A CR2032 keeps it all running. The main body, the outer ring, the bottom, and the buttons are 3D printed in PLA. The crystal and the band are the only mechanical parts not printed. The bill of materials shows a 36mm crystal and even provides links for all the parts.

You don’t want to run LEDs all the time because it is bad on the battery. When you press the button once, you get one of the LEDs to light to show the hours. Another press reads the minutes in units of 5 minutes. A third press shows you one of five LEDs to show how many minutes to add. For example, if the time is 9:26 you’d get LED 9 (hours), LED 5 for 25 minutes, and the third press would show LED 1 for 1 extra minute. If either of the minute indicators show 12 o’clock, that indicates zero minutes.

The exciting thing, of course, is that you can program it beyond the code on GitHub. Already it can tell time and display the temperature. You don’t have a lot of I/O, but you ought to be able to get some more options and maybe some flashy LED blinking patterns in if you try.

Hack a Day 05 Jan 09:01