Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.

Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
This creates a potential divider with a 20K resistor to feed an output
voltage of around between 5 and 0.3V into an ATTiny13 where it controls
a PWM output fed to a piezo buzzer.
Total parts cost for 20 is �41.72, meaning a parts cost of �2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the �7.50 target price.
This price doesn’t include delivery, as we’re not quite over the �50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.
Where are you getting the parts from?
Ben Dooks, ben@fluff.org, http://www.fluff.org/ben/
Large Hadron Colada: A large Pina Colada that makes the universe disappear.
Version 2, now with a real stylophonic keyboard!On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.

this also has the chip and piezo moved to the back of the board to make it
solderable, and the probe has been changed to connected directly to the ADC,
so probing randomly around the board will just make odd noises, not short
everything.
Making one up tomorrow :DOn 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.
Bob, Can we label the keys with the letter on the notes?
As in make a small hole in the pad for the keys and then put the letter for
the note on the pad.
Regards
AlexOn Fri, Feb 11, 2011 at 2:34 PM, Bob Clough parag0n@ivixor.net wrote:
this also has the chip and piezo moved to the back of the board to make it
solderable, and the probe has been changed to connected directly to the ADC,
so probing randomly around the board will just make odd noises, not short
everything.
Making one up tomorrow 
On 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of
the ladder between 0 and 19k. This is then potential dividered (this a
word?) with the 20k resistor, to give an output voltage of between 5 and
0.3(ish) volts. This is then read by an ADC on the attiny13, and outputted
to the piezo buzzer via pwm. There are two extra pads to shift up and down
an octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
re-englished:
The project uses a resistor ladder of between 0 and 19K which forms a
potential divider with the 20K resistor (Rxx) to create an output
between
approximately 5V and 0.3V. This is then fed into the ADC input of the
ATTiny13
to create a PWM signal to drive a piezo buzzer. The ATTiny13 also has
two
extra inputs to allow the pitch to be shifted up or down by an octave.
Ben
Version 2, now with a real stylophonic keyboard!
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.
ns2.png
6KViewDownload
teardrop program for eagle:
ftp://ftp.cadsoft.de/eagle/userfiles/ulp/teardrops2.ulp
ITS ALIVE!
Just finished programming the NS2, its making noises!
They may not be nicely tuned noises, but they’re noises all the same :DOn 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of the
ladder between 0 and 19k. This is then potential dividered (this a word?)
with the 20k resistor, to give an output voltage of between 5 and 0.3(ish)
volts. This is then read by an ADC on the attiny13, and outputted to the
piezo buzzer via pwm. There are two extra pads to shift up and down an
octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.
Bob,
Look up the frequencies for the notes…We want the instrument to be in
tune from middle C!
I know the note A is 440Hz
Here is a website that should help:
http://hypertextbook.com/facts/2003/DanielleDaly.shtml
Oh, very well done by the way!
AlexOn Tue, Feb 22, 2011 at 10:29 PM, Bob Clough parag0n@ivixor.net wrote:
ITS ALIVE!
Just finished programming the NS2, its making noises!
They may not be nicely tuned noises, but they’re noises all the same 
On 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of
the ladder between 0 and 19k. This is then potential dividered (this a
word?) with the 20k resistor, to give an output voltage of between 5 and
0.3(ish) volts. This is then read by an ADC on the attiny13, and outputted
to the piezo buzzer via pwm. There are two extra pads to shift up and down
an octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each. This
doesnt include programming the ICs or etching PCBs, both of which will take
time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50 free
shipping yet, i’m hoping to get the other kits finalized tonight and get the
parts ordered.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
yeah, i have a list of the frequencies needed, just gotta work back from
that to the OCR0A/B valuesOn 22 February 2011 22:53, Alexander Lang alexanderlang1980@googlemail.comwrote:
Bob,
Look up the frequencies for the notes…We want the instrument to be in
tune from middle C!
I know the note A is 440Hz
Here is a website that should help:
http://hypertextbook.com/facts/2003/DanielleDaly.shtml
Oh, very well done by the way!
Alex
On Tue, Feb 22, 2011 at 10:29 PM, Bob Clough parag0n@ivixor.net wrote:
ITS ALIVE!
Just finished programming the NS2, its making noises!
They may not be nicely tuned noises, but they’re noises all the same 
On 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of
the ladder between 0 and 19k. This is then potential dividered (this a
word?) with the 20k resistor, to give an output voltage of between 5 and
0.3(ish) volts. This is then read by an ADC on the attiny13, and outputted
to the piezo buzzer via pwm. There are two extra pads to shift up and down
an octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each.
This doesnt include programming the ICs or etching PCBs, both of which will
take time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50
free shipping yet, i’m hoping to get the other kits finalized tonight and
get the parts ordered.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
Cool!On Tue, Feb 22, 2011 at 11:00 PM, Bob Clough parag0n@ivixor.net wrote:
yeah, i have a list of the frequencies needed, just gotta work back from
that to the OCR0A/B values
On 22 February 2011 22:53, Alexander Lang < alexanderlang1980@googlemail.com> wrote:
Bob,
Look up the frequencies for the notes…We want the instrument to be in
tune from middle C!
I know the note A is 440Hz
Here is a website that should help:
http://hypertextbook.com/facts/2003/DanielleDaly.shtml
Oh, very well done by the way!
Alex
On Tue, Feb 22, 2011 at 10:29 PM, Bob Clough parag0n@ivixor.net wrote:
ITS ALIVE!
Just finished programming the NS2, its making noises!
They may not be nicely tuned noises, but they’re noises all the same 
On 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of
the ladder between 0 and 19k. This is then potential dividered (this a
word?) with the 20k resistor, to give an output voltage of between 5 and
0.3(ish) volts. This is then read by an ADC on the attiny13, and outputted
to the piezo buzzer via pwm. There are two extra pads to shift up and down
an octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each.
This doesnt include programming the ICs or etching PCBs, both of which will
take time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50
free shipping yet, i’m hoping to get the other kits finalized tonight and
get the parts ordered.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
Just got this tuned properly, turns out i had the clkdiv8 fuse bit set,
which is why everything was too low (doh).
I (think i) have it working at 220Hz - 657.89Hz, which should be the correct
range :)On 22 February 2011 23:00, Alexander Lang alexanderlang1980@googlemail.comwrote:
Cool!
On Tue, Feb 22, 2011 at 11:00 PM, Bob Clough parag0n@ivixor.net wrote:
yeah, i have a list of the frequencies needed, just gotta work back from
that to the OCR0A/B values
On 22 February 2011 22:53, Alexander Lang < alexanderlang1980@googlemail.com> wrote:
Bob,
Look up the frequencies for the notes…We want the instrument to be
in tune from middle C!
I know the note A is 440Hz
Here is a website that should help:
http://hypertextbook.com/facts/2003/DanielleDaly.shtml
Oh, very well done by the way!
Alex
On Tue, Feb 22, 2011 at 10:29 PM, Bob Clough parag0n@ivixor.net wrote:
ITS ALIVE!
Just finished programming the NS2, its making noises!
They may not be nicely tuned noises, but they’re noises all the same 
On 11 February 2011 14:33, Bob Clough parag0n@ivixor.net wrote:
Version 2, now with a real stylophonic keyboard!
On 9 February 2011 14:04, Bob Clough parag0n@ivixor.net wrote:
Attached are the schematics for the nano stylophone.
It uses a resistor ladder and a ground probe to vary the resistance of
the ladder between 0 and 19k. This is then potential dividered (this a
word?) with the 20k resistor, to give an output voltage of between 5 and
0.3(ish) volts. This is then read by an ADC on the attiny13, and outputted
to the piezo buzzer via pwm. There are two extra pads to shift up and down
an octave.
Total parts cost for 20 is £41.72, meaning a parts cost of £2 each.
This doesnt include programming the ICs or etching PCBs, both of which will
take time and materials, but we are within the £7.50 target price.
This price doesn’t include delivery, as we’re not quite over the £50
free shipping yet, i’m hoping to get the other kits finalized tonight and
get the parts ordered.
–
You received this message because you are subscribed to the Google
Groups “HAC:Manchester” group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.
–
You received this message because you are subscribed to the Google Groups
"HAC:Manchester" group.
To post to this group, send an email to hacman@googlegroups.com.
To unsubscribe from this group, send email to
hacman+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/hacman?hl=en-GB.