background preloader

Turn Your Arduino Into an ISP

Turn Your Arduino Into an ISP
There are a few instances in which it is neccesary to program microcontrollers without a bootloader. For example, if have run out of storage on a chip you can get an additional 2KB when you program without a bootloader. Another example, the one I will show you how to do, is to program chips that have no serial capabilities and therefore cannot use a bootloader. The ATtiny85 is one of these chips. To program the ATtiny85 using the Arduino ISP you must first add ATtiny85 support to the Arduino environment: * Download * Unzip the folder * Copy the folder to the Arduino IDE's Hardware folder * Reopen the Arduino IDE, you should see the ATtiny85 in the Tools >> Board menu Now connect your Arduino ISP to the ATtiny85 like the diagram below. Open the Blink sketch, change every '13' to '0', select ATtiny85 from the Tools >> Board menu, and select the serial port that is your Arduino ISP. Related:  Arduino

Using an Arduino + Ethernet Shield to Update a ThingSpeak Channel Using an Arduino + Ethernet Shield to Update a ThingSpeak Channel This tutorial demonstrates how to use the Arduino to read in the analog input and update a ThingSpeak Channel by sending an HTTP POST via the Arduino Ethernet Shield or the Arduino Ethernet (all-in-one). The analog input can be the output of a sensor, like a light sensor or temperature sensor. ThingSpeak Client Arduino Sketch This Arduino sketch takes the value of Analog Pin 0 and updates Field 1 of a ThingSpeak Channel using the ThingSpeak API. Arduino_to_ThingSpeak.ino [Arduino 1.0+] ThingSpeakClient.pde [Arduino 0023 or less] Getting Started with ThingSpeak Sign Up for New User Account – a New Channel by selecting Channels and then Create New ChannelEnter the Write API Key in this sketch under “ThingSpeak Settings” ThingSpeak API IP Address The Arduino + Ethernet Shield does not have DNS by default, so you need to send data using an IP address. HTTP POST to ThingSpeak Watchdog Timer

