Read the thread before asking a question.How are you going to power leds and microcontroller board?
Do you have separate power supply/battery for leds?
I’ll take a look tomorrow. The Stanley Cup Finals Game 6 is on. So far the good guys are leading. Two more periods to go.That code looks good, exactly what I need.
If you can come up with the schematic for this (and a parts list) that would be very useful since its been a while since I have done anything with electronics (back then a Z80 or 6502 was state-of-the-art if you wanted to add a microprocessor to a project)
As for the LEDs, click on "specifications" and it shows the relavent data.
That lists a "typical forward voltage" of 2V, a "typical forward current" of 20mA and a "maximum forward current" of 50mA (among other things)
Hi! Got busy and to be honest, forgot what thread this was (probably due to age; I can walk into the bathroom and forget why I’m there). But I’m waiting for the cable guy and will have time this morning.Any luck with the schematic? I am heading out to the location where a good electronics parts store is located in the next few days and it would be good to be able to pick up all the parts while I am in the area rather than having to go back there later...
Also is this circuit likely to be something that I can do on a breadboard rather than having to make a PCB for it?
The top schematic is for one LED string. You’ll need to make four.
By the way, no he doesn’t. Each string draws 20mA, within the capabilities of a pin. And he plans on only having one string illuminated at a time. Well within the total limit of the μPyou will need this: https://arduinodiy.wordpress.com/2012/05/02/using-mosfets-with-ttl-levels/ to switch strings on and off.
Nope! No MOSFETs are needed. I checked your profile and you don’t have a location. Sorry about that. I’ll take a quick look for a programmer available in Australia...So I dont actually need a MOSFET to drive the LEDs with the ATTiny85 using the LEDs I have specified?
Also if I am powering this with AA batteries how many do I need? (and what, if any, other circuitry is required between the battery holder and the ATTiny85?)
As for the programmer, the problem with that specific item is that I can't find an Australian supplier for it and if I order it from Sparkfun directly the costs involved (cost of the product, cost of shipping, currency conversion/international card transaction fees, 10% Australian tax on top of all that and possibly more) it would be easier to just buy an Arduino Uno (or similar clone board) from a local supplier and some bits and follow something like https://create.arduino.cc/projecthub/arjun/programming-attiny85-with-arduino-uno-afb829 instead.
That will look nice.For reference what I am building is the famous XXXX building here in Brisbane and the plan is to have one LED at each corner of the X with one string of 4 for each X on the sign. (I already have Xs ready to accept the LEDs I picked as well as the rest of the building)
![]()
Regards, Dana.4. Although each I/O port can sink more than the test conditions (10 mA at VCC = 5V, 5 mA at VCC = 3V) under steady state
conditions (non-transient), the following must be observed:
1] The sum of all IOL, for all ports, should not exceed 60 mA.
If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater
than the listed test condition.
5. Although each I/O port can source more than the test conditions (10 mA at VCC = 5V, 5 mA at VCC = 3V) under steady state
conditions (non-transient), the following must be observed:
1] The sum of all IOH, for all ports, should not exceed 60 mA.
If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current
greater than the listed test condition.
by Jake Hertz
by Jake Hertz