The Digispark is an ATTiny85 with a voltage regulator.If you have another Arduino (UNO maybe?) to do the programming, you can just use an ATTiny85 by itself. Maybe a DC-to-DC voltage regulator to hook up the battery.That would require minimal soldering and money wise you could end up far under $3.I'm a software guy and I can do that much soldering...
Thanks. As these are Christmas ornaments, I assumed I would power it via a USB charger cable that plugs into the wall socket, and not a battery. Any particular place you would order the ATtiny85's from?
I do have a hardware ISP on order to reset the trinket/gemma, but since it is on a slow boat from China, I don't expect to get it before we start thinking about sending the gifts out.
Quote from: MichaelMeissner on Oct 28, 2013, 07:05 pmI do have a hardware ISP on order to reset the trinket/gemma, but since it is on a slow boat from China, I don't expect to get it before we start thinking about sending the gifts out.There's a new breed of Pro Minis on eBay that has ISP interface as well as FTDI. Look for the boards with a double row of pins at one end by the reset button...the price is about the same as the old ones.
I like to order from Digikey. They ship within the US in very few days.Part numbers:ATTINY85-20PU-ND - ATTiny85, 8-pin DIP package ($1.29)A100204-ND - 8-pin DIP socket ($0.29)
While the Gemma, Trinket, or Digispark would work fine, I was wondering if there were cheaper boards for a quantity 6 order from a North American seller. I have an Uno R3 that I could use to do the programming for the chip.
Thanks, though the US price isn't all that cheap ($6.75 on ebay for the old version, none of the US sellers seem to have the new one).
I can see cheaper china versions, but as I said, I don't want to order from China, given how long it takes the normal order, and the fact that my wife always pushes to ship early so we get reasonable priced shipping.
Is there anything else besides the ATtiny85, DIP socket, and voltage regulator that I need? Capacitors? Resistors? Etc.?
Six-pin headers for ISP prigramming
We're still in October. The slowest eBay shipping I've ever seen took about a month (YMMV).If your buying a dozen or so I'm sure there's somebody on aliexpress who'll send them via. courier for a reasonable price and they'll arrive in two days. I've ordered LED strips from China on a Friday afternoon and they arrived on Monday morning.
I've had at least 3 ebay auctions that never showed up, and 1-2 that eventually showed up 2-3 months later.
In terms of paying for faster shipping, for most things, it winds up roughly the same cost or cheaper, if I order from a US vendor and use the US post office than use the Chinese shipping options that claim to expedite the shipping (and there still is the customs lottery that seems to hold things up on a random basis).