Arduino Tutorial: ATTiny85 board A First Look and review.

Arduino Tutorial: ATTiny85 board A First Look and review.


Dear friends welcome to another video! This
is Nick from educ8s.tv and today we are going to take a quick first look at this ATtiny85
board. Without any further delay, let’s get started!
I wanted to take a look at this tiny board for a long time. It is very small size, it
is low cost and it uses a different processor than the Arduino boards. It uses the ATTiny
85 microcontroller chip, which can operate at a frequency up to 20Mhz. It has 8Kb of
flash memory, 512bytes of RAM memory and 6 I/O pins 2 of which can implement the I2C
protocol. It is very small in size and has low power requirements. We can program it
using the Arduino IDE, which makes things so much easier! I got this tiny board with
a USB interface in order to be easier to program. You can find a link for this ATtiny85 board
in the description of the video. I wanted to test if the ATtiny85 board is
a good option for simple projects and if we achieve longer battery life with this board
that a standard Arduino mini. Let’s find out together.
At first we have to download the appropriate drivers in order the board to work with your
computer. After trying a lot of different drivers for my Windows 8.1 installation, the
one that works comes from this website. Next we have to add the ATTiny85 board in the Arduino
IDE. We go to File ->Preferences and we enter this URL to the Additional Boards Manager
URL field. Next we press ok. Next we go to tools, board ->Boards Manager we select the
Digistump AVR package and we select install. After a few seconds our board is ready to
use with the Arduino IDE. In order to program this board we have to follow a different procedure
that the one we follow with Arduino boards. At first we select the board, we select Digispark
(Default at 16.5Mhz). Next we write our code and we press the Upload button with the board
still unplugged. The bottom status box will ask you to plug your Digispark board. After
doing so, the code will be uploaded to the board and the program, the standard blink
sketch in this example, will run. Now that we know how to program the ATTiny
board let’s modify the blink program in order to measure its power consumption. So,
in this example program, the LED stays on for a second and stays off for 3 seconds.
I have connected a Multimeter and as you can see, the ATTiny board needs around 13mAs of
current. If we put ATTiny to sleep using the code will provide, we drop the current draw
to around 4mAs. Still not low enough. So, I took more drastic measures. I removed the
power LED which stays on all the time and I removed the regulator and I provide power
to to ATTiny chip directly. Still, the current draw is high, about 2mA when the chip is sleeping.
It seems the USB circuit requires a lot of current all the time. So, this board is not
suitable for low power applications. I think we have to use a bare ATTiny chip if we want
to greatly reduce its power consumption. As a final thought, from my experience with
the board, I can say that it is a nice small board with limited capabilities. It is useful
from small projects that require few lines of code. But the power consumption is not
low. An Arduino pro mini at sleep needs less current, costs around the same, and offers
more pins, memory and functionality. For me, the Arduino Nano or the Arduino Pro mini,
is a better option, if the bigger size of these Arduino boards is not an issue. If you
need the minimum possible board size, the ATTiny is a good option. What do you think
about the ATTiny usb board? Have you managed to further reduce the power consumption of
it? If you have any tricks or advice, please post your comments in the comments section
below. Thanks! If this is your first time here, I would love
to have you subscribed. In this channel I post videos about DIY projects every Saturday.
I love making things and I believe that anyone can make things, anyone can become a maker.
That’s why I created this channel, in order to share my knowledge with the community and
learn from the community. I hope you will join us. Until next Saturday, Watch, Learn,
Build!

