Installing Attiny13 core files


Installing Attiny13 core files http://www.instructables.com/id/Installing-Attiny13-core-files/
Login (/you/)
Explore (/tag/type-id/) Create (/about/submit.jsp) Contests (/contest/) Community (/community/)
let's make
(/)
share what you make >
(/)
(/about/submit.jsp)
Installing Attiny13 core files by diy_bloke (/member/diy_bloke/)
Download (/id/Installing-Attiny13-core-files/?download=pdf) + Collection I Made it! Favorite
About This Instructable
License:
4,503 views
10 favorites
diy_bloke (/member
/diy_bloke/)
Follow
71
(/member
Bio: I am a physician by trade. After a
/diy_bloke/)
career in the pharmeceutical world I
decided to take it a bit slower and do things
I like. Other than my hobbies that involves
grassroots medicine in S.E.&P Asia. I
...read more (/member/diy_bloke/)
More by diy_bloke
(http://cdn.instructables.com/FBT/GJCN/H1O5DHQP/FBTGJCNH1O5DHQP.LARGE.jpg)
(/id/Irrigating-your-garden-
with-an-opamp-The-circuit)
In an instructable "Make an Attiny13 based IR proximity sensor for $2.42
(http://www.instructables.com/id/Make-an-Attiny13-based-IR-proximity-sensor-
(/id/Cheap-PIR-sensor-
for-2/)" by Dustin Andrews refers to having to install the Attiny13 core files.
for-eg-Arduino)
Unfortunately the core files that are linked to do not contain the boards.txt file
(/id/Make-a-spigot-for-a-
that will let the Attiny 13 show up as choice under 'Tools-boards' in the IDE. If
lightstand-materials)
you are a novice at installing core files this may seem daunting, but since I just
did it, I thought I'd just share that knowledge with you.
Tags:
Attiny13 (/tag/type-id/category-technology/keyword-
Do the following:
attiny13/)
-Download the Attiny cores from: http://sourceforge.net/projects/ard-core13/
attiny (/tag/type-id/category-technology/keyword-attiny/)
(http://sourceforge.net/projects/ard-core13/)
core (/tag/type-id/category-technology/keyword-core/)
-Go to your sketches folder
arduino (/tag/type-id/category-technology/keyword-
-most likely there is a folder called 'hardware' if not, create that.
arduino/)
-open the hardware folder
-create a folder called 'attiny13' programming (/tag/type-id/category-technology
/keyword-programming/)
-open that folder
-create a folder called cores
-open that folder
-create a new folder called 'core13'
Related
-so now you have the structure /hardware/attiny13/cores/core13
-open that deepest folder and unzip the attiny core files to that folder
Programming an
-go back to your /hardware/attiny13 folder
ATTiny13A using Arduino
-create a text file called 'boards.txt' & servo interpreter
(/id/Programming-
open that file.
an-ATTiny13A-using-
1 z 4 2014-03-12 20:45
Installing Attiny13 core files http://www.instructables.com/id/Installing-Attiny13-core-files/
Pimp Your Chocolates with
paste the following text in that file:
Arduino IDE and ATtiny13
(/id/Pimp-Your-Chocolates-
###########################################################################
with-Arduino-IDE-and-
attiny13int.name=Attiny13 @ 128 KHz (internal watchdog oscillator)
ATtiny13/)
Chipper Board - ATtiny
attiny13int.upload.using=arduino:arduinoisp
Programming Shield
attiny13int.upload.maximum_size=1024
(/id/Chipper-Board-ATtiny-
attiny13int.upload.speed=250 # important for not losing connection to a slow
Programming-Shield/)
processor
Program an ATtiny with
attiny13int.bootloader.low_fuses=0x7B
Arduino (/id/Program-
attiny13int.bootloader.high_fuses=0xFF
an-ATtiny-with-Arduino/)
attiny13int.bootloader.unlock_bits=0x3F
by randofo (/member/randofo/)
attiny13int.bootloader.lock_bits=0x3F
Programming the ATtiny
attiny13int.build.mcu=attiny13
(/id/Programming-
attiny13int.build.f_cpu=128000
the-ATtiny/)
attiny13int.build.core=core13
by NaughtySlayer18 (/member
###############################################################
See More (/tag/type-id/?q=)
attiny13at4.name=ATtiny13 @ 4.8MHz (internal 4.8 MHz clock)
attiny13at4.upload.using=arduino:arduinoisp
attiny13at4.bootloader.low_fuses=0x69
attiny13at4.bootloader.high_fuses=0xff
attiny13at4.upload.maximum_size=1024
attiny13at4.build.mcu=attiny13
attiny13at4.build.f_cpu=600000
attiny13at4.build.core=core13
###############################################################
attiny13.name=ATtiny13 @ 9.6MHz (interne 9.6 MHz clock)
attiny13.upload.using=arduino:arduinoisp
attiny13.bootloader.low_fuses=0x7a
attiny13.bootloader.high_fuses=0xff
attiny13.upload.maximum_size=1024
attiny13.build.mcu=attiny13
attiny13.build.f_cpu=1200000
attiny13.build.core=core13
###############################################################
I got this 'boards.txt' file from here (http://elabz.com/arduino-shrunk-how-to-
use-attiny13-with-arduino-ide/), but had to adapt it a little as that file 'sneekishly'
suddenly changes the programmer in its last definition and also I had big
trouble getting more than 2 boards to show up, until I realised that 2 of the
board definitions carried the same name, so I had to change that as well.
So, just as a final check that you have done everything right:
Go to your hardware folderYou should see a folder there called attiny13
Open that folder
It should have 2 entries: a folder called 'cores' and a text file called 'boards.txt'
open the folder 'cores'
That should have one entry: a folder called 'core13'
open 'core13'. There you should find 13 files with 'h', 'c' and 'cpp' extensions.
To make it easy I made a zip file (http://dl.dropbox.com/u/52513692/attiny13.zip)
(https://docs.google.com/viewer?url=http://dl.dropbox.com/u/52513692
/attiny13.zip&embedded=false&chrome=false&dov=2) that should unpack with
the right directory structure. Unzip it in the 'hardware' folder
2 z 4 2014-03-12 20:45
Installing Attiny13 core files http://www.instructables.com/id/Installing-Attiny13-core-files/
Make Comment
Reply (CHO095DHCB8RAZL)
danm_daniel (/member/danm_daniel/) 1 year ago
legit, thanks DIY_Bloke
(/member
/danm_daniel/)
diy_bloke (/member/diy_bloke/) (author) danm_daniel
Reply (CU0A8H1HCB8L39F)
1 year ago
my pleasure
(/member
/diy_bloke/)
Reply (C1QWNZ6H71Y6966)
WWC (/member/WWC/) 1 year ago
Very good!
(/member
/WWC/)
I was actually trying to install the 13 files and not working. Then i came across
your ible on it and you saved the day. Works perfectly.
Thanks
W
diy_bloke (/member/diy_bloke/) (author) WWC
Reply (CULN2UZH71GLVGG)
1 year ago
My pleasure
(/member
/diy_bloke/)
Reply (CUU3JHVH1JUH4JP)
dustinandrews (/member/dustinandrews/) 1 year ago
Nice work!
(/member
/dustinandrews/)
Did you also have to change the wiring.c like it says here
(http://tekstop.wordpress.com/2011/12/30/programming-attiny13-using-arduino-
isp-and-all-the-hacking-involved/)? I think I ended up needing to do that to get the
blink program to work at the right speed. It may not matter for the IR sensor.
diy_bloke (/member/diy_bloke/) (author) dustinandrews
Reply (C8UI359H1JUH4LD)
1 year ago
No I did not do that. I did not try the
(/member blink program, just quickly a few other
/diy_bloke/)
statements and that worked. I did not
really set out to validate the core, just
to instruct how to install the available
one.
A quick test showed me it was working
diy_bloke (/member/diy_bloke/) (author) diy_bloke
Reply (CKBCNCLH1JUH4LJ)
1 year ago
Let me add that I am not sure if the
(/member link you gave above is the same core
/diy_bloke/)
and I used the 22 IDE, not the 1.0
diy_bloke (/member/diy_bloke/) (author) diy_bloke
Reply (CJX7M7PH1JUH4MC)
1 year ago
I checked a bit further and it seems
(/member that the article about changing the
/diy_bloke/)
wiring.c that you provide th elink for,
3 z 4 2014-03-12 20:45
Installing Attiny13 core files http://www.instructables.com/id/Installing-Attiny13-core-files/
deals with a different core. That wiring.c has references to the 44 and 84,
whereas the one I describe above (that is coming from yr ibble :-) ) does
not have these. Also the header file 'iotn13.h' is not present in the core
(from 'Smeezekitty' you and I link to, suggesting the change in wiring.c
involves a different core.
About Us Find Us
Facebook (http://www.facebook.com/instructables)
Who We Are (/about/)
Advertise (/advertise/)
Youtube (http://www.youtube.com/user/instructablestv)
Contact (/about/contact.jsp)
Twitter (http://www.twitter.com/instructables)
Jobs (/community/Positions-available-at-Instructables/)
Pinterest (http://www.pinterest.com/instructables)
Help (/community?categoryGroup=Help)
Google+ (https://plus.google.com/+instructables)
Tumblr (http://instructables.tumblr.com)
Resources
Mobile
For Teachers (/teachers/)
Download our new apps for iOS,
Artists in Residence (/group/air/)
Android and Windows 8!
Join! English
Join our newsletter:
Gift Pro Account (/account/give?sourcea=footer)
Forums (/community/)
Android (https://play.google.com/store
Answers (/tag/type-question/?sort=RECENT)
/apps/details?id=com.adsk.instructables)
Terms of service (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21959721) |
iOS (https://itunes.apple.com
Privacy Policy (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21292079) |
/app/instructables/id586765571)
Legal Notices & Trademarks (http://usa.autodesk.com/legal-notices-trademarks/) | Mobile Site (http://m.instructables.com)
(http://usa.autodesk.com/adsk/servlet/pc/index?id=20781545&siteID=123112)
Windows
© Copyright 2014 Autodesk Inc. All rights reserved.
(http://apps.microsoft.com
/windows/en-us/app/7afc8194-
c771-441a-
9590-54250d6a8300)
Go Pro Today (/account/gopro?sourcea=footer)
We're Hiring! (/community/Positions-available-at-Instructables/)
4 z 4 2014-03-12 20:45


Wyszukiwarka

Podobne podstrony:
Core Files
Instrukcja instalacji Arduino na AtTiny13
install
Install (28)
Energooszczędne instalacje oświetleniowe
Instalacja systemu Windows z pendrive a
04 Prace przy urzadzeniach i instalacjach energetycznych v1 1
Rysunek instalacyjny
INSTALACJA SI?OWNIK?W ZAMKA CENTRALNEGO
zip install 7 mcnyqmgjhb6h65uxfcn3a6xjmv7yuzdmudhjy4q mcnyqmgjhb6h65uxfcn3a6xjmv7yuzdmudhjy4q
install product page
install
INSTALL ja

więcej podobnych podstron