Recent Posts

Pages: [1] 2 3 ... 10
1
Digispark (Original) Support / Re: Get device name by Digispark
« Last post by Greg311 on June 23, 2017, 10:22:42 pm »
Can someone help me?
2
Off-Topic / Is the Digistump webstore dead?
« Last post by cshort on June 22, 2017, 04:28:37 pm »
Is the Digistump webstore dead?

I bought a Controleo2 a few days ago and since then the item is on Status: Preparing for Shipment

One thanks for the order mail, nothing since...

I wonder if the site, beside the forums, is still active.
3
Do you want to run the device from batteries?

Depending on your skills, you could use a single ATtiny 85 in a DIP package for your project, as it does use the USB only for programming the device.

Using a bare ATTiny 85 will avoid the Digispark components consuming power without any benefit.

Have a look at

http://highlowtech.org/?p=1695
http://highlowtech.org/?p=1706
http://digistump.com/wiki/digispark/tutorials/programming

Ralf
4
Hi Ralf,

Thank you for answer, i'll keep some hair on my head :). I'll try to use other pins for my sketch. I got a 1-wire temp son and an RF Transmiteer attach to the Digispark

Thank you for All
Pacopad
5
Hi pacopad,

I missed that you added your sketch as an attachment. Now I noticed it.

You are using pin3 and pin4 (which are the USB data pins) and attached some hardware to it. So I suppose that this hardware confuses the bootloader by pulling one of the pins (I always forget which one it is) to a voltage level the bootloader interprets as a beginning of data transmission.

When the Digispark is attached to USB, the PC's USB data pins override the voltage level your hardware produces, and the bootloader gives control to the sketch.

Ralf
6
Digispark (Original) Support / Re: Can't upload to DigiSpark on Ubuntu
« Last post by KASA on June 21, 2017, 10:59:09 am »
I bought digisparks from 2 chinese sellers myself and all worked... Im not to sure if this is a problem with the digispark or something else.
Just to be clear, please support Digistump! The Problem for me is, if I would buy there shipping would cost more than a digispark so I buy them in china... But to Help them a little bit I try to help in the Forum  ;)
7
I couldn't really check in the code if you already did that but in setup I would just do a blink with the onboard led to check if the sketch even started.
8
Hi Ralf,

thank you for answer, i already try what you suggest (power the usb 5V and GND with battery pack) but no way, the power light is on and the sketch did not start :(

It start only when powered by a computer , is there an other thing to try or check ?

Best regards
Pacopad
9
Digispark (Original) Support / Re: Can't upload to DigiSpark on Ubuntu
« Last post by Ralf on June 21, 2017, 04:30:39 am »
Quote
I purchased the digisparks from here and here.

Seems to be a case of "buy chinese, because it saves money, but pay twice (or triple) because you paid for shit"  ;)
10
Quote
Is there something special in the code that need a computer ?

Short answer: YES.

Long answer: Appearantly your phone charger manipulates the USB data pins. So the DigiSpark bootloader thinks the device is connected to a computer and waits for a beginning upload.

There are 2 ways to solve this:
Take care that only the black and red lines in the USB cable are connected to the DigiSpark's USB,
or use DigiSparks GND and 5V pins to feed 5V to it.
 
Pages: [1] 2 3 ... 10