Skip to content

beargun/Trinky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Trinky

Trinky

A Trinket clone using only through-hole components

The goal of this project was to create a Trinket clone using only through-hole components.

Goals

  • Use only though-hole components. Since there are no through-hole mini-USB B sockets, I opted for a USB A etched right on the board (similar to the Digispark)
  • Small footprint. Get it at least as small as the original Trinket.
  • Optional fuse. I'm really fond of my USB ports, so for extra peace of mind I added a poly-fuse. I choose a surface-mount ptc fuse, as they tend to be faster than through hole versions. This fuse is optional (as it would break the first goal).
  • Different bootloader. I slightly altered the bootloader, to have it go into programming mode, only when the reset button is pressed. So when you power it up, your code will run immediately, instead of after 10 seconds.
  • No voltage regulator. The ATtiny85 will work on 2.7-5.5V. If you power your project using batteries, a voltage regulator will just decrease battery file. Just choose a battery with less than 5.5V. Also, I didn't have room for it.

Creating the board

Transfering the layout to the board using toner-transfer. You can see some paper residue on the toner. This doesn't hinder the etching
Trinky

Etching the board in hydrochloric acid and hydrogen peroxide. I'm agitating the board using a modified cd-rom drive.
Trinky

Almost done.
Trinky

If you look closely you still see some copper. In hindsight I should have left it in the etching solution a bit longer.
Trinky

With the toner removed you can clearly see the copper bridge. Easily fixed with a sharp knife.
Trinky

All fixed. Note that I also cut away some of the outline. Otherwise I couldn't test for short using my multimeter
Trinky

Holding it against the light reveals there are no more obvious shorts.
Trinky

Holes drilled.
Trinky

Outline cut using an electric scroll saw.
Trinky

Assembling the board

Since the led has to be at the top (the same side as the copper), I put the leads down, and then back up in the holes next to it. Otherwise you can't have the led flush with the board, as you have to be able to put the soldering iron underneath it.
Trinky
Trinky

Next add a jumper and the two zener diodes to the underside, and solder it.
Trinky
Trinky

The resistor for the led.
Trinky

The two 68-Ohm resistors. You should move the resistors more to the right, to make the button fit better.
Trinky

Note the solder bridge I accidentally made. I only noticed it when I was done, and did some final testing using my multimeter.
Trinky

Remove two of the leads from the button. I also had to remove a bit of one corner. You shouldn't have to do that if you moved the resistor a bit more to the right.
Trinky

Here I added the button and the 1800-Ohm resistor (Trinket uses 1500-Ohm). You should put this resistor one the bottom. As it won't really fit, once you move the two resistors, as instructed above
Trinky

Here come the brains. I've already flashed my altered bootloader onto it.
Trinky

Bend over the pins.
I also scraped away the trace between the two pads of the poly-fuse. If you don't add the poly-fuse you should just leave it there.
Here I've also tinned the USB connector. This will make it fit better into the USB socket, and prevent the copper from oxidizing and wearing out.
Trinky

Here I soldered the pins, and added the optional poly-fuse.
Trinky

Because the ATtiny is at the bottom, I had to put shims under the header pins to raise them high enough to reach the board.
Trinky

For a bit of extra bling, I added a few layers of nail varnish. This will prevent accidental short, oxidation and tin-whiskers (just kidding on the last one). I added some extra layers at the top right, where the board might touch the outside/shielding of the USB socket.
Trinky

Too scale. The board ended up fractionally shorter (29.5mm) than the board of the real Trinket (note that mini-USB sticks out even more). It is however slightly wider. I could just cut away some more of the board, but I'd have to slightly move some components in the layout to match the width of the Trinket. Win some, lose some
Trinky


Trinky


Trinky

And yes, it works!
Trinky

Thank you for watching!

About

Trinket clone, using only through-hole components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published