electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
Please visit the chat
 Forum index » DIY Hardware and Software
DIY Euclidean Polyrhythm Generator
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 3 of 3 [62 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2, 3
Author Message
sneakthief



Joined: Jul 24, 2006
Posts: 569
Location: Berlin

PostPosted: Thu Aug 11, 2016 7:54 am    Post subject: Reply with quote  Mark this post and the followings unread

AREF is the pin below A0. It's a clean 5V reference voltage, so better than using the regular 5V line.
_________________
Sneak-Thief - raw electrofunk
Back to top
View user's profile Send private message Visit poster's website
EL BO



Joined: Mar 15, 2015
Posts: 57
Location: hobart

PostPosted: Fri Aug 19, 2016 11:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Whoa. This is amazing value. I got a bit excited and ordered parts already.

Tell me, will it also run at audio frequencies, to give interesting frequency divisions, or are the outputs too short /long for this to work.

To put it another way, Does it give a fixed length trigger, or gate, or is it pulse width of the input clock pulse?

Cheers

Lance
Back to top
View user's profile Send private message
sneakthief



Joined: Jul 24, 2006
Posts: 569
Location: Berlin

PostPosted: Fri Aug 19, 2016 11:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

It works at low audio rates and outputs fixed pulses. But if you're willing to roll up your sleeves and try programming, you could add a pot or cv control which could modify the gate length.
_________________
Sneak-Thief - raw electrofunk
Back to top
View user's profile Send private message Visit poster's website
EL BO



Joined: Mar 15, 2015
Posts: 57
Location: hobart

PostPosted: Sat Aug 20, 2016 12:28 am    Post subject: Reply with quote  Mark this post and the followings unread

I am totally not a programmer. Is it trivial to make an analogue in pin accept a 0-5v cv to adjust pulse width?
Ie can I just cut n paste someone else's code?
Back to top
View user's profile Send private message
Schläfer



Joined: Aug 17, 2017
Posts: 13
Location: Berlin

PostPosted: Sun Sep 17, 2017 3:04 am    Post subject: Reply with quote  Mark this post and the followings unread

EL BO wrote:
I am totally not a programmer. Is it trivial to make an analogue in pin accept a 0-5v cv to adjust pulse width?
Ie can I just cut n paste someone else's code?


I would be really interested in this, and as well on how to modify the code to be able to take CV inputs to modify parameters (density, length, offset)
Back to top
View user's profile Send private message
Schläfer



Joined: Aug 17, 2017
Posts: 13
Location: Berlin

PostPosted: Fri Sep 22, 2017 1:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Working build of the sequencer , testing to send voltage to a small DC motor with a piezo to get the sound of the vibration Very Happy

https://www.youtube.com/watch?v=ml-uI3bO3DI&feature=youtu.be

and a bit off topic, but the same idea with a baby8 sequencer too
https://www.youtube.com/watch?v=1LPaU2ltXfI&feature=youtu.be


Euclidean Motor.mp4
 Description:

Download
 Filename:  Euclidean Motor.mp4
 Filesize:  3.34 MB
 Downloaded:  121 Time(s)

Back to top
View user's profile Send private message
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 22482
Location: The Netherlands, Enschede
Audio files: 219
G2 patch files: 319

PostPosted: Mon Sep 25, 2017 9:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Schläfer wrote:
Working build of the sequencer , testing to send voltage to a small DC motor with a piezo to get the sound of the vibration :D


Nice!

_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
dub halley



Joined: Dec 22, 2010
Posts: 20
Location: Rennes, FRANCE

PostPosted: Tue Oct 03, 2017 5:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hello Smile

I'm back to finish this wonderful project ...

I just want to say thanks !!! Very Happy

Have a nice night ! Wink
Back to top
View user's profile Send private message Visit poster's website
Schläfer



Joined: Aug 17, 2017
Posts: 13
Location: Berlin

PostPosted: Fri Nov 24, 2017 4:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Still looking for a way to implement CV input to the encoders parameters with the remaining input pins of the Arduino, it would really add nice evolving / modulation possibilities..

Anybody managed to find a trick to do this in the Arduino code?
Back to top
View user's profile Send private message
dub halley



Joined: Dec 22, 2010
Posts: 20
Location: Rennes, FRANCE

PostPosted: Thu Dec 21, 2017 2:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Schläfer : sorry sorry, not on my skills ...

sneakthief : Thanks nfor everything !! Very Happy

with your mods, all become good !!
I needed to change the arduino, the first one seems to be destroyed by the "freeze" ...
But nevermind, it work Cool

It's a wonderful seq Very Happy
Thanks
Back to top
View user's profile Send private message Visit poster's website
dodgyg1



Joined: Mar 19, 2018
Posts: 3
Location: UK

PostPosted: Tue Mar 20, 2018 2:47 pm    Post subject: work in progress Reply with quote  Mark this post and the followings unread

Great project. Thanks to Sneakthief and Tombola for all their work.

Have a unit built but have some teething problems to iron out. Any help/suggestions from any of you guys would be much appreciated.

On first power up got a couple of rows of led's light up then go off. Then nothing. Cleared EEPROM and re-uploaded code. Booted up, all led's came on then went off and then nothing. At least this showed that all led's in the display were working. In both of these cases operation of encoder switches or encoders seemed to do nothing.

ok so lets see if the encoders are being seen in the software. I set the debug flag to 2 and ran the EEPROM
program before re-flashing the main program. The display sprang into life and the serial monitor showed that each of the encoders were operating as expected. Repeating this operation twice more but with the debug flag reset to zero resulted in the previous incorrect operation. Debug flag set at 2 and the display springs back into life. No idea why this is the case but it seems to be the only way I can get the display to work.

I have a display that looks like the one Sneakthief showed on the first photograph on page 1. I'll have to replace this as it will not fit into the eurorack panel based on the .svg drawing on page one. I've ordered this one

https://www.ebay.co.uk/itm/MAX7219-LED-8x8-Dot-Matrix-Display-Module-MCU-control-for-Arduino-DIY/131497841320?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

from a link sneakthief gave later in his post as proved to work. The i2c board sits on the back of the led display without extending to far outside the display dimensions.

In the meantime with my existing display I noticed that one row was blank. I took it to be row 7 as this indicates which channel is selected. It means also that my display is running right to left. However pressing each of the encoder switches in turn did light up any led's in this row. Next I checked some voltages as follows:

Aref = 4.62V
End of 10k resistor connected to Aref = 3.54V
input A2 with length encoder pressed = 1.98V
input A2 with density encoder pressed = 1.15V
input A2 with offset encoder pressed = 0.66V

These values are exactly as I calculated so A2 is getting expected input. However the display does not light up any of the led's in row7 neither indeed is there any change to the patterns before pressing to after pressing. After awhile of pressing and holding switches nothing happened and then suddenly after having released switches two led's on the left came on. They have since stayed on and no amount of switching changes this. A check on A2 voltage showed 0V as expected with no switches pressed. Strange behavior indeed!

That's all for tonight. Tomorrow I will try the other ledcontrol.h for reversed displays.
Back to top
View user's profile Send private message
dodgyg1



Joined: Mar 19, 2018
Posts: 3
Location: UK

PostPosted: Wed Mar 21, 2018 4:15 pm    Post subject: Moved to muffwigglers Reply with quote  Mark this post and the followings unread

After spending a good deal of time trying to get this to work I find that more recent and updated schematics and software are now on muffwigglers. Rather than have others waste their time trying to solve problems that have already been sorted. Please go to

https://www.muffwiggler.com/forum/topic-45485-0-0.html

(At the moment the site is down so try again later).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 3 of 3 [62 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use