electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
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 
 Forum index » DIY Hardware and Software » Arduino
1984, a sequencer
Post new topic   Reply to topic
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sun Dec 03, 2017 12:08 pm    Post subject: 1984, a sequencer
Subject description: based on the M185 sequencer made by Ryk
Reply with quote  Mark this post and the followings unread

When I first saw the Metropolis made by Intellijel, I immediately liked the idea of the repetitions set by the slide switch and after watching the Youtube video I started to search if there was anything about the origin of the Metropolis, and behold: It was on this very forum where the M-185 made by Ryk was presented by RYK himself!
The Metropolis was a bit to complex to my idea so I went for a more minimalistic approach, where I could use an Arduino.
Now the first part is working, I have 8 slide pots for frequency CV out, 8 thumb-wheels so I can choose between 0 and 9 repetitions for each step.
U1 is an analog multiplexer/demultiplexer where the potentiometer is chosen that goes to a certain step. U2 is a BCD to decimal converter where the selected output is low while the non-selected outputs are all high.
The LED's connected to the outputs of U2 are the LED's mounted in the sliders of the pots, so you can immediately see which step (potmeter) is active.
U3 is again a BCD to decimal converter where the outputs are connected to the commons of the 8 thumb wheel switches to select which thumb wheel switch is active.

Proof of concept:
https://youtu.be/uXZbiiASfTs


first part 1984.JPG
 Description:
 Filesize:  59.99 KB
 Viewed:  992 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

first part 1984.JPG



_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
gabbagabi



Joined: Nov 29, 2008
Posts: 651
Location: Berlin by n8
Audio files: 23

PostPosted: Wed Dec 06, 2017 6:13 am    Post subject: Reply with quote  Mark this post and the followings unread

nice!
and well done like always.

For what and where i have to search for these beautifull sliders u use?

cheers, gabba
Back to top
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Thu Dec 07, 2017 12:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Thank You, and this is only the first part.
Next will be the 4 position switches for the gate modes (no gate, a gate for every step, one gate at the start of the repetitions per channel, and a long gate covering all the repetitions in one channel). And the on/off switches for the glide.
After that more controls and outputs, still not sure what right now.
I bought the sliders HERE but I have noticed that they are not the best quality, one failed while soldered to the perfboard Shocked so it's best to test them before mounting.

_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
gabbagabi



Joined: Nov 29, 2008
Posts: 651
Location: Berlin by n8
Audio files: 23

PostPosted: Thu Dec 07, 2017 1:33 am    Post subject: Reply with quote  Mark this post and the followings unread

ok, i see .
they are looking better in your video then on alibaba.
Cool

the rest sounds like a never-ending-story,
but our whole sdiy is a never-ending-story,
so everyting normal here
Smile
Back to top
View user's profile Send private message
Sebo



Joined: Apr 27, 2007
Posts: 564
Location: Argentina

PostPosted: Fri Dec 08, 2017 11:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Nice, i will follow this post closely Smile
_________________
Sebo
---------------------------------------
My Music:
https://www.facebook.com/cosaquitos/
Back to top
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sat Dec 09, 2017 3:46 am    Post subject: Reply with quote  Mark this post and the followings unread

I need a lot more outputs as available on the Arduino I used. Therefore I made this small circuit that gave me an additional 16 digital outputs.
They will be used for gates, LED's etc.
So I connected two 74HC595 in series (the serial in from the first 74HC595 is connected to the MOSI of the Arduino, while its serial output goes to the serial input of the second one).

The program settings in the Arduino code for this circuit are:
DDRB = (1<<DDB2)|(1<<DDB3)|(1<<DDB5);
// PB5 (SCK) = Out
// PB3 (MOSI) = Out
// PB2 (~SS) = Out

// SPI MODE 0 -Init
SPCR = (1<<SPE) // SPI enable
|(1<<MSTR) //master mode
|(0<<CPOL) //setup faling
|(0<<CPHA) //sample rising
|(0<<SPR0)
|(0<<SPR1);//Fosc div. 4
SPSR = (1<<SPI2X); //Double speed bit

