[ Ссылка ]
Boards Manager URL: [ Ссылка ]
Welcome Everyone
Today we are going to build a circuit to program an ATTiny85 with our Arduino
We are going to need the following
Some jumper wires
1 x 10 micro farad capacitor
The ATTiny85 Chip
A breadboad and
An Arduino
And For Extra visual's that are not really required I'm going to add
3 LED's
1 x 330 Ohm Resistor
And some extra jumper cables
Before we start with the circuit build, Head over to the Arduino IDE
Open the Sketch ArduinoISP from the File ,Examples and ArduinoISP menus
Verify and upload this sketch to your Arduino
The Arduino software does not Nativly support the ATTiny85 so
we need to add support for it.
Open the Preferences Dialog from the File menu
Put the link provided below into the Additional Boards Manager URL
And click OK!
Open the Boards Manager from the Tools, Board Menus
Select the attiny from the list once the software has updated
Note that you will require an internet connection for the ATTINy board manager to download
search for attiny, either manually scrolling down or typing in attiny in the filter field
install the latest version.
Lets set up the program to use the arduino as a programmer
Select "Arduino as ISP" from the Tools, Programmer Menus
Select ATTiny from the Tools, Board Menus
Select ATTINY 85 from the Tools, Processor Menus
I'm selecting 16Mhz Internal from the Tools, Clock Menu
The chip has 8 pins, to program the ATTINY85 we are interested only 6 of them
MISO, MOSI,SCK, RESET, Ground, and Positive
If you look closely at the chip you will see a dot.
This is Pin 1, Pin 2 through 8 follow in an anti-clockwise order around the chip
We could use This section of the Arduino to hook up the 6 wires to the ATTiny
Conveniently the headers on the Arduino are easier to work with
Now we are ready to jump into building the programming circuit
Unplug your Arduino
Place the ATTiny Chip onto the bread Board
Connect the ground from the Arduino to the Ground Rail
Connect the 5V from the Arduino to pin 8 of the ATTiny.
Connect pin 4 of the chip to ground.
Place the Capacitor between ground and another terminal strip
The Anode of the capacitor must be connected to ground
Connect the Cathode of the Capacitor to the Reset pin of the Arduino
Connect A lead from the header pin 10 of the Arduino to pin 1 of the Chip
Connect arduino Pin 11 to Pin 5 of the chip
Connect arduino Pin 12 to Pin 6 of the chip and
Connect Arduino pin 13 to pin 7 of the ATTiny85
The programmer will now work but I'm going to add some LED's. Because LED's are fun to have
Connect the resistor to ground and a terminal strip.
Connect Arduino pins 7 8 and 9 to separate terminal strips
Place LED's between each of the terminal strips connected to 7,8 and 9
and to the terminal strip with the Resistor
Head back over to the Arduino IDE
First we need to burn the Boot loader to the chip
Once that is done we can upload Arduino Sketches to the Attiny chip
In a previous video I made a program specifically for the ATTiny85 to control slider electronics
In the Arduino IDE I'm going to open that now and upload it to my Chip
Verify and upload the code and lets head over to my slider to see the code in action
I've placed the chip in the slider and now it slides from left to right.
I've hidden the soldered electronics under the roof of the slider unit
I've made the chip accessible so if I need to, I can change the chip or software with ease
In my next video I'm connecting an LCD screen to the Arduino and making a menu!
If you liked this video please give it a thumbs up and if you want to see more please subscribe
That’s all from me, until the next video. Bye-bye
Tobu & Itro - Sunburst [Creative Commos Music] by Creative Commons Music is licensed under a Creative Commons License
[ Ссылка ]
[ Ссылка ]
Follow Tobu:
www.7obu.com
@7obu
www.facebook.com/tobuofficial
www.twitter.com/tobuofficial
www.youtube.com/tobuofficial
Follow Itro:
www.facebook.com/officialitro
@itro
Ещё видео!