Posts with «arduino» label

Ikea Standing Desk Goes Dumb to Smart on LIN Bus

IKEA’s products are known for their clean, Scandinavian design and low cost, but it is their DIY or “assemble it yourself” feature that probably makes them so popular with hackers. We seem to receive tips about IKEA hacks with a consistent regularity. [Robin Reiter] has a Bekant Sit/Stand motorized table with buttons to raise and lower the surface, but it doesn’t have any memory presets. That’s a shame because it requires a lot of fiddling with the up/down buttons to get it right every time. It would be nice to press a button, go grab a Coffee, and come back to find it adjusted at the desired height. With a little bit of hacking, he was able to not only add memory preset buttons, but also a USB interface for future computer control.

The existing hardware consists of a PIC16LF1938 micro-controller with two buttons for movement control and a LIN bus  protocol which communicates with the automotive grade motors with integrated encoders that report position values. After a bit of sniffing around with his oscilloscope and analyzer, he was able to figure out the control codes for the motor movements. For some strange reason, however, the LIN signals were inverted, so he had to introduce a transistor signal inverter between the PIC master and the Arduino Nano that would act as a slave LIN node. Software was made much easier thanks to an Arduino library developed by [Zapta] for the LIN Bus signal Injector, The controls now have four buttons — two to replicate the original up/down movements, and the other two to act as memory presets.

The code, schematic and a simple wiring layout are posted on Github, in case there are others out there who’d like to replicate this hack. Check out the video after the break where he gives a walk through the code.


Filed under: hardware, home hacks

A Blissful Microwave

[Tim] had a problem with his microwave. The buzzer was exceptionally annoying, and once his hot pockets or pizza rolls were done, the buzzer wouldn’t shut off. A two-kilohertz tone infected his soul. It was the only sound echoing in a Boschian nightmare of reheated frozen food.

Unlike an existential ennui, an annoying buzzer in a microwave is something anyone can fix. [Tim] just took a pair of pliers to the buzzer and ripped it off the PCB. This left him with another problem — how to tell when his food was done. This was solved by putting the Windows XP startup sound in his microwave.

With the buzzer out of the way, [Tim] took an Arduino nano and loaded it up with the Windows XP startup sound. There isn’t much Flash on the Arduino, but it could hold an 18kB sample, enough to play the startup sound at 8kHz. The sound itself is PCM audio and easily stuffed into a sketch.

The Arduino listens for the 2kHz tone generated by the microwave and sends the XP startup sound through a tiny class D amplifier. After mounting a speaker inside the microwave, [Tim] has a very vaporwavemicrowave.

[via Hackaday.io]


Filed under: home hacks
Hack a Day 10 Feb 09:01

Modular portable conveyor belt

When teaching Industrial Automation to students, you need to give them access to the things they will encounter in industry. Most subjects can be taught using computer programs or simulators — for example topics covering PLC, DCS, SCADA or HMI. But to teach many other concepts, you  need to have the actual hardware on hand to be able to understand the basics. For example, machine vision, conveyor belts, motor speed control, safety and interlock systems, sensors and peripherals all interface with the mentioned control systems and can be better understood by having hardware to play with. The team at [Absolutelyautomation] have published several projects that aim to help with this. One of these is the DIY conveyor belt with a motor speed control and display.

This is more of an initial, proof of concept project, and there is a lot of room for improvement. The build itself is straightforward. All the parts are standard, off the shelf items — stuff you can find in any store selling 3D printer parts. A few simple tools is all that’s required to put it together. The only tricky part of the build would likely be the conveyor belt itself. [Absolutelyautomation] offers a few suggestions, mentioning old car or truck tyres and elastic resistance bands used for therapy / exercise as options.

If you plan to replicate this, a few changes would be recommended. The 8 mm rollers could do with larger “drums” over them — about an inch or two in diameter. That helps prevent belt slippage and improves tension adjustment. It ought to be easy to 3D print the add-on drums. The belt might also need support plates between the rollers to prevent sag. The speed display needs to be in linear units — feet per minute or meters per minute, rather than motor rpm. And while the electronics includes a RS-485 interface, it would help to add RS-232, RS-422 and Ethernet in the mix.

While this is a simple build, it can form the basis for a series of add-ons and extensions to help students learn more about automation and control systems. Or maybe you want a conveyor belt in your basement, for some reason.


Filed under: Arduino Hacks, hardware

An extremely well thought out marriage proposal with Arduino

Once solved via a series of brain teasers and a physical challenge, this puzzle box opens to reveal an engagement ring.

When proposing to your significant other, the normal course of action is to hopefully do something romantic, get on one knee, and present your hopefully soon-to-be fiancé with a ring. David Hoskins however, apparently confident that his girlfriend would have the will as well as the mental and physical capacity to pass his test, instead created “The Box.”

This device put the user through challenges including a water weight puzzle that will be familiar to Die Hard fans, an audio puzzle, a visual puzzle, and even an endurance challenge involving an exercise bike. Of course, if his girlfriend failed to complete the puzzle, that would really ruin the setup, so Hoskins, who got the idea for the game while studying for a masters degree in user experience design, tested things thoroughly beforehand.

Things apparently proceeded as planned, since she said “yes!”

