Posts with «arduino» label

Circuit Bent Casio SK-1 gets an Arduino Brain

The Casio SK-1 keyboard is fairly well-known in the “circuit bending” scene, where its simple internals lend themselves to modifications and tweaks to adjust the device’s output in all sorts of interesting ways. But creating music via circuit bending the SK-1 can be tedious, as it boils down to fiddling with the internals blindly until it sounds cool. [Nick Price] wanted to do something a bit more scientific, and decided to try replacing his SK-1’s ROM with an Arduino so he could take complete control it.

Replacing the ROM chip with header pins.

That’s the idea, anyway. Right now he’s gotten as far as dumping the ROM and getting the Arduino hooked up in place of it. Unfortunately the resulting sound conjures up mental images of a 56K modem being cooked in a microwave. Clearly [Nick] still has some work ahead of him.

For now though, the progress is fascinating enough. He was able to pull the original NEC 23C256 chip out of the keyboard and read its contents using an Arduino and some code he cooked up, and he’s even put the dump online for any other SK-1 hackers out there. He then wrote some new code for the Arduino to spit data from the ROM dump back to the keyboard when requested. In theory, it should sound the same as before, but with the added ability to “forge” the data going back to the keyboard to make new sounds.

The result is what you hear in the video linked after the break. Not exactly what [Nick] had in mind. After some snooping with the logic analyzer, he believes the issue is that the Arduino can’t respond as fast as the original NEC chip did. He’s now got an NVRAM chip on order to replace the original NEC chip; the idea is that he can still use the Arduino to reprogram the NVRAM chip when he wants to play around with the sound.

We’ve covered some pretty fancy circuit bent instruments here in the past, but if you’re looking for something a bit easier to get your feet wet we ran a start-to-finish guide back in the Ye Olden Days of 2011 which should be helpful.

Automated IC testing with Arduino Mega

Arduino boards by themselves are, of course, great for making a wide array of projects. Sometimes, however, you’ll need to add other integrated circuits (ICs) for extra functionality. If you want to be absolutely sure that the IC you’re using in your project is working correctly, this tester by Akshay Baweja will input the signals to the device, and analyze the outputs that it produces on a 2.4” touchscreen.

While this type of equipment would normally be quite expensive, Baweja’s Arduino Mega-powered gadget can be built for around $25.

I designed a shield for all components to fit-in and chose the Arduino Mega as my microcontroller board since both the ZIF Socket and LCD can be put side by side giving the build a compact and portable look and feel.

Be sure to check it out being demonstrated below, and if you want to create your own, code can be found on GitHub.

I’ll Have a Beer With a Compliment Chaser

[Andrew MacPherson] found out that compliments, even insincere ones, make the recipients feel better. So, he put together a thermal printer and a hilariously large button with an Arduino and created a machine that prints compliments. And where best to put a machine that prints out compliments? The local bar, where else?

An Arduino Nano clone runs the show connected to a thermal printer. The Nano clone didn’t like the 9 volt power supply, so a buck converter was used to reduce the voltage down to 5 volts for the Nano, while the printer gets the full power. During initial trials, the printer was very slow to print and it took [Andrew] a while to adjust the parameters – after tweaking the speed as well as the heating time, he was able to get the printer working without burning the paper or taking forever to print.

Once the machine was working, it was time to add a button. A large, light-up button was connected and glued to the side of the printer. More glue was used (after some “modifications” to the printer chassis) to secure a barrel connector for the power adapter.

[Andrew] decided that since he’s down at his favorite bar quite a lot, he’d set it up there. The customers could push the button and receive a compliment while drowning their sorrows. He got a friend of his who’s a copywriter to come up with some nicely written compliments to print out. The printer was such a hit that the bartender sent [Andrew] a message on Facebook saying so. If you have a thermal printer lying around, you can use this tutorial to connect it to the internet, or, if you don’t have one, you can build your own.

Junk Build Printer Uses Pencil To Print

Sometimes, it is interesting to see what you can build from the bits that you have in your junk drawer. [Dr West] decided to build a printer with spare parts including a hard drive, a scanner base and an Arduino. The result is a rather cool printer that prints out the image using a pencil, tapping the image out one dot at a time. The software converts the image into an array, with 0 representing white and 1 representing black. The printer itself works a bit like an old-school CRT TV: the scanner array moves the printer along a horizontal line, then moves it vertically and along another horizontal line. It then triggers the hard drive actuator to create a mark on the paper if there is a 1 in the array at that point.

We’ve seen a few drawing printers before, but most use a plotter or CNC approach, where the motors move the pencil on an X-Y . This type of dot matrix printer (sometimes called a dotter) isn’t as efficient, but it’s a lot of fun and shows what can be achieved with  a few bits of junk and a some ingenuity.

Kid’s kitchen beeps with the help of an Arduino

While Roald Hendriks is quite pleased with the build quality of the IKEA DUKTIG play kitchen, it does lack one thing—the ability to say “beep.”

