Protostack AVR Programmer In Arduino IDE

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

I am trying to get into the world of micro controllers.

 

Having purchased an ATTiny85 and USBasp from eBay along with creating a development board, i believe I am ready to go with the basics.

 

The Arduino IDE v1.8.3 is installed along with the USBasp drivers for my Windows 7 machine.

 

I plan on using the Arduino IDE to program the ATTiny85 however my USBasp isn't recognised in the IDE?

When i try to burn the boot loader I am told the USBasp is not available. Checking the device info it turns out I have a USBasp from Protostack Prt Ltd

 

Googling most of last night has arrived me at the conclusion that people use AVRdude instead to program this USBasp.

 

Is it possible to get it to work in the Arduino IDE? If so how do I get to do so?

 

Thanks in advance for any help!

 

Thanks

Ash

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Welcome to the forum!

 

As a beginner, I would suggest you start with proven hardware like an Arduino UNO, as this is the platform where most Arduino projects begin!

It is easy to use, just plug it in and it just goes!

It can also be used as a programmer for more advanced projects like the T85.  Just because a T85 is small and cheap does not mean it is easy to do.

Take it from a Pro, we all use the uno to start new projects, then migrate a working project to other platforms, you should do that too.

 

Good luck with your projects, and drop in to ask questions as needed.

 

Jim

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ki0bk wrote:
As a beginner, I would suggest you start with proven hardware like an Arduino

+1

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the responses folks.

 

I will probably look into an Arduino in the future but for now I want to get this working.

 

As far I can tell it's not the AT85 that is causing the issue but the Arduino software itself with the USBasp.

Thanks

Ash

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AetherAVR wrote:
 I want to get this working.

Then, surely, the Arduino is the way to go.

 

The most certain - and probably also the quickest - way to get something working is with known-good hardware, such as an Arduino.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AetherAVR wrote:
Googling most of last night has arrived me at the conclusion that people use AVRdude instead to program this USBasp.

 

Actually, the Arduino IDE uses avrdude to talk to the programmer, if your using a USBasp, then in the Tools menu, select your board, processor if shown, and programmer(choose USBasp).   Hit the build and upload button and you should be good.

 

 

Jim

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nobody has asked yet. How is your USBasp connected to the Tiny85?

 

Jim (the west coast one)

 

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In Windows, the USBasp device requires a driver to interact between the USBasp hardware and Windows.  Microsoft makes it most difficult to install drivers; primarily due to their demonstrated inability/unwillingness to build a secure operating system. 

 

Google for "USBasp drivers".

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There are "lots" of reasons why I dislike "arduino", but it has it's merits.

The attiny84 (or any other tiny) would also not my go to.

 

The easyest way to start is with an "arduino nano" which cost  < USD2 on Ali / Ebay

https://www.aliexpress.com/whole...

The big advantage of these are:

- price :)

- convenience (built in bootloader). You don't have to burn your own.

- Luxury (atmega328p, loads of peripherals, flash I/O pins).

- Breadboard friendly (unlike the stupid "arduino" pcb layout).

 

After playing some time you probably want to get some more boards or make a custom pcb.

That is a good time to learn working with USBasp.

 

 

 

Paul van der Hoeven.
Bunch of old projects with AVR's:
http://www.hoevendesign.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You can download the Window's driver and User Guide for the USBASP at the Protostack site https://protostack.com.au/shop/accessories/usbasp-avr-programmer/   Look at the bottom of the link under Downloads.

When you plug the programmer into the USB port,

1. do you hear a sound (assuming you have a sound system)?  Indicates that the USBASP is connected to its driver.

2. do any LEDs on the USBASP light up?

3. Can you see the USB driver in the Device Manager?

That USBASP supplies 5v power to the uC target.  You may wish to remove the jumper (3 pin - 5v on one side, 3.3v on the other) if you think there might be a conflict with power to the uC development board.  The User's Guide will show you where the jumper is located. 

 

Alan

 

P.S.  If you don't want to build your own development board, check out the Protostack boards at https://protostack.com.au/product-category/boards/microcontroller-boards/  They are first class and have the compatible connector to the USBASP.  Their tutorials at https://protostack.com.au/tutorials/ might also help. They got me started.

Last Edited: Tue. Sep 5, 2017 - 11:55 PM