“The Box” was an interactive puzzle game not too dissimilar to the likes of the Crystal Maze or Escape the Room, where the user has to solve a series of puzzles (in my case, 4) to unlock the final prize (for me, an engagement ring). The game utilized a mixture of spatial engagement technology, utilizing Arduinos to connect physical objects and beacons to guide and inform the user as they passed through physical spaces undertaking each challenge.

You can read more about Hoskins’ project and the testing that went into it here.

A DIY Laser Scanning Microscope

With a DVD pick-up, an Arduino Uno, a laser, and an LDR, Instructables user “Venkes” has managed to create a DIY Laser Scanning Microscope (LSM).

A laser microscope works by shining a beam of light on a subject in an X-Y plane. The intensity of the reflected light is then detected by a photoresistor (or LDR) and recorded. When the various points of light are combined, you get an image.

Obviously you need a very small laser beam. Since a DVD laser unit has to work with the extremely small bit markings on these disks and has coils to steer the lens built-in, this seems like a logical choice to use with a custom microscope. Though it took quite a bit of effort to make, it’s capable of 1300x magnification to attain a resolution of 65,6536 pixels (256 x 256) in an area of .05 x .05mm. Results start around 3:00 in the video below.

More details of this impressive build can be found on the project’s Instructables page.

Laser Scanning Microscope

Remember that feeling when you first looked down on a microscope? Now you can re-live it but in slightly different way. [Venkes] came up with a way to make a Laser Scanning Microscope (LSM) with mostly off the shelf components that you probably have sitting around, collecting dust in your garage. He did it using some modified DVD pick-ups, an Arduino Uno, a laser and a LDR.

EPROM die shot

To be honest, there’s some more stuff involved in the making of the LSM but [Venkes] did a detailed Instructable explaining how everything fits together. You will need a fair dose of patience, it’s not very easy to get the focus right and it’s quite slow, an image takes about half an hour to complete, but it can do 1300x amplification at 65k pixels (256×256). From reading the instructions it seems that you will need a steady hand to assemble it together, some steps look kind of tricky. On the software side, the LSM uses Arduino and Processing. The Arduino part is responsible for the steering of the lens and taking the LDR readings. This information is then sent to Processing which takes care of interpreting the data and translate it to an image.

The build difficulty level should be between the DIY Smartphone Microscope and the Laser Sequencer Super Microscope. In the end, if everything goes right, you will end up with some cool images:

 


Filed under: hardware
Hack a Day 09 Feb 00:00
arduino  hardware  laser  lsm  microscope  

Teleknitting: TV-based string art

Have you ever wondered what television would look like if transposed onto string and wrapped around another object? If so, you’re not the only one, as shown in this teleknitting sculpture.

Although it’s hard to say where the idea for this piece came from, Moscow-based artist ::vtol::’s teleknitting installation resolves a TV signal down into one pixel by lowering its resolution in eight steps. This process is displayed as video on an Android tablet, and the results are transferred to thread via a unique dying mechanism involving “dye arms.”

This multi-colored string is then wrapped around an object (or objects) rotating on a pedestal, the height of the string being controlled by the TV signal’s volume.

As you can see below, the character Bender from Futurama along with an alligator bearing an accordion act as the items being wrapped in TV-string. You can find more details of this build on ::vtol::’s website, along with a number of his other Arduino-based interactive projects.

Temperature logger using arduino and thingspeak

Hello Arduino lovers,

In this tutorial, we are making a temperature logger using arduino and thingspeak.
Let's start

Things required:

  1. Arduino Uno
  2. LM35
  3. Sim900 module
  4. Internet pack 
  5. Thinkspeak account




Make connections as given in the diagram. Connect Tx of GSM module to pin number 7 of arduino board and Rx of of GSM module to pin number 8 of arduino uno and ground should be common between these two.
Output of LM35 should be connected to A0 of arduino board.
Arduino Uno GSM module LM35
Pin no. 7 Tx
Pin no. 8 Rx
Pin no. A0 Output of Lm35
Download code from link below
Now, upload the code

Video:

Hope, you guys had enjoyed the video

Thanks for visiting my blog



Start your day with Nerf target practice!

If you need motivation to actually wake up rather than sleep more, this Nerf target clock from “Normal Universe” could be a great solution!

For many of us, traditional alarm clocks have given way to smartphones, but the concept is still the same: an annoying sound, followed by either waking up, or hitting the virtual snooze button just… one… more… time. On the other hand, when this alarm goes off, you need to shoot it with a Nerf gun in order to silence it.

The alarm/target works using a piezoelectric sensor attached to the clock’s housing. When the alarm sounds, if it senses a dart hit by counting the signal pulses generated, it turns off. Ingeniously, and perhaps annoyingly, it can tell if it’s tapped by a finger, and not respond accordingly!

The clock uses a programmable RGB ring controlled by an Arduino Uno to display the time, and is nicely modeled in Fusion 360. Definitely worth a watch.

You can see more details in the video below!

Tertiarm - low cost, 3d printed robot arm based on Ikea lamp

Primary image

What does it do?

Move things, push buttons, etc.

Cost to build

Embedded video

Finished project

Complete

Number

Time to build

Type

URL to more information

Weight

read more

Let's Make Robots 07 Feb 15:54