I have problem with Digispark Attiny85 dev board pls help - Page 1
Forum section: electronics / general

author: Chriss
author_rank: Frequent Contributor
timestamp: April 16, 2020, 07:54:30 pm
content: Hi!I got today this borad:https://www.aliexpress.com/item/32706757720.html?spm=a2g0o.productlist.0.0.20fa17a3AJKiRP&algo_pvid=dd3fc944-eeaa-4767-bda7-10cabb495b8f&algo_expid=dd3fc944-eeaa-4767-bda7-10cabb495b8f-10&btsid=0ab6fab215870664872712362eb200&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_Digispark kickstarter Micro development board ATTINY85 module for Arduino usb from aliexpress and when Iconnect it to the PC windows non-stop connect and disconnect the device, like I pull out and put back the usb cable.The driver and the Arduino IDE installed well.I also tried on other PC and laptops but the same issue.I tried to upload some sketch but no way.I can't figure out why does windows continuously connect and disconnect the device.Update:Exactly this is happening like on this video on YT:Does somebody have any idea?Thanks.

author: mojoe
author_rank: Frequent Contributor
timestamp: April 17, 2020, 04:37:55 am
content: Just a guess, but perhaps the bootloader isn't installed on those. I know, calling it a Digispark implies that it has the Micronucleus bootloader, but I have heard of some vendors not installing it.Does the second LED on the board blink? The power LED should be constantly on. It is common for these things to come with the Blink program installed.If no blinking LED, again, I would question whether the bootloader is installed.Even though it is connecting/disconnecting, see if you can program the Blink example, anyway. Tell the Arduino IDE to upload, then plug in the board when it tells you to. It just may take. If so, then the bootloader is definitely installed.If that doesn't work, try tying P5 to ground. If it holds the chip in reset mode, then that would be a strong indication that the booloader isn't there. You can use Micronucleus without making the Reset pin a GPIO (P5), but this isn't the Digispark standard.If the Reset pin is still reset, you can use an "Arduino as ISP", or a "USBASP" to program the Micronucleus bootloader your self. Instructions are on the net.Otherwise, I don't know what to suggest. Perhaps someone else has the answer.The Digispark clones that I recently bought from Robotdyn work as they should.

author: rrinker
author_rank: Super Contributor
timestamp: April 17, 2020, 06:32:10 pm
content: I use Tiny85's in a bunch of small things, but I just built a shield for an Uno-style Arduino using the Arduino as ISP ciruit and just upload source without a bootloader of any sort. I made a fancier one with a 28 pin ZIF socket to program ATMega328's for my other project.

author: Chriss
author_rank: Frequent Contributor
timestamp: April 17, 2020, 11:26:35 pm
content: Problem solved.Here is what I did:I Downloaded the latest version of Arduino IDE and the driver for the dev board.After installing everything I connected the dev board again to the usb port.It started to connect - disconnect the dev board.After that I connected the P5 to gnd and connected again to the usb.Now there was only one "ding" from windows, like if I connect the usb stick...No blinking LED just the power LED.Then I discoonnected the dev board from the PC and started the Arduino IDE.After seting up the IDE I tried to upload the simple LED blink program.Everything worked like a charm.Thanks for the help.My best regards.

author: mojoe
author_rank: Frequent Contributor
timestamp: April 18, 2020, 05:25:40 am
content: I had read that without a program loaded, these boards would be wonky. That was why I recommended trying to load Blink. I wouldn't buy from that vendor again, as they didn't do what they should have.Glad you got it working.