Author Topic: Sketch starts only when digispark is connected to computer  (Read 4793 times)

pacopad

  • Newbie
  • *
  • Posts: 3
Hi Everyone,

first of all , it's the first time i use this product :). I uploaded a sketch found on internet to "emulate" a temp sond and transmist the result by RF. I got a big problem, sketch start only when it's plugged to a computer. When i plug to a 2A phone charger, the power led is on but nothing happend.

Is there something special in the code that need a computer ?

Thank you for helping :)
Pacopad

pacopad

  • Newbie
  • *
  • Posts: 3
Re: Sketch starts only when digispark is connected to computer
« Reply #1 on: June 21, 2017, 08:52:05 am »
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

KASA

  • Newbie
  • *
  • Posts: 34
Re: Sketch starts only when digispark is connected to computer
« Reply #2 on: June 21, 2017, 10:55:27 am »
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.

pacopad

  • Newbie
  • *
  • Posts: 3
Re: Sketch starts only when digispark is connected to computer
« Reply #3 on: June 21, 2017, 10:39:08 pm »
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