Arduino Link Libraries

Arduino is great, but it sometimes gets in the way due to its entry level style of doing things. One limitation is making your own library that also includes other libraries.[Scott] has sent in a great tutorial that deals with just that issue.

He covers how to make your own custom libraries while building off of preexisting ones. That’s something Arduino’s automatic magic wont touch.He covers getting your library to compile while including aanother library, linking versus compiling, and getting it all linked up.

Add in clear examples, lots of explanation and a hand full of good practices for C with libraries (like Forward Class Declaration vs Includes, and Using Brackets vs Quotation Marks for Includes), and this is one tutorial that any aspiring AVR or Arduino developer should check out.

Nanode: A Low-cost Network-enabled Arduino Ethernet Alternative

nanode_ethernet_enabled_arduino_board

The folks over at Hackspace London have been working hard to create a “very low cost, open source, Internet connected platform on which others can develop their ideas”, which they have dubbed “Nanode”.

Essentially an Arduino with Ethernet networking on-board, the Nanode is armed with an ATMega 328 microcontroller along with all the other standard goodies you would expect from an Arduino-compatible device. The Nanode can be controlled with a web browser right out of the box, thanks to some custom Ethernet libraries. Additionally network of Nanodes can be easily configured to communicate with a “master” unit via a multidrop serial bus, allowing the device to be used for a wide array of distributed control tasks.

Obviously most of these features can be had in the form of an Arduino Ethernet board, or achieved by using an Ethernet shield. The Nanode is a touch cheaper than either option at $40 for a kit, and the native networking capabilities sound like they would be quite handy. That said, we are a bit bummed that it only has 10BaseT networking capabilities, though it is always nice to have options when it comes to choosing a microcontroller board.

[Thanks, TheHypnotist]

Control LED Lighting With An Old Stereo Receiver

stereo_controlled_home_lighting

[Marklar] needed an IR receiver for a project he was working on, and his local electronics store was fresh out. He dug through his junk pile and found an old stereo receiver, so he decided to pull the IR module from it before tossing it out. Once he had it taken apart, he figured that he could utilize the wide array of electronic components he found inside, and set off to start a new project.

The control panel housed the components which interested him most of all. Using an Arduino, he was able to easily interface with the rotary encoders as well as the buttons, giving him a cheap and easy way to control his home lighting system. With a bit of programming, he was able to map lighting presets to various buttons, as well as use the rotary encoder to control the LEDs’ brightness and color. As an added bonus, he kept the IR receiver intact and can control his setup wirelessly as well.

Check out the video we have embedded below to see his scavenged control system at work.

[via HackedGadgets]

Continue reading “Control LED Lighting With An Old Stereo Receiver”

An Introduction To DC Boost Converters

simple_boost_converter

If you are planning on creating some sort of Nixie tube display, you will undoubtedly need to find yourself a high voltage DC power supply. If you don’t want to add a transformer to your project, you can always opt to build a boost converter instead. [Andrew Moser] shows us just how easy it is to build one, discussing the theory behind simple boost converters along the way.

Boost converters are often driven by dedicated ICs, but in this case the PWM signal from an Arduino does the job just fine. [Andrew] covers the process of choosing the proper components for the circuit, discussing duty cycles and components to avoid lest your boost converter die an untimely death.

He shows us how to implement a feedback system to get a more precise output voltage, but as Lady Ada has shown us, an open loop works pretty well too.

For the beginners that want to just get things up and running, his instructions and code should be sufficient, but [Andrew] provides plenty of reference links for those looking to delve deeper into the subject.

Impressive Lighting Console Offers Professional Features For A Fraction Of The Price

diy_dmx_lighting_control_panel

Hackaday reader [Michael] wrote in to share the build details of an impressive lighting console he has been working on for some time. He says that the 36+ channel console is on par with lighting rigs costing upwards of $5,000, but his was constructed for just around $1,000 – quite the substantial savings.

The console was constructed around an old IBM desktop computer, which handles all of the DMX output as well as preset management. An array of 20 ATMega 328Ps running the Arduino bootloader are scattered throughout the device, 18 of which are used to manage the six fader panels, while the remaining two handle management tasks. Aside from the fader banks, the console features a main control board featuring several LCD screens along with 17 capacitive touch buttons used for menu navigation and console control.

While [Michael] is finished building the board, he has just begun the documentation of the construction process. His blog should be updated regularly with more details, so be sure to check back often. Code, as well as hopefully tons of pictures and videos are all forthcoming.

[Edit: Cost comparison update]

Old Pachinko Game Tweaked To Add A Reward System

restored_gumball_vending_pachinko_machine

[Tim Higgins] picked up an old pachinko game at a garage sale for his wife, but it ended up sitting unused in the garage for a few years. When he finally dusted it off, he decided that he wanted to restore and build a nice cabinet for it, though he thought the idea was a bit lame.

He says he likes to use some sort of CPU in his projects, and even though it was overkill, he made it his goal to add some sort of microprocessor to the game. He didn’t want to ruin the original aesthetics of the machine, so he decided that he could use an Arduino to drive a rewards system for skilled pachinko players.

Using some PVC pipe, he built a treat hopper which is controlled by the Arduino. When the player wins, the microcontroller triggers a small hobby servo, which dispenses gumballs/candy/etc.

[Tim] says that his wife loved the gift, and he was quite pleased with how it came out as well. Hit up his blog for additional build details and be sure to check out the photo slideshow of the restoration that we have embedded below.

Continue reading “Old Pachinko Game Tweaked To Add A Reward System”

Dead-bug Arduino Is Still Breadboard Ready

Here’s a no-PCB Arduino that doesn’t obscure the DIP footprint of the AVR chip. It’s built on an ATmega88 chip, and includes a programming header, reset button, a couple of filtering caps, and an LED. This is modeled after the Lilypad hardware, and fits nicely on top of the plastic case of the microcontroller, allowing it to be used in a breadboard or DIP socket. You can see a walk through of the components in the clip after the break.

We don’t really need most of the components on top of the chip (especially the status LED on the SCK line), but there are several things that we like about this. First off, the programming header is extremely nice. We could see this coming in handy for prototyping where you don’t want to add a header to your final design. Just use a chip socket, and this chip while you’re developing firmware. Once everything is dialed in, program a naked chip and swap the two. The same goes for the reset button, which is nice when working on firmware but may not be necessary in your final design.

This is quite an old project, and we’ve actually seen a successor to it. This is Rev. 2 and we looked in on Rev. 7 back in March. That one is a full Arduino, but the circuit board has no substrate.

Continue reading “Dead-bug Arduino Is Still Breadboard Ready”