Now you should have a blinkining Led on your Attiny 2313 Note the factory default is 1MHz, if you want to run it 8MHz, use: burn bootloader.Connect a LED with resitor to pin PB4 (physical pin 16).Upload your sketch: Select File->Upload using programmer.Select ArduinoISP: Tools->Programmer->Arduino as ISP.Open the blink sketch from the examples->Basic->Blink.Connect a 10 ♟ capacitor from reset to ground on the arduino (negative side to ground) If you are using a Duemilanove use a 120 ohm resistor from reset to Vcc. Note: the ArduinoISP has some issues in ver.Upload the ArduinoISP to the Arduino dont't connect the capacitor yet.Programming Attiny2313 with Arduino Uno The 2313 processor is a 20 pin chip with 17 I/O pins, it do not have a ADC (analog/digital converter) It can be configured to run at 1 MHz and 8 MHz without External Crystal/Resonator 2313 pinout Connection to Arduino Download the Tiny-core here: Follow the instructions in the Connect your Arduino to the Attiny according to the picture to the right connection to Arduino: Arduino Attiny2313 13 19 PB7/SCK 12 18 PB6/MISO 11 17 PB5/MOSI 10 1 PA2/Reset 5v 20 VCC GND 10 GND WE EXPRESSLY DISCLAIM ANY LIABILITY WHATSOEVER FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR SPECIAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST REVENUES, LOST PROFITS, LOSSES RESULTING FROM BUSINESS INTERRUPTION OR LOSS OF DATA, REGARDLESS OF THE FORM OF ACTION OR LEGAL THEORY UNDER WHICH THE LIABILITY MAY BE ASSERTED, EVEN IF ADVISED OF THE POSSIBILITY OR LIKELIHOOD OF SUCH DAMAGES. THE ARDUINO SOFTWARE IS PROVIDED TO YOU 'AS IS' AND WE MAKE NO EXPRESS OR IMPLIED WARRANTIES WHATSOEVER WITH RESPECT TO ITS FUNCTIONALITY, OPERABILITY, OR USE, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR INFRINGEMENT. Arduino IDE already contains the program that needs to be loaded to Arduino board. I decided to replicate his schematic in Eagle PCB using a. Burning the Bootloader on ATMega328 Using Arduino UNO As.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |