Author Topic: usbasp to suppose voltage for experiments?  (Read 2397 times)

0 Members and 1 Guest are viewing this topic.

Offline casper.bangTopic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: dk
  • Pro SE, amateur EE.
    • BangBits
usbasp to suppose voltage for experiments?
« on: April 06, 2015, 12:07:00 pm »
Unlike high quality programmers like the AVRISP mkII programmer, on cheap Chinese USBASP clones*, I guess there are NO protection what-so-ever against shorts between the 5V power rail and group - so using it to do anything else than power programming (say run experiments on a breadboard) is thus a bad idea as it puts the USB port in jeopardy.

What would the easiest way be to add some protection? I'd like to make a programming adaptor (10 pin header) which can also power the board during breadboarding. Is a small linear 3.3V regulator the way to go then?

* http://www.ebay.co.uk/itm/10-Pin-Cable-USBASP-USBISP-AVR-Programmer-Adapter-USB-ATMEGA8-ATMEGA128-Arduino-/381216028308?pt=LH_DefaultDomain_0&hash=item58c23ef694
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: usbasp to suppose voltage for experiments?
« Reply #1 on: April 06, 2015, 12:16:37 pm »
Shorting the 5V USB rail to GND isn't an issue. The USB standard requires protection from shorts be incorporated into the USB port.

However, shorting USB power to a higher voltage might be a different story, never tried it.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: usbasp to suppose voltage for experiments?
« Reply #2 on: April 06, 2015, 12:40:00 pm »
Isn't there a 3.3V regulator on the programmer?
The listing says it can deliver 3.3V
 

Offline casper.bangTopic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: dk
  • Pro SE, amateur EE.
    • BangBits
Re: usbasp to suppose voltage for experiments?
« Reply #3 on: April 06, 2015, 03:39:16 pm »
Isn't there a 3.3V regulator on the programmer?
The listing says it can deliver 3.3V
Indeed, on the rear side there's an AMS1117 [http://www.advanced-monolithic.com/pdf/ds1117.pdf] which I guess means I am safe. :)
 

Offline casper.bangTopic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: dk
  • Pro SE, amateur EE.
    • BangBits
Re: usbasp to suppose voltage for experiments?
« Reply #4 on: April 06, 2015, 03:40:57 pm »
Shorting the 5V USB rail to GND isn't an issue. The USB standard requires protection from shorts be incorporated into the USB port.

However, shorting USB power to a higher voltage might be a different story, never tried it.
So what you are saying is, attaching the programmer directly to a breadboard should be safe as long as it's the only power being used? I do wonder then why you never really see USB programmers+prototyping boards in one.
 

Offline Grapsus

  • Regular Contributor
  • *
  • Posts: 242
  • Country: fr
Re: usbasp to suppose voltage for experiments?
« Reply #5 on: April 06, 2015, 03:49:37 pm »
For low-speed (1.5 Mbps, which is the case for USBasp) and full-speed (12 MBps) you have relatively cheap isolators :

http://www.amazon.com/HifimeDIY-Isolator-ADUM4160-signal-isolation/dp/B00F4SCCR2
https://www.olimex.com/Products/USB-Modules/USB-ISO/

They have full galvanic or optic isolation for both power and data lines so it should protect your computer in case something goes wrong.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf