Sonic Potions - Penrose Quantizer DIY Kit

From circuitbending to homebrew stompboxes & synths, keep the DIY spirit alive!

Moderators: lisa, luketeaford, Kent, Joe.

Post Reply
pjbulls
Learning to Wiggle
Posts: 13
Joined: Tue Feb 04, 2020 5:26 pm

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by pjbulls » Tue Jun 23, 2020 9:51 am

Haralds:Werk wrote:
Thu May 14, 2020 4:26 am
* Fuse settings for external quarz (20MHz):
* avrdude -p m328p -c avrisp2 -U lfuse:w:0xe7:m
* avrdude -p m328p -c avrisp2 -U hfuse:w:0xd9:m

Should be the same for the 168
Awesome, thanks!

User avatar
glennfin
Veteran Wiggler
Posts: 527
Joined: Sun Apr 19, 2015 1:19 pm
Location: Winston Salem, NC
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by glennfin » Wed Jun 24, 2020 8:08 am

Can someone please point me to the latest firmware download and instructions for updating?. I could never get mine to work correctly but it has old firmware. The links in the first post are dead.

Thanks

pjbulls
Learning to Wiggle
Posts: 13
Joined: Tue Feb 04, 2020 5:26 pm

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by pjbulls » Wed Jun 24, 2020 9:17 am

The latest firmware is in this git repo as far as I know. Precompiled binaries are in the bin/ directory.

If you have a chip with the audio bootloader already flashed you should be able to play the bin/penrose.wav file per the instructions provided in the manual, but I haven't tried that.

You can also update the firmware (bin/quantizer.hex) via an AVR ISP programmer such as the USBasp and a flashing utility such as avrdude. If you have avrdude set up and the programmer connected to the board you can flash the firmware via a command similar to 'avrdude -c usbasp -p m328p -U flash:w:quantizer.hex:i', see for example here for some more detailed explanation.

BartBral
Common Wiggler
Posts: 184
Joined: Tue Nov 26, 2019 10:47 am
Location: IC1

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by BartBral » Wed Jun 24, 2020 9:21 am

glennfin wrote:
Wed Jun 24, 2020 8:08 am
Can someone please point me to the latest firmware download and instructions for updating?. I could never get mine to work correctly but it has old firmware. The links in the first post are dead. Thanks
https://github.com/SonicPotions/Penrose In the BIN folder.
When you use the audio-file update procedure, be sure to use a stereo cable, as the update is send thru the ring of the the cable into the Penrose Trigger-IN jack. Be sure to amplify the signal enough, otherwise it won't update properly/at all.

Further update info here:
http://www.sonic-potions.com/penroseManual

Good luck!

User avatar
glennfin
Veteran Wiggler
Posts: 527
Joined: Sun Apr 19, 2015 1:19 pm
Location: Winston Salem, NC
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by glennfin » Thu Jun 25, 2020 3:20 am

Thanks guys!.. I'll give it a try.

mnygus
Learning to Wiggle
Posts: 8
Joined: Thu Feb 22, 2018 10:13 am
Location: Poland

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by mnygus » Sat Jun 27, 2020 6:57 am

There is bug in 1.2 firmware! When input voltage is >2.55V, ADC hysteresis is not working and sometimes Penrose can switch randomly between two notes.

Image

I've fixed this and you can download latest fixed firmware here:

https://github.com/mgalach/Penrose/blob ... rFixed.hex

pld
Ultra Wiggler
Posts: 937
Joined: Thu Mar 05, 2015 5:15 am
Location: Germany

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by pld » Sat Jun 27, 2020 7:33 am

mnygus wrote:
Sat Jun 27, 2020 6:57 am
There is bug in 1.2 firmware! When input voltage is >2.55V, ADC hysteresis is not working and sometimes Penrose can switch randomly between two notes.
It's kind of a shame the forum is still MIA, the hysteresis issue has been covered a few times (e.g. here, albeit in a different format).

There's also some other quirks in the firmware, for which I had fixes in various branches -- but since there's actually been a total overhaul by float32: github

mnygus
Learning to Wiggle
Posts: 8
Joined: Thu Feb 22, 2018 10:13 am
Location: Poland

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by mnygus » Sat Jun 27, 2020 8:43 am

I will try overhaul, thanks!

Too bad there is not .hex, I have to fugure out how to compile it...

User avatar
BugBrand
Knowledge of Bugs
Posts: 7286
Joined: Tue Jul 15, 2008 11:59 am

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by BugBrand » Sat Jun 27, 2020 8:59 am

pld wrote:
Sat Jun 27, 2020 7:33 am
mnygus wrote:
Sat Jun 27, 2020 6:57 am
There is bug in 1.2 firmware! When input voltage is >2.55V, ADC hysteresis is not working and sometimes Penrose can switch randomly between two notes.
It's kind of a shame the forum is still MIA, the hysteresis issue has been covered a few times (e.g. here, albeit in a different format).

There's also some other quirks in the firmware, for which I had fixes in various branches -- but since there's actually been a total overhaul by float32: github
Yup - the thread for my bug-format version has some decent firmware as linked above: viewtopic.php?p=3121480#p3121480

User avatar
glennfin
Veteran Wiggler
Posts: 527
Joined: Sun Apr 19, 2015 1:19 pm
Location: Winston Salem, NC
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by glennfin » Sun Jun 28, 2020 7:41 am

I don't see the firmware wav file anywhere....
mnygus wrote:
Sat Jun 27, 2020 6:57 am
There is bug in 1.2 firmware! When input voltage is >2.55V, ADC hysteresis is not working and sometimes Penrose can switch randomly between two notes.

Image

I've fixed this and you can download latest fixed firmware here:

https://github.com/mgalach/Penrose/blob ... rFixed.hex

User avatar
Fedor
Common Wiggler
Posts: 68
Joined: Sun Jun 04, 2017 4:27 pm
Location: Ukraine
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by Fedor » Sun Jun 28, 2020 12:11 pm

Finished the build today (my first diy module ever!), so I need the latest firmware, too)

User avatar
BugBrand
Knowledge of Bugs
Posts: 7286
Joined: Tue Jul 15, 2008 11:59 am

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by BugBrand » Sun Jun 28, 2020 3:47 pm

Oh yes, I never figured out how to make a .wav - I used a usb programmer to the 6pin ISP header (wasn't particularly comfortable with all that but figured it finally!).

User avatar
kreiff
Common Wiggler
Posts: 168
Joined: Sun Sep 21, 2014 4:34 pm
Location: Philadelphia, PA
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by kreiff » Sun Jun 28, 2020 4:06 pm

glennfin wrote:
Sun Jun 28, 2020 7:41 am
I don't see the firmware wav file anywhere....
I actually compiled and outputted the wav file on my machine using float32's instructions. You can download it from my google drive here:
https://drive.google.com/file/d/1v8viPz ... sp=sharing

It worked on both of my builds. Firmware update instructions are the same found here:
https://www.sonic-potions.com/penroseManual

I found that after the audio completed, I had to power cycle the module.

float32's firmware is much better. No more glitches between notes. I want to say the accuracy is better across octaves as well - but I haven't reviewed all the updates that float32 made in detail.

User avatar
Fedor
Common Wiggler
Posts: 68
Joined: Sun Jun 04, 2017 4:27 pm
Location: Ukraine
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by Fedor » Sun Jun 28, 2020 4:56 pm

@kreiff, thank you!

User avatar
glennfin
Veteran Wiggler
Posts: 527
Joined: Sun Apr 19, 2015 1:19 pm
Location: Winston Salem, NC
Contact:

Re: Sonic Potions - Penrose Quantizer DIY Kit

Post by glennfin » Mon Jun 29, 2020 3:01 am

kreiff wrote:
Sun Jun 28, 2020 4:06 pm
glennfin wrote:
Sun Jun 28, 2020 7:41 am
I don't see the firmware wav file anywhere....
I actually compiled and outputted the wav file on my machine using float32's instructions. You can download it from my google drive here:
https://drive.google.com/file/d/1v8viPz ... sp=sharing

It worked on both of my builds. Firmware update instructions are the same found here:
https://www.sonic-potions.com/penroseManual

I found that after the audio completed, I had to power cycle the module.

float32's firmware is much better. No more glitches between notes. I want to say the accuracy is better across octaves as well - but I haven't reviewed all the updates that float32 made in detail.
Thanks!

Post Reply

Return to “Music Tech DIY”