background preloader

Programming an ATtiny w/ Arduino

Programming an ATtiny w/ Arduino
This tutorial shows you how to program an ATtiny45 or ATtiny85 microcontroller using the Arduino software and hardware. The ATtiny45 and ATtiny85 are small (8-leg), cheap ($2-3) microcontrollers that are convenient for running simple programs. This tutorial is obsolete! See the updated version of this tutorial (with support for Arduino 1.0). They are almost identical, except that the ATtiny85 has twice the memory of the ATtiny45 and can therefore hold more complex programs. Materials and Tools For this tutorial, you’ll need: Arduino Uno or Duemilanove (w/ an ATmega328, not an older board with an ATmega168) ATtiny45 or ATtiny85 (8-pin DIP package) a 10 uF capacitor (e.g. from Sparkfun or from Digi-Key ) a breadboard jumper wires For more information, see our list of materials and parts and our list of prototyping supplies . Software You’ll need the Arduino software (version 0022) and a plugin to add support for the ATtiny45/85. Download: Arduino software , Pin connections:

Arduino turns off idle Amplifier What is this? NovaIdle is monitoring amplifier for idle time (no music played) and turns off the amplifier with IR command It is written and tuned for the Peachtree Nova amplifier that has a tube. I wrote this program as I tend to forget the amplifier on and given the tube has limited ifetime, I am always feeling bad when I see it still on few hours later. Not to mention of course that we can be a bit more green by preserving power. I published another version of this (for a Kenwood amplifier too) What You need to build this? Optional Components: 1x Blue LED 1x Yellow LED 1x Green LED 3x 330 Ohm Resistor (anything from 220 to 330 will do) 1x Prototype board to solder and connect the above 1x 3.5mm Earphone Stereo Jack 1x RCA to 3.5mm Stereo cable 1x USB Power supply (or you can feed it from other source) Sampling the audio in every 2 secods and the idle time is set to 5 minutes (you can change it in the code), enough time to swap CD's or to tell my Sonos which album to play next.

arduino-tiny - ATtiny core for Arduino Arduino-Tiny is an open source set of ATtiny "cores" for the Arduino platform. The Arduino platform currently supports Atmel ATmega processors. There is a need for the Arduino platform to work with physically smaller DIP package processors. The intent of this project is fulfill that need. Specifically, our goal is to provide a core that enables Arduino users to work with the ATtiny84 (84/44/24), ATtiny85 (85/45/25), and ATtiny2313 (4313) processors. Download the latest version for Arduino 1.0 Download the latest version for Arduino 1.5 Arduino libraries available for ATtiny processors... I2C / TWI Master library for the ATtiny85 Alternatives to this core (as of 2010-Nov-16)... bohne (René Bohne) published '2313 and '84 cores... SuperCow (R.Wiersma) published an '84 core... saposoft (Alessandro Saporetti) published a '45 core...

Welcome 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

Tutorial Arduino - Programar AVR ATtiny45 y 85 con Arduino Hola amig@s! Comienzan las colaboraciones! Gracias a Miguel Angel, miembro de AEROBOT, tenemos nuestro primer tutorial sobre como programar los micros AVR ATtiny45 y 85 utilizando un Arduino. Así que empecemos!! Más de una vez os habrá pasado, que después de haber testeado vuestro prototipo deseáis hacer de él una aplicación real. Si estáis familiarizados con el uso de microcontroladores PIC o AVR y tenéis los conocimientos y herramientas (compiladores, grabadores…) necesarios, esto se resuelve fácilmente acudiendo al micro que más se ajusta a nuestras necesidades…y este post no tendría sentido! Partamos de la idea, de que muchos usuarios de Arduino, no tienen acceso a estos conocimientos ni herramientas y están únicamente familiarizados con el uso de esta estupenda plataforma, en la cual además acaban de prototipear el proyecto que ahora quieran llevar a la aplicación final. Éstas son sus características esenciales: Pero por si acaso lo vamos a repasar juntos Ahora una vista de las pistas:

