Posts Tagged ‘Arduino’

30 Jan
2012

Arduino Leonardo – Interrupts

As of Arduino 1.0, interrupts are not supported on the Arduino Leonardo. I’m working on a project using the atmega32u4 with the Arduino IDE which needs interrupt support for both software serial and frequency counting, so I investigated ways to add interrupt support for this device. I began by checking out the Leonardo pins definition file to see what was missing for interrupt support. Long story short, I ended up copying the macros for interrupt bitmasks/registers from the Teensyduino project, which has a mega32u4 target board. In addition to modifying the pin definition header file, I also needed to modify WInterrupts.c—swapping out the default AttachInterrupt() and DetachInterrupt() funcitons with those from the Teensyduino project.

(more…)

2 Aug
2011

PCB Desktop Background

Want a nice hearty printed circuit board desktop background? Well, here you go (right-click, save as). The PCB is an older Arduino NG board placed on top of one of our 10W MNLC lighting nodes (still under development, more information to come).

4 Apr
2011

RGB Multi-Node Lighting

This project uses the open-source i2c RGB LED controller firmware “cyz_rgb” to create a modular high-power lighting network. The network is controlled by an Arduino, which scans the network for nodes controls them autonomously with onboard scripts, manually via serial console control, or over the serial computer-control interface for interaction with programs on a host machine.

(more…)

4 Jan
2011

ZonCoffee .2 Released


ZonCoffee is a full-featured PID controller package for Arduino, customized for use with espresso machines. ZonCoffee is written in Processing/Wiring, and includes some code from Tim Hirzel‘s BBCC project.

(more…)

20 Oct
2010

EC155 PID with Arduino

This is a build log of my PID modification to my DeLonghi EC155 espresso machine. Currently, the machine uses an Arduino to drive a solid-state relay controlling the heating coil. The Arduino displays mode and temperature on a serial lcd, and also dumps status information over the serial port.

Update 1: I’ve ordered parts for a permanent install on protoboard, after I finish the install, I’ll update this post with build instructions and details. I will also provide a link to a mouser project where you can order most of the parts in one place.

Update 3: Everything is assembled and functional, and I made an aluminum case thing for the LCD and rotary encoder. Photos to come soon. (8/25/10)

Update 4: ZonCoffee .2 is released! See the release page to download the sketch and to see additional hardware information. (1/4/11)

This post is one of a series of posts regarding mods I have done to my EC155

(more…)

20 May
2010

(Really) Cheap RFID door opener

Well, the school year is over, so I thought I’d post up some information about my (extremely cheap and junky-looking but functional) door opener. (more…)

21 Sep
2009

Arduino Mobile Connectivity

arduinoboost_transparent_fixed

Many DIY projects that people attempt these days include internet connectivity, logging, gps tracking, sensor data storage, and remote control. People have used xBee, GPS modules, and extra hardware to integrate all of these features, but there is a much simpler way–using an iDen pay-as-you-go phone. (more…)

1 Jun
2009

Automatic Panoramas with Arduino and CHDK


Last year around this time, I posted some information about my automatic panorama-taking “robot” made with an arduino, and a Canon S3IS mounted on a stepper motor, but I never published it to a more exposed portion of the site. Feel free to take a look at the project, and download the source code. Disclaimer: this project was produced on a $0 budget by an inexperienced programmer.

This project is extremely basic (and exceptionally cheap), and has an overkill motor for rotation. Also, tilt support was never implemented. However, it does make use of the remote shutter support of the CHDK firmware for Canon cameras to allow arduino-triggered photos.

Drop some comments below if you have done something similar, or if you have used any code/ideas from my design.

20 Dec
2008

PanoBot

PanoBot is a rudimentary panorama-taking device for any Canon camera running the CHDK firmware. This project was made back in ’08 so there are numerous projects that are much more full-featured than this implementation; nevertheless, I am making the code available for reference.

What The Current Code Does:

  • Takes a photo via usb pulse sequence
  • Rotates X degrees
  • Takes a photo via usb pulse sequence
  • ^REPEAT^
  • When it goes 360 degrees, it rotates 360 degrees in the opposite direction
    • Keeps the camera cable from wrapping around the base
  • Operation pauses, waits for user input
    • At this time, the user tilts the camera to a different angle
    • After tilting, the user presses the button on pin 10
  • The camera begins this sequence again

Features

  • 360 Degree rotation
  • .9 Degree Accuracy per shot
  • Programmable Delay
  • USB Shutter Control
  • Portable

Parts

  • Arduino Microcontroller
  • Stepper Motor (1.9 Degree step or less recommended)
  • Some sort of battery for standalone operation
  • A Supported Camera
  • A tripod (old all-metal tripods with bolt interconnects are best)
  • Bolts and nuts to fit your motor and tripod
  • Scrap wood or sheet metal (Sheet metal recommended for camera arm)
  • Set Screw and metal tube to fit around motor shaft (or use whatever you have lying around)

Supports

  • Canon S* IS Series
  • All other cameras that support CHDK

Sample Panorama

Resources:

Arduino Leonardo - Interrupts

Arduino Leonardo – Interrupts

As of Arduino 1.0, interrupts are not supported on the Arduino Leonardo. I’m working on a project using the atmega32u4

ZonCoffee v3 PCB

ZonCoffee v3 PCB

The first prototype ZonCoffee v3 boards have arrived and are nearly up and running. I’m currently porting the code over