Posts with «arduino» label

Plywood printer uses a unique mix of manufacturing methods

Sure, we’ve seen low-cost DIY 3D printers with wooden frames before, but not a 3D printer that actually ‘prints’ wood. That’s exactly what Shane Wighton and his Formlabs hackathon team have done. (Although probably more along the lines of a hybrid additive/subtractive CNC machine that makes parts out of 3/4″ plywood.)

The device first cuts each layer out with a router, applies glue automatically, and then feeds subsequent layers onto a stack to be cut in the same manner. The result of these combined layers is a block of wood with a very large “benchy” inside, revealed with a bit of manual cutting.

Motion control is handled by an Arduino Due, which interfaces with a number of stepper drivers to move the router, while an off-the-shelf relay board triggers the pneumatics, lights, and even a horn to indicate when a job is complete.

More details on the build are available in Wighton’s write-up here and you can see it in action below!

HDMI From Your Arduino

Creating a video signal from a computer, a job that once required significant extra hardware, is now a done deal with a typical modern microcontroller. We’ve shown you more NTSC, PAL, and VGA projects than you can shake a stick at over the years. Creating an HDMI video signal however is not so straightforward. It’s not a loosely defined analogue standard but a tightly controlled digital one upon which the clever hacks that eke full colour composite video from a single digital I/O pin will have little effect. Surely creating them from a simple microcontroller will be impossible! Not according to [techtoys], who has created an Arduino shield that creates an HDMI output from an SPI control input.

At its heart are two interesting integrated circuits that give us a little bit of insight into creating graphics at this level. First up is an RA8876 MIPI TFT controller which is a full graphics engine that produces a digital RGB output, followed by a CH7035B HDMI encoder that produces an HDMI output from the RGB. This combination of chips is particularly interesting one, because the RA8876 supports a variety of different interfaces that between them should be able to talk to most microcontrollers. In the Arduino world the only other HDMI options come via the use of an FPGA.

This is a project that seems to have been around for a couple of years, but which is still an active one. The classic Arduino shield form factor may now seem a little past its zenith, but as this board shows it’s still capable of being used for interesting new applications.

Thanks [th_in_gs] for the tip.

Hack a Day 26 Jul 09:00

Low-quality wireless audio transmission with Arduino

After considering the price of helmet-mounted headsets for motorcycle or moped use, YouTuber GreatScott! decided to try making his own. His walkie-talkie prototype consisted of two Arduino Nano boards, using nRF24L01+ transceivers and a small speaker for PWM audio output.

After a test demonstrating wireless transmission, the design was transferred to custom PCBs, programming their ATmega328P with an Uno acting as an ISP. The audio results are, at this point, barely intelligible. Nevertheless, it’s an interesting experiment, showing that this type of communication is possible using the RF24Audio library with an Arduino-based system. 

If you think you could do things better, or that he’s missed something obvious, the PCB design is available here, so be sure to chime in on the video’s comments if you have an idea!

Arduino Blog 25 Jul 22:00

Visualizing magnetic fields in three dimensions with an Arduino magnetometer

As humans, we can’t detect magnetic fields, but we take advantage of this phenomenon every day in the form of motors and various sensors. Even electrical wire produces a field when current flows through it. You can sense magnetism with a compass, but if you want to visualize it in three dimensions, maker ‘amamitof7’ has a solution in the form of this Arduino magnetometer.

The device uses a trio of analog Hall effect sensors to measure the strength of the magnetic field. This data is fed to a MKR WiFi 1010 (or Uno), which generates an isometric representation of the field on a small TFT display. 

One could see this used in a variety of diagnostic applications, or perhaps as an excellent physics teaching tool.

Control Your Web Browser Like It’s 1969

Imagine for a moment that you’ve been tasked with developing a device for interfacing with a global network of interconnected devices. Would you purposely design a spring-loaded dial that can do nothing but switch a single set of contacts on and off from 1 to 10 times? What kind of crazy world would we have to live in where something like that was the pinnacle of technology?

Obviously, such a world once existed, and now that we’ve rolled the calendar ahead a half-century or so, both our networks and our interfaces have gotten more complex, if arguably better. But [Jan Derogee] thinks a step backward is on order, and so he built this rotary phone web browser. The idea is simple: pick up the handset and dial the IP address of the server you want to connect to. DNS? Bah, who needs it?

Of course there is the teensy issue that most websites can’t be directly accessed via IP address anymore, but fear not – [Jan] has an incredibly obfuscated solution to that. It relies on the fact that many numbers sound like common phrases when sounded out in Chinese, so there end up being a lot of websites that have number-based URLs. He provides an example using the number 517, which sounds a bit like “I want to eat,” to access the Chinese website of McDonald’s. How the number seven sounding like both “eat” and “wife” is resolved is left as an exercise to the reader.

And here we thought [Jan]’s rotary number pad was of questionable value. Still, we appreciate this build, and putting old phones back into service in any capacity is always appreciated.

Hack a Day 24 Jul 06:00
arduino  classic hacks  dial  dns  hid  homophone  ip  phone hacks  pulse  rotary  url  usb  

Standbeest-inspired ClearCrawler robot clomps around on 8 legs

