This is a tutorial for programming the ATtiny chip. This tutorial will be more in depth than most. It will give you every step in detail and will tell you the things nobody else told you when first starting programming the ATtiny.
The programing is done with the Arduino IDE, using an Arduino UNO connecting it to the ATtiny.
Charliecube is a 4x4x4 tri-color LED Cube designed and created by Asher Glick and Kevin Baker. But what makes it special? Other cubes use shift registers, decade counters, or other components to control all the LEDs and can cost upwards of $150. The charliecube can be run using only 16 digital pins with no extra components and costs $30 plus an arduino. So besides the LEDs, wire, PCB, and microcontroller, there are no other parts! This innovative solution uses a method of multiplexing know as Charlieplexing to achieve a large number of outputs using a minimal number of pins.
64 RGB Leds, diffused, ours were common cathode $0.311 each
1 Large Radioshack PC Grid Proto Board (4.5” x 6.625”) $2.95
40 feet of solid core 20 gauge wire (or similar size) for supporting the spires
10 feet of stranded 22 gauge wire (or similar size) for connecting spires together
We like to use old floppy cables we have lying around. One is enough for this.
Optional – paint to color the proto board differently. White reflects nicely, and black hides everything.
The big difference with other LED cubes is that here the hardware-wise very simple (a minimal number of partst), but that makes it much more complex to program. However, several functions are provided to simplify the software part.
Hans found out that a battery would only last for a few days, before it would be gone. Browsing around the internet, he learned about the fantastic work of Jean Claude Wippler of Jeelabs fame. JC has been working on wireless sensors for years and tackled the battery issue way long before he did.
Why will a standard Arduino eat a battery in days?
Arduino separates itself from a bare ATMEGA from the hardware side of things are it’s form factor (allowing for the use of standard shields), standard USB interface, power regulation and some LEDs. Now some of these things that make Arduino hardware great are also killing battery consumption: When you run a standard Arduino (Uno for instance), it already consumes more than 15mA, just sitting there doing nothing. Given that a typical Alkaline 9V block has a capacity of approx 450mAh, this means it drains the battery in just 30 hours or less two days (450mAh/15mA).
There is also part 2, where he explains how to run an Arduino on 4 AA batteries for over a year!
These guys actually built a real 3D people scanner. Using the Raspberry PI and PI camera combination. A “fairly” affordable module, that already is ethernet connected, the triggering of the cameras is done using the network and an easy way to download all the images to a centralized place.
Stuff needed for this project:
- 40 Raspberry Pies for this project and 40 PI cameras.
- 40 8Gb SD cards
- 1 single 60A 5v power supply to power all the raspberry Pies
- Led Strips and a powerful 12v power supply to power them on
After building this awesome setup, he decided to participate in the Dutch maker faire and offered everyone a free 3d photo shoot. It was a very busy but fun 6 hours and they scanned 225 people!
A team of mechanical and electrical engineering students at Olin College came up with a very fun semester project — a pneumatic powered marshmallow cannon that can track faces, and aim for the mouth!
The device — dubbed the Confectionery Canon — is an impressive mechanical build which required many of Olin College’s manufacturing resources such as the laser cutter, the mill, and the lathe. The majority of the device was made out of acrylic, which was chosen for easy laser cutting, and affordability. Specific aluminum pieces provide strength and were made using mostly scrap found in the shop.
The premise is simple: take a tube of plastic and make a 30 PSI marshmellow cannon, then put it on a rotating rig, load it up with facial recognition software, and tell it to aim for the mouth. Four servos, a webcam, a solenoid and an Arduino Uno are used to build this system.
The Arduino Motor Shield allows you to easily control motor direction and speed using an Arduino. By allowing you to simply address Arduino pins, it makes it very simple to incorporate a motor into your project. It also allows you to be able to power a motor with a separate power supply of up to 12v. Best of all, the shield is very easy to find. Aside from being sold a number of places online, they are now stocked by most Radioshack stores. For all of these reasons, the Arduino Motor Shield if a cool little to have in your arsenal for rapid prototyping, and general experimenting.
Being a fan of Arduino for years now, and have used it for building everything from MIDI controllers to simple LED flashers. One thing that has always intrigued the author of this instructable has been visualizing some of the data that I read off of the Arduino Pins.
Plot.ly makes this simple. Really simple.
The purpose of this instructable is to demonstrate how to hook up an Arduino + Ethernet Shield and send data to Plot.ly’s Servers and create beautiful graphs. We will be using a dual temperature+humidity sensor (DHT22), and sending the results directly to Plotly.
Jack Edwards, a mechanical, engineer, loom builder (yes as in weaving), and many other things in his professional career has built a functioning Ardunio based sail boat auto pilot system. The little Ardunios have piloted his aptly named boat the Wile E. Coyote over 400 miles this summer using both heading, and GPS track mode with cross track error correction. There are some chores left to complete such as wind instrument integration, but it’s an impressive success with such a tiny capital outlay.
He’s using two Arduino Megas. One is solely for the GPS, and the other controls everything else. [Jack]‘s autopilot has three modes. In the one he calls knob steering, a potentiometer drives the existing hydraulic pump, which he controls with a Polulu Qik serial DC motor controller. In compass steering mode, a Pololu IMU locks in the heading to steer (HTS). GPS mode uses a predetermined waypoint, and sets the course to steer (CTS) to the same bearing as the waypoint.
At the thoughtbot Boston office, when nature calls, there is an arduous, uphill both ways and often snow covered trek to the bathroom area. The bathrooms are also out of sight from anywhere in the office. Many times someone will turn the corner to the bathrooms and see that they are all occupied. That person now must either wait around until a bathroom opens up or go back to their desk and try again later. So they wanted an indicator, visible throughout the Boston office, that informs whether a bathroom is available. They used the power of hardware to hack together a solution.
They decided to use two microcontrollers to monitor and report the bathroom status. One microcontroller would sit near the bathrooms and use door sensors to detect if they were closed or open. The other microcontroller would sit in an area visible to everyone in the office and use an LED to indicate the status of the bathroom doors. They will have to communicate wirelessly (using XBee) since their distance apart could be long. The bathroom door microcontroller has to run from batteries since there is not a nearby outlet. They also decided that besides using an LED to show if there was an available door, they would also post the info to a remote server so other applications could digest it.
Result: Now, you’ll be able to see if there is an available bathroom via an LED in the room or with a cool application that digests the API web service.