Writing to the 74HC595 goes like this:
void send_to_parallel (uint8_t byte_one, uint8_t byte_two)
{
PORTB&=~(1<<PB2); // drive SS low
SPDR = (byte_one); // send Byte
while ( !(SPSR & (1<<SPIF))) {};// ready?
SPDR = (byte_two); // send next Byte
while ( !(SPSR & (1<<SPIF))) {};// ready?
PORTB|=(1<<PB2); // drive SS high again
}

and for the timing diagram I used:
while (1)
{
for (n=0;n<8;n++)
send_to_parallel(n,n);
}

As you can see in the timing picture it takes about 4.7 uSec to write a 16 bit word to this circuit, not too bad.
But: I have placed the 74HC595 close to the Arduino and have a 100NF cap close to the power connections of these chips.

Now I have used 2 74HC595's in this circuit, but you may add as much as you need, you just have to add more data to be sent.


schematic to parallel.JPG
 Description:
Schematics for the to parallel section
 Filesize:  45.01 KB
 Viewed:  678 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

schematic to parallel.JPG



timing to parallel.JPG
 Description:
Timing measured with Saleae Logic 1.1.15 (at 24MHz, 5M Samples)
 Filesize:  136.19 KB
 Viewed:  720 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

timing to parallel.JPG



_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sat Dec 09, 2017 3:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

I have added 4 slide switches for the gate control. Now I can choose for each channel what kind of gate I want: no gate (duh..), only the first repetition has a gate, every repetition has a gate and a gate covering all repetitions.
Here a short demo of the switches: https://youtu.be/QPUI9k5kWKM


gate control.JPG
 Description:
The 8 switches with their BCD to DEC decoder.
 Filesize:  40.54 KB
 Viewed:  816 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

gate control.JPG



_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Wed Dec 13, 2017 12:54 am    Post subject: Reply with quote  Mark this post and the followings unread

I am working on the switches, used to switch the glide on/off for each step of the sequencer.
When pressing the switch there will be a short pulse going into the clock, the 74LS74 has it's inverted output connected to the D-input, so every time the clock gets a positive going pulse the output will change it state, turning the push-buttons into on/off switches.


1984 switches.JPG
 Description:
Circuit of the switches used to switch glide per step on/off, and two switches for run/stop and a reset switch
 Filesize:  115.31 KB
 Viewed:  753 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

1984 switches.JPG



_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sun Dec 24, 2017 2:03 am    Post subject: Reply with quote  Mark this post and the followings unread

I have added a Glide circuit, by pressing the button once the glide is added to that step, pressing the button again, the glide is off.
In the diagram the GLIDE input is coming from pin 3 of the 74HCT4051 and is 5 volt when a Glide is active during that step. When GLIDE is high, the H11F1 is in its off state, so the 1 Meg R25 potmeter is controlling the Glide amount (1 Meg and 220nF is 1.5 sec max).
FREQ CV is the voltage steps from the 8 slide potmeters.
HERE a youtube link to a demo of the Glide.

edit: got the digital values of the GLIDE mixed-up


glide diagram.JPG
 Description:
The Glide Schematic
 Filesize:  64.74 KB
 Viewed:  702 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

glide diagram.JPG



_________________
my synth

Last edited by Grumble on Sat May 16, 2020 12:52 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Wed Apr 29, 2020 2:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

Righto .. so why did it take me over two years to pick up on these ideas Laughing

Not to mention that the original ... was even longer ago Shocked

Anyways .. it is very nice! (and am implementing some of it now) Cool

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Alfredo



Joined: Nov 20, 2008
Posts: 52
Location: Spain

PostPosted: Tue Dec 01, 2020 12:03 pm    Post subject: 1984 sequencer Reply with quote  Mark this post and the followings unread

Fantastic work Grumble, congratulations! I'm following this post from time to time, any progress? Will be very happy to build one if you share the project!
Best regards!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
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


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