Para achicar el tamaño de fuente en autocomplete, agregar en jquery-ui-1.10.3.css la siguiente linea:
.ui-autocomplete .ui-menu-item
{ font-size:x-small;}
Programar ATtiny85 con Arduino
1. Programador
Para utilizar un arduino (UNO en este ejemplo) como programador del Attiny85, este es el pinout:
El capacitor que se debe usar es de 10 uF
2. Configuración del IDE de Arduino
Para version 1.8.9 de Arduino IDE:
1. File/Preferences/Additional Boards Manager URL:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
2. Tools/Board/Boards Manager/Buscar attiny e instalarlo
3. Quitar el shield que tiene el socket del attiny antes del siguiente paso [ESTO ES SOLAMENTE SI SE VA A CONFIGURAR EL ARDUINO PROGRAMADOR POR PRIMERA VEZ]
4. Tools / Board / Arduino UNO
Tools / Programmer / AVRISP mkII
Abrir File/Examples/ArduinoISP
Subirlo al Arduino UNO
5. Conectar el shield
6. Tools / Board / Attiny25/45/85
Processor: Attiny85
Clock: Internal 8MHZ
Programmer: Arduino as ISP
7. Si es la primera vez que se va a usar el attiny85, hay que cambiarle el reloj a 8Mhz: para esto: Tools/Burn Bootloader
8. Subir codigo al Attiny85
Para poder utilizar la librería MANCHESTER, no sirve el del link anterior, hay que bajar el de este link:
https://drive.google.com/?authuser=0#folders/0B8buGbwpnmSkWkNIT1N3TUJmTGM
y seleccionar el que dice ATtiny85 @ 8Mhz
Fuentes:
http://hlt.media.mit.edu/?p=1706
http://tronixstuff.wordpress.com/2011/11/23/using-an-attiny-as-an-arduino/
http://www.youtube.com/watch?v=30rPt802n1k
http://hlt.media.mit.edu/?p=1695
En este caso se utilizará la versión de arduino 1.6.0
Por defecto, en la lista de boards no van a aparecer los Attiny's
Para que aparezcan hay que copiar la carpeta que está en este link (o disponible en Drive también, dentro de _ARDUINO/_BACKUP ARDUINO 1.6.0/hardware, carpeta attiny)
a la ubicación Arduino\hardware
https://github.com/damellis/attiny/archive/ide-1.6.x.zip
Luego de reiniciar el IDE, aparece un menú dentro de "Board" llamado Attiny
Elegirlo, y luego seleccionar 8Mhz en el menú Clock, luego Attiny85 en el menú Processor.
En el menú Programmer, elegir "Arduino as ISP" (el programador por defecto es AVRISP mkII)
3. Configuración del reloj del Attny85 a 8Mhz
Por defecto, los Attiny85 vienen configurados a 1Mhz.
Para pasarlos a 8Mhz:
By default, the ATtiny’s run at 1 MHz. To use the SoftwareSerial library, you need to do an extra step and configure the microcontroller to run at 8 MHz. Once you have the microcontroller connected, select “8 MHz (Internal)” from the Tools > Clock menu. (In Arduino 1.0.x, select the appropriate 8 MHz clock option from the main Tools > Board menu.) Warning: make sure you select “internal” not “external” or your microcontroller will stop working (until you connect an external clock to it). Then, run the “Burn Bootloader” command from the Tools menu. This configures the fuse bits of the microcontroller so it runs at 8 MHz. Note that the fuse bits keep their value until you explicitly change them, so you’ll only need to do this step once for each microcontroller. (Note this doesn’t actually burn a bootloader onto the board; you’ll still need to upload new programs using an external programmer.)
ATENCION!!! EL BURN BOOTLOADER SE DEBE HACER ELIGIENDO EL ATtiny85 (internal 8mhz...) y no el que dice ATtiny85 @ 8Mhz
Para utilizar un arduino (UNO en este ejemplo) como programador del Attiny85, este es el pinout:
El capacitor que se debe usar es de 10 uF
2. Configuración del IDE de Arduino
Para version 1.8.9 de Arduino IDE:
1. File/Preferences/Additional Boards Manager URL:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
2. Tools/Board/Boards Manager/Buscar attiny e instalarlo
3. Quitar el shield que tiene el socket del attiny antes del siguiente paso [ESTO ES SOLAMENTE SI SE VA A CONFIGURAR EL ARDUINO PROGRAMADOR POR PRIMERA VEZ]
4. Tools / Board / Arduino UNO
Tools / Programmer / AVRISP mkII
Abrir File/Examples/ArduinoISP
Subirlo al Arduino UNO
5. Conectar el shield
6. Tools / Board / Attiny25/45/85
Processor: Attiny85
Clock: Internal 8MHZ
Programmer: Arduino as ISP
7. Si es la primera vez que se va a usar el attiny85, hay que cambiarle el reloj a 8Mhz: para esto: Tools/Burn Bootloader
8. Subir codigo al Attiny85
Para poder utilizar la librería MANCHESTER, no sirve el del link anterior, hay que bajar el de este link:
https://drive.google.com/?authuser=0#folders/0B8buGbwpnmSkWkNIT1N3TUJmTGM
y seleccionar el que dice ATtiny85 @ 8Mhz
Fuentes:
http://hlt.media.mit.edu/?p=1706
http://tronixstuff.wordpress.com/2011/11/23/using-an-attiny-as-an-arduino/
http://www.youtube.com/watch?v=30rPt802n1k
http://hlt.media.mit.edu/?p=1695
Configuring the ATtiny to run at 8 MHz (for SoftwareSerial support)
Suscribirse a:
Comentarios (Atom)
