Author Topic: Can we use Digispark directly on mobile charger  (Read 3052 times)

Mahimna

  • Newbie
  • *
  • Posts: 16
Can we use Digispark directly on mobile charger
« on: March 06, 2018, 01:51:20 am »
Hello guys,
As I am learning this new world of digispark i am doing a project where I need to plug the designed unit to 230v ac plug directly. I didn't have enogh time for designing power supply so i was wondering, can we use the mobile charger directly? I searched but couldn't find the maximum current withstand capacity neither of attiny nor digispark so please help me out here. The current we get thriugh charger is 1 to 2  amps. Will it be safe for the controller or how can i modify it for the appropriate use? Thank you

granzeier

  • Jr. Member
  • **
  • Posts: 73
Re: Can we use Digispark directly on mobile charger
« Reply #1 on: March 06, 2018, 02:39:11 am »
As long as your power source is providing +5V DC, and at least the current required by your circuit (Digispark or other,) the circuit will only draw the current that it needs.  In other words, if your Digispark system (Digispark plus all added devices) draws 500 mA, then it does not matter whether your power supply provides 1 Amp, or 1,000,000,000 Amps - the circuit will only draw 500 mA. Just make sure that your incoming voltage is not more than the Digispark can handle (+5V on the +5V line, or about +12V - preferably - on the +Vin line.)

Mahimna

  • Newbie
  • *
  • Posts: 16
Re: Can we use Digispark directly on mobile charger
« Reply #2 on: March 06, 2018, 11:39:33 am »
@granzeier thank you very much. I appreciate your prompt and well enlightened reply, though for the person of your knowledge level might find our, beginners question and less knowledge annoying but each and every time someone like you explains the concept neatly it really does make the difference. though I am a electronics engg student I was very confused about that, but it is clear to me that the load only draws as much a current as it needs provided the voltage and resistance are constant. Thank you abd see you around here!! :)

granzeier

  • Jr. Member
  • **
  • Posts: 73
Re: Can we use Digispark directly on mobile charger
« Reply #3 on: March 06, 2018, 03:48:47 pm »
@granzeier thank you very much. I appreciate your prompt and well enlightened reply, though for the person of your knowledge level might find our, beginners question and less knowledge annoying but each and every time someone like you explains the concept neatly it really does make the difference.
Anyone can make the simple complex; always strive to make the complex simple.  ;D
though I am a electronics engg student I was very confused about that, but it is clear to me that the load only draws as much a current as it needs provided the voltage and resistance are constant. Thank you abd see you around here!! :)
Exactly, look up Ohm's law, several of my students had troubles with that same issue.  Glad that I could help.

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Can we use Digispark directly on mobile charger
« Reply #4 on: March 08, 2018, 11:09:52 pm »
Nah... more complex the better... then there are more things you can blame it on! :-P  ;D

Another way to look at it is using water as an analogy, as most people can relate to that... where volts is the water pressure, amps is the volume of water, and ohms is the restriction in the pipe. So you can have as many amps as you as you like, but if your ohms (resistance) doesn't change... then more water won't come out the tap! But if you put too much pressure (voltage) on that pipe, it will pop!


Mahimna

  • Newbie
  • *
  • Posts: 16
Re: Can we use Digispark directly on mobile charger
« Reply #5 on: March 21, 2018, 10:46:07 pm »
Well that helped. Thanks Man !!