This feature was requested by his daughter, who for her third birthday wanted “a kitchen that says beep, just like mommie’s.” Not wanting to disappoint, he dutifully installed an Arduino, along with a real-time clock module, buttons, and a speaker to allow her to set the cooking time, and have it count down just like the adult equivalent.

The mods are extremely well done, and the buttons and time display on the front look like they were meant to be there. Hendriks even installed lighting inside the oven so she can see what she’s baking!

Check it out in the video below!

Arduino Blog 31 Jan 19:56

Rotary encoders and Arduino combine for awesome universal remote

In his latest hack, “Matlek” has come up with an entirely new take on the universal remote, using a pair of rotary encoders instead of an array of buttons to output up to 400 individual signals.

One 20-step encoder in his remote selects the device to be controlled, while the other picks the function, like changing the volume or channel.

Pressing down on a built-in button on the action selection encoder executes a command, while if it’s held down for long enough, it can be programmed via an IR receiver. An Arduino is used to control the gadget because of its small size, and the project expands on several helpful concepts like SD card usage and IR signaling.

Of course, the remote has an IR receiver to “absorb” the IR signals of the remotes you want to “clone”, and an IR LED to send them. These protocols are saved on a microSD card, therefore you can switch OFF the remote (and the Arduino board), it keeps the information concerning the signals on the microSD card. There are also 2 rotary encoders with 20 positions each, and that is how you can have 400 buttons. Each rotary encoder is also a pushbutton. There is a LED to inform whether the universal remote is receiving or sending IR signals. This device works on a Lithium Ion battery (18650 cell), so it is portable. And finally, there is a switch, so you can switch it ON and OFF.

Want to create one of your own? You can find out Matlek’s entire tutorial here.

Automatic guitar strumming with Arduino Uno and chopsticks

If you like to make music, but don’t consider yourself particularly talented, YouTuber Make It And Fake It has come up with an innovative solution.

Her device uses an Arduino Uno, along with a hobby servo motor to move a pair of chopsticks that holds the pick. This means that the guitar can literally strum itself, and thanks to a small control box, she can even select from one of three rhythm patterns.

If you’re wondering what this could be used for, the answer comes at 1:40 in the demonstration video, where Make It And Fake It is shown drinking tea, playing another instrument, and even texting her mom while still producing music from the guitar. Code for the build can be found on GitHub.

Strumbot: The Guitar that Strums Itself

[Clare] isn’t the most musically inclined person, but she can strum a guitar. Thanks to a little help from an Arduino, she doesn’t even have to do that.

She built the strumbot, which handles the strumming hand duties of playing the guitar. While [Claire] does believe in her strumbot, she didn’t want to drill holes in her guitar, so hot glue and double-sided foam tape were the order of the day.

The business end of the strumbot is a micro servo. The servo moves two chopsticks and draws the pick across the strings. The tiny servo surprisingly does a great job getting the strings ringing. The only downside is the noise from the plastic gears when it’s really rocking out.

Strumbot’s user interface is a 3D-printed case with three buttons and three LEDs. Each button activates a different strum pattern in the Arduino’s programming. The LEDs indicate the currently active pattern. Everything is powered by a USB power pack, making this a self-contained hack.

[Clare] was able to code up some complex strum patterns, but the strumbot is still a bit limited in that it only holds three patterns. It’s good enough for her rendition of “Call Me Maybe”, which you can see in the video after the break. Sure, this is a simple project, not nearly as complex as some of the robotic guitar mods we’ve seen in the past. Still, it’s just the ticket for a fun evening or weekend project – especially if you’re introducing the Arduino to young coders. Music, hacking, and modding – what more could you ask for?

 

Add an Arduino-based tachometer to your CNC router

In order to get a good cut with a CNC router, the cutting tool speed needs to be properly set. Since his CNC didn’t come with RPM feedback, Troy Barbour came up with his own solution using an Arduino Nano along with an IR emitter/sensor pair.

The spindle was set up with a single reflective surface, enabling it to sense one pulse per revolution that is sent to the Arduino at up to up to 30,000 RPM. To ensure accurate measurement, the device was programmed using an interrupt, meaning that if another process is running, it will temporarily drop what it’s doing and count the incoming pulse.

RPM is displayed on a tiny OLED screen, which shows both an RPM number as well as a dial indicator for quick reference.

Build an optical RPM indicator for your CNC router with an Arduino Nano, an IR LED/IR photodiode sensor and an OLED display for less than $30. I was inspired by eletro18’s Measure RPM – Optical Tachometer Instructable and wanted to add a tachometer to my CNC router. I simplified the sensor circuit, designed a custom 3D-printed bracket for my Sienci CNC router. Then I wrote an Arduino sketch to display both a digital and analog dial on an OLED display.

You can see it in action below, and find build instructions and code on Barbour’s write-up.

GO-4 SMART HOME ARDUINO BOT

Primary image

What does it do?

IOT Robot

In this project I will

Cost to build

$50, 00

Embedded video

Finished project

Number

Time to build

24 hours

Type

URL to more information

Weight

150 grams

read more