42 thoughts on “Arduino Tutorial: ATTiny85 board A First Look and review.”

  1. I like you channel and your videos. I always wait fir your videos each Saturday. Your videos and your website are beneficial.

  2. If it can interest, i've a bare attiny 85 chip… It's very useful for small projects, and it draw 0.07mA when sleeping… but there are too few compatible libraries and modules… for this size, I prefer Teensy 3.2…

  3. So basically it's just the attiny chip itself, that's making it current high. Is the specs of that chip different in compared to regular through hole attiny85 as far as current consumption?

  4. Stanislav Ilchenko

    Just remove 5.0V LDO regulator from the board and you will get micro amps from 4.5V power supply. The same is actual for different Chinese versions of Arduino Pro Mini, LDO on the board drains to much current also being not used at all.

  5. Digispark boards are perfect for simple applications. Look at my YT channel. I've used such boards as simple LED Matrix controller and 2nd application as IR remote for PC thanks to USB support.

  6. Hi I have a question.
    When I try to connect a 3V power source (2x AAA batteries) to the VIN and GND. The board doesn't work (I just get a faint power LED).
    If I connect the 3V power source directly to the chip it does work.
    I'm not really an expert so could you explain to me why this is happening, and how I might be able to fix it/use the normal VIN and GND pins with 3 or 3.3V.
    I don't have the exact same model though, I'm using a CJMCU lilytiny, but it's still based on the ATTiny85 and has the exact same chip and pin layout.

    Thanks in advance!

  7. I am inclined to agree with you about the Digspark, of course they make other little AT85 dev boards that use a USB mini B. I have had the devil of a time trying to get the drivers to work for the Digispark, that is the only thing that would make it worthwhile to buy from the manufacture, as most Ebay vendors are selling a version don't send it with the Micronucleus Bootloader , the only thing that allows the magic of two diodes to make a USB (HID) link possible. I have found the bootloader and pushed it to the AT85, but not certain of the fuse setting. So Windows insists on blowing up my plans for anything but a full six wire ISP interface 🙂 Win7 will invariably tell me the the device is not recognized!!!!! I am going to try once again, and pose the question at the Digistump Forum and maybe I will get to the bottom of it. There are many projects that its form factor would lend itself to, And besides it is bella

  8. Hi ! I do not know if people on the same problem as me but I bought a few of these boards, I program it but after a while the program seems beings no longer present on the board and so I am obliged to reprogram it. But it"s an hardware problem i think. Ty for this great video !

  9. Saurabh Gangamwar

    hello,
    Does it possible to communication between Digispark ATtiny 85 with hc 05 using hardware serial ?if yes then how?

  10. Hi, I am DIpak. Recently i brought digispark attiny85 and 0.96" OLED ssd1306. when I interfaced with arduino uno were it was quite easy. BUT i found very difficulty while interfacing with digipspark attiny85 module. Please help me with providing me the code and library.

  11. If you want low power consumptiom – DIY. This thing looks useful in projects that benefit from power-over-microUSB though.

  12. I think you should have got the one without USB in order to compare. I think my Teensy 3.2 uses about 1.8 mA @ 3.8 V and 2 MHz when it's not sleeping.

  13. Looking at the board I would think the linear regulator is the problem and why it takes so much power how about removing the regulator and replacing it with a better regulator switch mode comes to mind you can get very small ones!

  14. INNOVATION & INITIATIVE Diy

    Hello Anyone plz clear my misconceptions that's what is difference between programing ic like attiny85 , avr with or without Bootloading into it , I read somewhere that it can communicate with pc or ide software , now my misconceptions is I think if I program code once in ic like attiny85 or Avr without Bootloading then that I C will unable to Reprogram again ????? Is it true ??? On the other hand I think if I Bootload into ic like Avr for arduino ide communication I will able to program and reprogram ic again and again many times just as arduino uno types boards ?????? Plz some one explain me

  15. Your videos r great
    So plz hlp me and do that
    https://nathan.chantrell.net/20121014/tinypcremote-an-attiny85-based-infrared-pc-remote-control/

  16. Olá gostaria de saber se consigo acionar um relé através de um infravermelho ultilizando apenas o Attiny85. Só preciso saber se é possível

  17. DimitriosA8 Tsipouras

    Thank you for your videos that Hobby people like me found too useful, no to the point of my question is that I try to build a temperature e.g. D22 sensor with Attinny 85 or other tinny to use the I2C protocol and then to connect to my adruino project, in few word I lie to transform any signal of sensor to i2c! so let me know how I can do that ? how I can change the address of I2c?
    Hope my task to be logical !
    Thank you in advance anyone help me 😊

Leave a Reply

Your email address will not be published. Required fields are marked *