Serial Peripheral Interface Bus SPI bus: single master and single slave Interface[edit] The MOSI/MISO convention requires that SDI on the master be connected to SDO on the slave, and vice versa. Chip select polarity is rarely active high, although some notations (such as SS or CS instead of nSS or nCS) suggest otherwise. SPI port pin names for particular IC products may differ from those depicted in these illustrations. The master does not use an addressing concept while communicating with the slave. Operation[edit] The SPI bus can operate with a single master device and with one or more slave devices. If a single slave device is used, the SS pin may be fixed to logic low if the slave permits it. Most slave devices have tri-state outputs so their MISO signal becomes high impedance (logically disconnected) when the device is not selected. Data transmission[edit] To begin a communication, the bus master first configures the clock, using a frequency less than or equal to the maximum frequency the slave device supports.

The RRRRRRRRRRBBA, a $3 Arduino 2. The Arduino is NOT a microcontroller! Of course, the Arduino is not a microcontroller, but rather a development environment for microcontrollers -- including a programmer board, a software program for the computer, and a programming language, in addition to the microcontroller chip itself. Could that possibly mean that.... (read on) Arduino Shield programador de ATTiny 45/85 » Blog Archive » el blog de giltesa Para programar el Attiny podemos hacerlo con un programador o con un Arduino y la ayuda de una protoboard o adaptador como es el caso. Gracias a este adaptador podremos programar los Attiny 45 y 85 y probarlos con un blink. Para programarlo necesitaremos un Arduino compatible con Shields como un duemilanove, mega, etc. que hará de programador ISP. Los pasos a seguir son los mismos que en la entrada del Attiny, sin embargo en las ultimas pruebas he podido comprobar que con la nueva versión, 1.0, del IDE de arduino no funciona el programado de los Attiny, ni con las configuraciones anteriores ni con unas nuevas que he visto. Para la fabricación del adaptador hacen falta muy pocos materiales, simplemente el circuito impreso, un socket de 8 pines, 8 pines macho, 1 condensador de 100mF, 2 leds y 2 resistencias smd de 1k. El esquema eléctrico y el circuito para Eagle puede descargarse desde aquí.

Teensy USB Development Board The Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects. All programming is done via the USB port. No special programmer is needed, only a standard "Mini-B" USB cable and a PC or Macintosh with a USB port. Update: Discussion / Support Forum Teensy 3.1 changes from Teensy 3.0 Teensy Loader Application Software Development Tools WinAVR C compiler. Teensyduino, add-on for Arduino IDE. Simplified USB Examples or Dean Camera's LUFA library. Breadboard Usage The Teensy is available with header pins, for direct no-soldering-required use on a breadboard, which can also be run from the +5 volt from the USB cable. The 128x64 Graphics LCD can be used with Teensy 2.0 and Teensy++ 2.0 and Teensyduino using this GLCD library.

Arduino and TFT LCD Learn how to use an inexpensive TFT colour touch LCD shield with your Arduino. This is chapter twenty-nine of our huge Arduino tutorial series. Updated 07/02/2014 There are many colour LCDs on the market that can be used with an Arduino, and in this tutorial we’ll explain how to use a model that is easy to use, has a touch screen, doesn’t waste all your digital output pins – and won’t break the bank. It’s the 2.8″ TFT colour touch screen shield from Linksprite: And upside down: As you can imagine, it completely covers an Arduino Uno or compatible board, and offers a neat way to create a large display or user-interface. And unlike other colour LCDs, this one doesn’t eat up all your digital output pins – it uses the SPI bus for the display (D10~D13), and four analogue pins (A0~A3) if you use the touch sensor. With some imagination, existing Arduino knowledge and the explanation within you’ll be creating all sorts of displays and interfaces in a short period of time. Getting started Conclusion

Guilherme Martins : PAPERduino continues to inspire others Everytime I see PAPERduino’s being featured in blogs, websites, and other people projects I feel joy! This time I have the surprise of looking at the Concurrency website, the new multithread language for Arduino, and I see the PAPERduino giving this guys the ideia of taking it to a higher level, I present you the Cardboarduino: “The Cardboarduino is physically larger than the PAPERduino, and includes space for a 9V battery clip.” The bottom shows all of the pins that need to be soldered together with wire.

Clear polycarbonate enclosures So about a year ago I decided that I wanted to get into AVR microcontrollers. After ordering an AVR pocket programmer from Sparkfun , I soon realized that it was too delicate to be sitting on a workbench full of wire clippings. I knew I needed a small enclosure to put it in, but couldn't find anything I really liked. This instructable will explain the steps necessary to construct a "Lexan" shell for an arduino UNO (or other arduino). I don't remember where I learned this method, but it was definitely from another Instructable. - - -