Projects

Instruments for exhibition – Control Surface

Two unusual electronic instruments that were part of a greater ensemble, built for an exhibition in China. Idea and hardware by Daniel Araya. Programming and I/O-electronics by 9bit. The MIDI Control Surface The Control Surface is a Standard MIDI Interface compliant unit, built to interface with a MAX MSP patch on a host computer. The […]

Read More
Projects

Instruments for exhibition – Metronomes

Two unusual electronic instruments that were part of a greater ensemble, built for an exhibition in China. Idea and hardware by Daniel Araya. Programming and I/O-electronics by 9bit. The Metronomes Three metronomes were built, one master and two slaves. The tempos of the slave units are synced to the master but the beat patterns that they […]

Read More
Snippets

Avrdude – Burn fuses (16 MHz clock out on CLK0 / B0)

Reason Fuses. There are a couple of user selectable operation modes of the AVR microcontrollers. The fuses can’t be edited in the same way you normally program you Arduino. You will need a hardware AVR programmer, ie the one described here: Arduino as ISP. There are a few GUI softwares that are supposed to do this, but I couldn’t get any of […]

Read More
Snippets

Avrdude – Upload hex file to Arduino using ISP / ICSP

Reason In some cases USB cannot be used to program (upload hex file to) a processor on an Arduino board. One such case is when you are targeting the second processor on an Arduino Uno, the ATMega16u2 whose sole purpose is to cater for USB communication. Please note: Only the original style Arduino Uno R3 boards […]

Read More
Arduino tutorials

Analog Joystick

Connect an analog joystick to an Arduino. Read two analog values (x- and y-position) and a switch using a method witch does not hog the processor during the whole ADConversion. The capacitor reduces digital noise on the analog readings. Code static const byte ADC_CHANNEL_JOYSTICK_X = 0; static const byte ADC_CHANNEL_JOYSTICK_Y = 1; static const byte ADC_CHANNEL_MAX = 2; […]

Read More
Arduino tutorials

Blink LED

Limit the current flow through the LED with a small resistor R1, ca 200~1000Ω. Otherwise the LED will burn. The LED can be connected in a few ways. • Either the Arduino pin (pin 13 in this case) SOURCES 5v to the LED: the LED’s + pin is connected to the Arduino pin. The LED’s – pin is connected to GND. • Or the Arduino […]

Read More
Arduino tutorials

Read a pot, print to Serial Monitor

The USB connection is used for serial communication between Arduino and computer. The potentiometer pin 2 is connected to Arduino pin A0. analogRead is then used to measure the voltage at the pin. (The potentiometer rating doesn’t matter, but avoid lower resistances than 5k, so you don’t get an uneconomically high current flow.) You will get a value between 0 and 1023 (where 0 equals ground […]

Read More
Arduino tutorials

Read a pot, control 5 LEDs

The pot controls which LED is turned on. The pot is connected to Arduino pin A0. analogRead is used to measure the voltage at A0. You will get a value between 0 and 1023 (where 0 equals ground and 1023 equals +5 volts).  The analog range is divided into 5 sections (1023 / 5). Five LEDs are connected to the digital pins 2, 3, 4, 7 […]

Read More
Arduino tutorials

Light sensor, LDR

The light sensor is also called a light-dependent resistor (LDR) or photocell. It is connected to Arduino pin A0. analogRead measures the voltage at the pin. You will get a value between 0 and 1023 (where 0 equals ground and 1023 equals +5 volts). Changing the type of lamps and ambient light will give a bit of variation in your readings. In many cases […]

Read More
Arduino tutorials

12 volt Solenoid or Motor

Use a 12 volt solenoid or motor. Connect a 12 volt power adapter to the Arduino board. On the board there is a pin called Vin that will provide the 12 volts directly from the power adapter. Use Vin to power the solenoid / motor. There will be a lot of current flowing through the […]

Read More
Arduino tutorials

MAX7219 LED driver and 12088 8×8 LED matrix

The 8×8 LED matrix is 64 LEDs arranged in an 8 row, 8 column matrix, just like a chess board. The Max7219 is used to control 64 LEDs at once. The Arduino sends data to the 7219 using the SPI serial communication protocol. You can have multiple SPI devices connected to an Arduino simultaneously. For your convenience, the Arduino uses a library to talk to […]

Read More
Arduino student projects

Digital Etch-A-Sketch by Mattias Green

A simple but effective project to demonstrate physical control over a computer screen. Connect two potentiometers to Arduino analog inputs A0 and A1 Use serial-communications to get pot values from Arduino to Processing Make a Processing sketch that accepts the serial data and draws lines  Arduino Code void setup() { // Start serial-communications with computer: Serial.begin(9600); } […]

Read More
Arduino courses

Week 50 2014 Forsbergs Arduino Course

A one-week crash-course …in electronics and programming. This is the kit we used for the course: 1602 LCD Servo Dot Matrix Breadboard LED Resistor UNO R3 Starter Kit for Arduino (eBay) We did not use most of the advanced stuff in it. I also added a couple of components: One solenoid: 12 volts, the strongest and longest slew […]

Read More
Arduino courses

Week 7 2015 Forsbergs Arduino Course

Four days of electronics and programming You know you love it. The course contents were essentially the same as this course, and followed the posts on this site. We also found a few errors in the posts, so I had an opportunity to correct them. Thank you Forsbergs Design 2 2014-2015 for beta testing ;) Some of […]

Read More

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.