From b3ddc2b60db1c1c486267cdb04c5ac126d039ca2 Mon Sep 17 00:00:00 2001 From: then Date: Fri, 11 May 2018 13:00:32 +0200 Subject: [PATCH 1/4] Update 'README.md' --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34d4f68..94ab328 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Here you will find instructions and code to produce an audio (.wav) player using a SD card, a speaker, 3v coin-cell and an attiny(85) micro-controller. Oh yes, and your favorite tunes! -[Varia Open-Day](http://varia.zone/varia-open-day.html) workshop participants, feel free to skip right ahead to the [Workshop](#Workshop) section. +[Varia Open-Day](http://varia.zone/varia-open-day.html) workshop participants, feel free to skip right ahead to the [Workshop](https://git.vvvvvvaria.org/then/secure-digital-club#workshop) section below. ## Intro This repository is by no means intended as tutorial/how-to but as a personal archive of notes how to re-create the amazing work by [Elm Chan](http://elm-chan.org/) @@ -11,7 +11,7 @@ It can and will therefore be hyper-specific, incomplete, inconsistent or plain w ## Flashing -To get your micro-controller to do what you want, it needs some instructions. If you have a pre-flashed ATtiny85 micro-controller your can skip to the [Workshop](#Workshop) part of this read-me (below). +To get your micro-controller to do what you want, it needs some instructions. If you have a pre-flashed ATtiny85 micro-controller your can skip to the [Workshop](https://git.vvvvvvaria.org/then/secure-digital-club#workshop) part of this read-me (below). #### Prerequisites @@ -194,7 +194,7 @@ You're free to come up with a technique to connect the components together as lo 2) place the ATtiny with pin1 in the top left corner on the SD card orientated in such a way that the golden contacts are displayed. -3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images (09.jpg) and (10.jpg) +3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images ![09](images/09.jpg?raw=true "09") and ![10](images/10.jpg?raw=true "10") 4) remember the ATtiny orientation and put it aside. From e770e3bf394f250b38fdce290005f758fee6ff62 Mon Sep 17 00:00:00 2001 From: then Date: Fri, 11 May 2018 13:01:56 +0200 Subject: [PATCH 2/4] Update 'README.md' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 94ab328..c882f37 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ You're free to come up with a technique to connect the components together as lo 2) place the ATtiny with pin1 in the top left corner on the SD card orientated in such a way that the golden contacts are displayed. -3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images ![09](images/09.jpg?raw=true "09") and ![10](images/10.jpg?raw=true "10") +3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images ![09](images/09.jpg?raw "09") and ![10](images/10.jpg "10") 4) remember the ATtiny orientation and put it aside. From 19be2f5e9a98420208279a80e2b92782727dd892 Mon Sep 17 00:00:00 2001 From: then Date: Fri, 11 May 2018 13:04:03 +0200 Subject: [PATCH 3/4] Update 'README.md' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c882f37..f7b8076 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ You're free to come up with a technique to connect the components together as lo 2) place the ATtiny with pin1 in the top left corner on the SD card orientated in such a way that the golden contacts are displayed. -3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images ![09](images/09.jpg?raw "09") and ![10](images/10.jpg "10") +3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images ![09](images/09.jpg "09") and ![10](images/10.jpg "10") 4) remember the ATtiny orientation and put it aside. From c26f7e0b77227e3651dda4ba22c7e5c5121bf51b Mon Sep 17 00:00:00 2001 From: then Date: Fri, 11 May 2018 14:46:51 +0200 Subject: [PATCH 4/4] Update 'README.md' added images --- README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index f7b8076..9123b17 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Soldering to the SD CARD (not micro sd): **WORK IN PORGRESS** #### Construction -You're free to come up with a technique to connect the components together as long as you keep the [schematic](#Schematic) in mind (or not ;0). Among popular techniques are: breadboarding, [manhattan](https://hackadaycom.files.wordpress.com/2016/05/0gfwt.jpg?w=400) (great tutorial [here](https://www.parasitstudio.se/building-blog/manhattan-style-pedalbuilding) btw) or [deadbug](https://m.eet.com/media/1180890/thermoml.jpg) circuit design. Can't decide how to connect the components? Just start soldering up the components pin by pin, either starting from the SD card or the ATtiny. Another approach is to think about what type of device you want to create; will it be a wearable device, a pocket device, a mantle piece? Or what functionality it should have (easy to replace batteries? updatable songs? reset button? skip track button?). Below is an description for a dead-bug style compact unit with replaceable battery, departing from the pins on the SD card in respect to the orientation of the ATtiny. +You're free to come up with a technique to connect the components together as long as you keep the [schematic](#Schematic) in mind (or not ;0). Among popular techniques are: breadboarding, [manhattan](https://hackadaycom.files.wordpress.com/2016/05/0gfwt.jpg?w=400) (great tutorial [here](https://www.parasitstudio.se/building-blog/manhattan-style-pedalbuilding) btw) or [deadbug](https://m.eet.com/media/1180890/thermoml.jpg) circuit design, more crazy circuits [here](https://hackaday.com/2017/09/05/non-standard-circuits-jazz-for-electrons/). Can't decide how to connect the components? Just start soldering up the components pin by pin, either starting from the SD card or the ATtiny. Another approach is to think about what type of device you want to create; will it be a wearable device, a pocket device, a mantle piece? Or what functionality it should have (easy to replace batteries? updatable songs? reset button? skip track button?). Below is an description for a dead-bug style compact unit with replaceable battery, departing from the pins on the SD card in respect to the orientation of the ATtiny. ###### Soldering Tips * clean the tip of your soldering iron before every usage! @@ -194,19 +194,19 @@ You're free to come up with a technique to connect the components together as lo 2) place the ATtiny with pin1 in the top left corner on the SD card orientated in such a way that the golden contacts are displayed. -3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. See images ![09](images/09.jpg "09") and ![10](images/10.jpg "10") +3) Bent the ATtiny pins a little bit so pin 5 touches D0 on the SD card, pin 7 touches the CLK contact of the SD card and pin 8 touches the VCC on the SD card. Lift ATtiny pin 6 up a bit, so it doens't make contact. ![09](images/09.jpg "09") ![10](images/10.jpg "10") 4) remember the ATtiny orientation and put it aside. -5) 'wet' all the SD card contacts with a bit of solder (you can omit the outer two), be careful not to melt the plastic. For easier soldering you can carefully cut the innards of the SD card from the plastic shell! See image (11.jpg) and (12.jpg). +5) 'wet' or 'tin' all the SD card contacts with a bit of solder (you can omit the outer two), be careful not to melt the plastic. For easier soldering you can carefully cut the innards of the SD card from the plastic shell! ![11](images/11.jpg "11") ![12](images/12.jpg "12") 6) wet all the legs of the AT tiny with solder, you can omit pin 1. -7) place the ATtiny back in place, put a TINY bit of solder on your iron and you will be able to 'tack' the ATtiny in place in a breeze. See image (12.jpg) +7) place the ATtiny back in place, put a TINY bit of solder on your iron and you will be able to 'tack' the ATtiny in place in a breeze. ![13](images/13.jpg "13") 8) remove the battery form the clip if there is one (when heated, the 3v lithium cells tend to explode in your face). @@ -217,13 +217,13 @@ You're free to come up with a technique to connect the components together as lo 10) strip and tin a piece of wire (3.5cm) and connect it to the negative pole of the battery clip. -11) strip and tin a piece of wire (5cm) and connect it to the positive pole of the battery clip. See image (14.jpg) +11) strip and tin a piece of wire (5cm) and connect it to the positive pole of the battery clip. See image ![14](images/14.jpg "14") -12) cut the plastic pins from the battery clip and (hot)glue it to the SD card. See images (15.jpg) and (16.jpg) +12) cut the plastic pins from the battery clip and (hot)glue it to the SD card. ![15](images/15.jpg "15") ![16](images/16.jpg "16") -13) bend the 5cm wire coming from the positive battery lead around the SD card towards the vcc pin of the SD card (and ATtiny ;), cut it to size, wet the end and solder it in place! See images (17.jpg) and (18.jpg) +13) bend the 5cm wire coming from the positive battery lead around the SD card towards the vcc pin of the SD card (and ATtiny ;), cut it to size, wet the end and solder it in place! ![17](images/17.jpg "17") ![18](images/18.jpg "18") 14) the negative pole of the battery must connect to: @@ -231,21 +231,23 @@ You're free to come up with a technique to connect the components together as lo * gnd of the ATtiny (pin 4) * gnd of the SD card (at two contacts, use a jumper wire as seen in (step 18)) -15) so…from the negative pole of the battery clip, move along to the ATtiny pin 4, solder it down and bend it to the upper most gnd (vss) of the SD card (19.jpg). For the speaker use an extra piece of wire (step 19) and use a small piece of jumper wire to connect the two vss and gnd on the SD card (step 18). +15) so…from the negative pole of the battery clip, move along to the ATtiny pin 4, solder it down and bend it to the upper most gnd (vss) of the SD card ![19](images/19.jpg "19"). For the speaker use an extra piece of wire (step 19) and use a small piece of jumper wire to connect the two vss and gnd on the SD card (step 18). -16) cut a piece of wire (3.5cm) to connect ATtiny pin 2 to SD card pin D3 (dat 3), cut, strip, tin, solder (20.jpg). +16) cut a piece of wire (3.5cm) to connect ATtiny pin 2 to SD card pin D3 (dat 3), cut, strip, tin, solder. ![20](images/20.jpg "20") -17) cut a piece of wire, strip, tin, bent to connect SD cards gnd pin to negative battery clip (21.jpg). +17) cut a piece of wire, strip, tin, bent to connect SD cards gnd pin to negative battery clip. ![21](images/21.jpg "21") -18) cut, strip, tin a 2cm wire to connect ATtiny pin 6 to D1 of the SD card, careful not to burn your hands and make sure no wires are touching (22.jpg)! +18) cut, strip, tin a 2cm wire to connect ATtiny pin 6 to D1 of the SD card, careful not to burn your hands and make sure no wires are touching! ![22](images/22.jpg "22") -19) at this point i solder 4cm of multicore, flexible (in order to have a bit more freedom to position the speaker), wire to the audio out of the ATtiny (pin 3) and the negative pole of the battery for the speaker (23.jpg) and (24.jpg). +19) at this point i solder 4cm of multicore, flexible (in order to have a bit more freedom to position the speaker), wire to the audio out of the ATtiny (pin 3) and the negative pole of the battery for the speaker ![23](images/23.jpg "23") ![24](images/24.jpg "24") 20) slip in a battery and you have your boom-box! -(25.jpg) -(26.jpg) -(27.jpg) + +![25](images/25.jpg "25") +![26](images/26.jpg "26") +![27](images/27.jpg "27") + #### Notes and features * Instead of a speaker you can also solder a minijack input or just solder the female jack to the speaker leads and enjoy both!