Environment (redirected from Tutorial.Bootloader) The Arduino development environment contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions, and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them. Writing Sketches Software written using Arduino are called sketches. NB: Versions of the IDE prior to 1.0 saved sketches with the extension .pde. Additional commands are found within the five menus: File, Edit, Sketch, Tools, Help. Edit Copy for Forum Copies the code of your sketch to the clipboard in a form suitable for posting to the forum, complete with syntax coloring. Sketch Verify/Compile Checks your sketch for errors. Tools Auto Format This formats your code nicely: i.e. indents it so that opening and closing curly braces line up, and that the statements inside curly braces are indented more. Sketchbook '''Beginning with version 1.0, files are saved with a .ino file extension. Uploading

Pachube & Arduino Program PIC with Arduino This is just another "show and tell", but once again, there are gerber files and so on included. This Arduino shield is a PCB version of a circuit designed by Rhys Weatherley. When used in conjunction with two arduino sketches and a host program also designed by Rhys, it provides a pretty neat way of programming various 8 and 18 pin PIC micros using an Arduino as the programmer. Full list of supported devices, sketches, host program, schematics and instructions for use are here. The circuit is the same as the one on that site, except that I have added a jumper to allow you to select pin 9 or 10 as the program pin. This lets you program a couple of extra PIC models in the ZIF socket. If you are not comfortable with command line interfaces or you are not willing to play around a bit to teach yourself how to use this hardware and software, this is probably not the project for you. PCB was designed using free designSpark software by RS components and manufactured by SEEED Studio.

Breadboard Sanguino Okay, so you want a Sanguino but Zach's Sanguino is too expensive ;-> Or too red ;-> Or you just have to have it NOW ;-> And you just used up the last of your solder so a strip board is out. What are you to do … bread board Sanguino. Of course, nothing in life is free. While the bread board Sanguino is easy and quick, it also is very limited. Oh, and by the way, I lied. And one last thing … this page is derived from an entry on the [Gorilla Robotics blog]. Thanks to the Arduino creators. Breadboard Atmega644p 16MHz crystal momentary switch 4 x .1uF capacitor 2 x 22pF capacitor 10K resistor 3 x 6 pin male header 1 3 pin by 2 row male header 6 wire ribbon cable, about 4-6 inches 3/32 heat shrink tubing, about 4-6 inches 22g wire Wire cutter and stripper I'll list the 644p pins that are important to the bread board sanguino. The bread board Sanguino was derived from the Sanguino schematics. What is critical: The stuff in the parts list above. **Components ** Place a .1 uF cap from 9E to 9F.

ISP Learning Examples | Foundations | Hacking | Links This tutorial explains how to use an Arduino board as an AVR ISP (in-system programmer). This allows you to use the board to burn the bootloader onto an AVR (e.g. the ATmega168 or ATmega328 used in Arduino). The code in this example is based on the mega-isp firmware by Randall Bohn. Instructions To use your Arduino board to burn a bootloader onto an AVR, you need to follow a few simple steps. Open the ArduinoISP firmware (in Examples) to your Arduino board. Circuit (targeting Arduino Uno, Duemilanove, or Diecimila) An Arduino board serving as an ISP to program the ATmega on another Arduino board. Circuit (targeting Arduino NG or older) On NG or older boards, connect the reset wire to pin 1 of the Atmega chip on the board, as shown above. Circuit (targeting an AVR on a breadboard) See the Arduino to Breadboard tutorial for details.

Arduino & Freeduino Knowledge Arduino Blog xoscillo - A software oscilloscope that acquires data using an arduino or a parallax (more platforms to come). About This is a multiplatform software oscilloscope and logical analyzer. It supports arduino(with custom firmware) and a Parallax USB oscilloscope. More platforms to come. Features Panoramic view Load and save waveforms Zoom in and out Can open several waveforms at the same time Can run several oscilloscopes/logical analyzers simultaneously Frequency analysis using FFT Filtering, so far it has a low pass filter, probably more to come. Supported platforms Support Ask here in our forum Screenshots Basic screen shot showing the oscilloscope displaying a simple waveform Logic analyzer screenshot Displays the FFT of the signal and underneath the FFT over time. This screen shot shows an arduino based oscilloscope and a parallax one working simultaneously in realtime. Linux Notes from the Author The code is not by any means great, its just a quick exercise I did to learn c#. License

Controlling an Arduino with an iPhone Skill Level: Beginner by Pete-O | November 30, 2009 | 72 comments You can download the Source Code here. How it works: In this tutorial you will learn how to communicate between the iPhone/iTouch app TouchOSC via a WiFi network to a Processing sketch displaying graphics and finally to control an Arduino board to light up an LED. TouchOSC is just one of many iPhone/iTouch apps that can send Open Sound Control signals. Processing is a great application for quickly creating visualizations, interactive installations, and physical computing projects. Creating the circuit: First thing we’ll need to do is to create a simple circuit with an LED, a resistor, a breadboard, some jumper wires and an Arduino board connected to a computer via a USB cable. Let’s connect our negative/ground jumper to the first row in the breadboard and the other end into one of the ground plugs (GND) Notice that the LED has two different length leads coming out the bottom, the shorter one is the negative lead. TouchOSC editor:

Thermocouple A thermocouple is a kind of temperature sensor. Unlike semiconductor temperature sensors such as the TMP36 , thermocouples have no electronics inside them, they are simply made by welding together two metal wires. Because of a physical effect of two joined metals, there is a slight but measurable voltage across the wires that increases with temperature. The type of metals used affect the voltage range, cost and sensitivity, which is why we have a few different kinds of thermocouples. The main improvement of using a thermocouple over a semiconductor sensor or thermistor is that the temperature range is very much increased. For example, the TMP36 can go from -50 to 150°C, after that the chip itself can be damaged. Thermocouples are often used in HVAC systems, heaters and boilers, kilns, etc. One difficulty in using them is that the voltage to be measured is very small, with changes of about 50 uV per °C (a uV is 1/1000000 Volts).

Tiny AVR Programmer Hookup Guide Favorited Favorite 2 Introduction Arduino is awesome. The boards are solid, the programming language and IDE are easy, and the community is awesome. Our hero! Unfortunately, the ATtiny85 doesn’t have a well-known, ubiquitous development platform like Arduino’s Uno or Leonardo. The Tiny AVR Programmer is a general AVR programmer, but it’s specifically designed to allow quick-and-easy programming of ATtiny85’s (as well as 45’s). The Tiny AVR Programmer can also be used as a general purpose AVR programmer. Covered In This Tutorial In this hookup guide, we’ll show how you can program ATtiny85’s using the Tiny AVR Programmer and Arduino. Required Materials In addition to the Tiny AVR Programmer, you’ll also need the following items to follow along with this tutorial: ATtiny85 – To be programmed by the programmer.A computer or laptop with: Optional: USB Extension Cable – If your USB port is out of reach, this may help make the Programmer easier to reach. Suggested Reading Board Overview The Jumpers

Welcome - Learn Python - Free Interactive Python Tutorial