When you want to build a walking robot, the normal route is to individually control each leg with a number of servos or other actuators. Maker Jeremy S. Cook, however, took a different approach with his ‘ClearCrawler,’ using only a pair of motors to power eight legs. These legs are divided up into sets of four on either side of the bot, allowing for differential control similar to a tank.

The leg linkage design is based on Theo Jansen’s Strandbeest mechanism, and a clear head is also implemented with a pair of 8×8 MAX7219 LED matrix eyes. Onboard control is handled by an Arduino Nano and an L298N driver board, while an Uno with a joystick shield serves as the user interface. Radio transmission is via two nRF24L01 modules.

Code for both the transmitter and receiver can be found on GitHub.

Arduino Blog 23 Jul 19:40

Probability-Based Drummer Leaves The Beats Up To Chance

Drum machines may seem like one of the many rites of passage for hardware makers, they’re a concept you can implement simply or take into the extreme making it as complex as you want. [Matt’s] DrumKid is one of them, and its long development history is wonderfully documented in the project logs.

[Matt’s] original intention was to use the automatic drummer as part of his band, wanting “the expressiveness of a good drummer but without the robotic tendencies of a simple drum machine”. For that, he created the first iteration of the DrumKid, a web-based project using the Web Audio API. The interface consisted of bars showing levels for different settings which could be intuitively tweaked, changing the probability of a drum sound being played. This gave the “drummer” its unpredictability, setting itself apart from any regular old drum machine.

Fast forward a few years, and [Matt] now wants to recreate his DrumKid as a proper piece of musical gear, porting the concept into a standalone hardware drum machine you can plug into your mixer. He decided to go with the Arduino framework for his project rather than the Teensy platform in order to make it cheaper to build. The controls are simplified down to a few buttons and potentiometers, and the whole thing runs off of three AAA batteries. Also, targeting the project for hardware like this allowed for new features to be added, such as a bit-crush filter.

We already saw the first prototype here on Hackaday when it was featured in a Hackaday Prize mentor session, and it’s nice to see how the project evolved since. After a number of revisions, the new prototype takes design cues from Teenage Engineering’s “Pocket Operator” drum machine, using the main PCB as its own faceplate rather than a 3D printed case in a familiar way we’ve seen before. Unfortunately, the latest board is non-functional due to a routing mistake, but you can see the previous working prototypes in his project logs.

The HackadayPrize2019 is Sponsored by:

Shower monitor helps you save water and money

You (hopefully) take regular showers or baths, but how much water do you use each time you step into your facilities? If you don’t know the answer, then this monitor by LiamOSM could be just what you need.

The device uses a flow sensor plumbed inline with a shower head, which transmits pulses to an Arduino Nano setup. This Nano, which resides in a nicely 3D-printed enclosure, measures these pulses and outputs the amount of water you’ve used to a 16×2 LCD screen, along with its cost calculated according to your particular utility rates. 

Using such a monitor would likely be an eye-opening experience, and the inexpensive flow sensor used here could be a great tool for other projects as well.

Which uses more water – a bath or a shower?

I was recently thinking about this question, and I realized that I don’t actually know how much water is used when I shower. I know when I’m in the shower sometimes my mind wanders, thinking about a cool new projects idea or trying to decide what to have for breakfast, while water is just gushing down the drain. It would be a lot easier to reduce my water consumption if I actually knew how many litres I was using each time!

I did a bit of research, and found that different shower heads can use anywhere from 9.5 litres (2.5 gallons) per minute to less than 6 litres (1.6 gallons) per minute, if you have a flow restrictor installed. A very old shower could use even more water. 

I decided to design and build a device that would display the total volume of water used per shower, the cost of the water, and the flow rate. I’ve had this device installed for a few weeks, and it’s really handy to have a live readout of the amount of water being used.

Zeus is a humanoid that can hold a conversation

As seen in the videos below, Zeus is a metallic humanoid robot capable of moving its head and arms around, featuring a pair of hand grippers that should be quite useful when the time comes. For now, creator Luis appears to be focusing on its vocal skills, with plans to eventually teach it how to walk.

The robot can engage in conversation with its companion, whether it’s answering questions like “What’s your name?” with“My name is Zeus,” or “What’s your favorite movie?” with “I wasn’t that impressed with the special effects, also the plot was not deep.” Zeus even lets Luis know when he “has no idea what to say.”

Zeus’ communication and movement are accomplished through a variety of hardware, including an Arduino Mega and an AAEON UP board, as well as an Intel RealSense Camera SR300 for vision. Luis is also using CMUSphinx for voice recognition, eSpeak for text-to-speech and AIML chatbot for interactive responses.

Perhaps we’ll see this ~1/2-sized humanoid traipsing around on its own in the future, though hopefully its comment about “taking over the world” was just a joke!

Upcycle an old coffee pot into an IoT ramen maker

Ramen noodles can be a quick snack or meal, but per this IoT ramen maker by Clem Mayer, you don’t even have to run to the microwave to prepare them. 

His project used a vintage electric filter coffee machine to heat and dribble water into the waiting brick-o-food, then a stepper-driven pusher adds flavor powder. More seasoning can be dispensed via a servo-actuated syringe, and another stepper is used to stir everything.

The setup is controlled by a MKR WiFi 1010 board, giving Mayer the ability to start meals/mix in hot sauce from the convenience of his phone via a simple web app. Results are… edible-ish, but if you want to build your own, files and more info can be found here.