[Sigurd] manage to obtain an old vending machine from his dorm. The only problem was that the micocontroller on the main board was broken. He and his friend decided they could most likely get the machine back into working order, but they also knew they could probably give it a few upgrades.
This system uses two Arduino Pro Minis and an Electric Imp to cram in all of the new features. One Arduino is connected to the machine’s original main board. The Arduino interfaces with some of the shift registers, relays, and voltage regulators. This microcontroller also lights up the buttons on the machine as long as that particular beverage is not empty. It controls the seven segment LED display, as well as reading the coin validator.
The team had to reverse engineer the original coin validator in order to figure out how the machine detected and counted the coins. Once they figured out how to read the state of the coins, they also built a custom driver board to drive the solenoids.
A second Arduino is used to read NFC and RFID cards using a Mifare RC522 reader. The system uses its own credit system, so a user can be issued a card with a certain amount of pre-paid credit. It will then deduct credit appropriately once a beverage is vended. The two Arduinos communicate via Serial.
The team also wanted this machine to have the ability to communicate with the outside world. In this case, that meant sending cheeky tweets. They originally used a Raspberry Pi for this, but found that the SD card kept getting corrupted. They eventually switched to an Electric Imp, which worked well. The Arduino sends a status update to the Imp every minute. If the status changes, for example if a beverage was dispensed, then the Imp will send a tweet to let the world know. It will also send a tweet to the maintenance person if there is a jam or if a particular slot becomes empty. Continue reading “A Tweeting Vending Machine”
[Connor] was working on a project for his college manufacturing class when he came up with the idea for this sleek desk lamp. As a college student, he’s not fond of having his papers glowing brightly in front of him at night. This lamp takes care of the problem by adjusting the color temperature based on the position of the sun. It also contains a capacitive touch sensor to adjust the brightness without the need for buttons with moving parts.
The base is made from two sheets of aluminum and a bar of aluminum. These were cut and milled to the final shape. [Connor] found a nice DC barrel jack from Jameco that fits nicely with this design. The head of the lamp was made from another piece of aluminum bar stock. All of the aluminum pieces are held together with brass screws.
A slot was milled out of the bottom of the head-piece to make room for an LED strip and a piece of 1/8″ acrylic. This piece of acrylic acts as a light diffuser. Another piece of acrylic was cut and added to the bottom of the base of the lamp. This makes for a nice glowing outline around the bottom that gives it an almost futuristic look.
The capacitive touch sensor is a pretty simple circuit. [Connor] used the Arduino capacitive touch sensor library to make his life a bit easier. The electronic circuit really only requires a single resistor between two Arduino pins. One of the pins is also attached to the aluminum body of the lamp. Now simply touching the lamp body allows [Connor] to adjust the brightness of the lamp.
[Connor] ended up using an Electric Imp to track the sun. The Imp uses the wunderground API to connect to the weather site and track the sun’s location. In the earlier parts of the day, the LED colors are cooler and have more blues. In the evening when the sun is setting or has already set, the lights turn more red and warm. This is easier on the eyes when you are hunched over your desk studying for your next exam. The end result is not only functional, but also looks like something you might find at that fancy gadget store in your local shopping mall.
The elevator at [Alex]’s office building has some quirks which make it very inconvenient to everyone in the building. The major problem was that the doors of the elevator at each floor stay locked until someone walks down the hall to hit a button. Obviously this was a hassle, so [Alex] built a controller that can remotely call and unlock the elevator. (Part 2 of the project is located on a separate page.)
The first step was to source the hardware and figure out exactly how the controls for the elevator worked. [Alex] decided to use an Electric Imp for this project, and after getting it connected to the Internet, he realized that he could power it directly off of the elevator’s 10V supply. From there, he used relays to interface the Electric Imp with the “elevator call” and “elevator unlock” buttons inside the elevator’s control panel.
Once the hardware side was completed, it was time to move on to the software side. [Alex] wrote a mobile app for a user interface that can be accessed from anywhere, and also wrote the code for the Electric Imp agent and the code that runs on the Electric Imp itself. Now, a simple tap of a button on a mobile device is enough to call the elevator or unlock it, rather than in the past where someone had to run down a hall to hit the button.
We hope there is some security on the mobile app, otherwise anyone in the world will be able to call the elevator and turn it into a passenger-less useless machine!
We all know that sound. That sound of a noisy yapping dog, or the sound of a disruptive garbage truck loudly picking up the trash while making a ruckus along the way. It can be extremely distracting and frustrating to deal with. And more often than not, we have little control over the noise pollution in the area. Unless of course, you build a monitoring solution to raise awareness of the situation, like this one that [Edmund] made.
It was designed in conjunction with the Earth Journalism Network (EJN) in order to, as their website states, “facilitate story-telling of the sources and health impacts of noise from around the world“. An Arduino Pro Mini was the backbone of the project. Being open-source in nature meant that it could be customized easily with a wide array of sensors. [Edmund] chose to use an Electric Imp adding WiFi capability to the device. His step-by-step tutorial showed the design process, leading into the prototyping of the parts, and contains schematics for the circuit. As of the time that this article was published, the coding section of project hasn’t been released yet, but the first three parts give enough information to get the ball rolling.
This type of monitoring solution has the potential to record the noise levels of neighborhoods all across the world. With a large enough pool of data, API’s can be developed for uses like house hunting web searches that show which areas in town are the quietest, or which ones are the loudest. This will surely provide a wealth of knowledge about noise pollution, and it will be interesting to see how people utilize this (and projects similar) in the future.
We’re a little under a month until the first cutoff date for The Hackaday Prize, and there have been a few questions we’ve been answering again and again: ‘what does ‘connected’ mean?’ and, ‘do I really have enough time to build something for The Hackaday Prize?’ Lucky for you, [Matt] from Electric Imp put together a very short demo of a sample THP entry. It’s a ‘HACKING’ light, kind of like an ‘on air’ light you’d find in a TV or Radio studio.
The idea for the project came from a tweet to [Matt] that seemed simple enough to implement. After grabbing an Imp and a breakout board, a LED, button, and resistor were wired up, with power supplied over USB. The code for the device was simple enough, and the Imp makes it easy to make that ‘hacking’ button tweet and serve a simple web page.
[Matt] pulled this project together in an afternoon, and although it’s not nearly as complex as the 3D printers, CNC machines, and freakin’ tricorders that are also entered into The Hackaday Prize, it meets all the requirements we’re looking for.
Of course, ‘connected’ is a very broad term, and even if you have a project that communicates with LEDs, a serial connection, or even pigeons, it’ll be more than enough to tick that ‘connected’ check box.
There’s still a few weeks until the first cutoff date for The Hackaday Prize, so get moving.
[via Bearded Inventor]
The Nimbus is a little Internet-connected device put out by a company called Quirky. It features four analog dials, each with graphic LCDs, with WiFi connectivity to show you how many tweets you’ve made in the past day. You know, in case you forgot, or something.
[Edu] didn’t find the social media-oriented Nimbus very useful, but Internet connected analog gauges are just so cool, so out came the screwdriver and the writing of new firmware commenced.
Inside the Nimbus there’s an SPI Flash, PIC micro, and an Electric Imp, a tiny ARM microcontroller and WiFi adapter stuffed inside an SD card. The Imp is always tied to a cloud service, in this case, a Quirky-lined cloud, but the folks at Quirky were keen to help [Edu] in his quest for better firmware.
After figuring out all the traces, [Edu] wrote a simple firmware that can control everything there is to control – the dials, displays, two buttons, and a speaker. So far he’s put some graphics on the display and PWM’d the theme from Monkey Island. This is just scratching the surface of what the device can do – [Edu] can still make use of the WiFi connectivity, and those dials can do much more than spin around in circles.
Monkey Island video below.
Continue reading “Breaking Open The Quirky Nimbus”
When the folks over at PinMeTo moved into a new office, they were dismayed to find out an extra key would run them a whopping 500 sek (~$75 USD). Instead, they decided to build their own automatic door lock using the Electric Imp system.
If you’re not familiar, the Electric Imp is a small SD card designed to provide internet (Wi-Fi) functionality to consumer devices. While it looks like an SD card, you cannot just plug it into any SD card slot and expect it to work — it still needs a prototyping board. We’ve seen it used to make a wireless thermal printer, or even make a tweeting cat door to let you know of any feline intruders!
Anyway — back to the hack. To move the lock cylinder they’re using a basic RC servo connected directly to the Imp. A flex sensor is installed on the side of the door over-top the lock — this provides feedback to the Imp whether or not the door is in fact locked. The Imp then communicates to Everymote to allow for keypad access from your mobile phone.
It probably ended up costing more in time and money than a new key, but hey, it looks like it was a fun project to do!