Joined: Jan 14, 2010 Posts: 6058 Location: Moon Base
Audio files: 728
Posted: Sun Oct 07, 2018 4:22 am Post subject:
Tring Tring Telephone Controller Subject description: Arduino based sequencer/controller inside a toy telephone
more info will follow,..
Tring Tring Telephone Controller - 01.jpg
Description:
Filesize:
1.1 MB
Viewed:
1034 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Joined: Jan 14, 2010 Posts: 6058 Location: Moon Base
Audio files: 728
Posted: Sun Oct 07, 2018 2:56 pm Post subject:
yepz which is an extra feature for what I initially intended to do.
What it actually is, or is going to be, is a controller for my QuaZar 'sequencer', but with an arduino inside it's easy to make it useful
for other things aswell. When I designed QuaZar I already had the idea in mind to add an external keyboard/controller and there is
a connector for this on the front. The idea is to be able to trigger the notes manually so I can use it as a keyboard with a custom scale.
It already has buttons that can do this but one thing I hadn't thought about is that when you release a button it will go back to whatever
step it is currently set to (which is selected with a control voltage instead of a CLK).
The idea was to use the electronic equivalent of radio buttons for the controller and I designed a simple circuit for this with a couple of
flip flops. I then started thinking about what switches I could use and if I might have something useful laying around and that's when I
remembered the toy telephone. Thinking a bit more about what other functions could be useful I decided I might aswell put an arduino
inside and add a sequencer function. At that point I hadn't even realized yet that it has a button matrix so my initial flip-flop circuit wasn't
even useful.
I first wrote the code for the radiobutton part to get that working the way I wanted with the button-matrix. Today I started on the code
for the sequencer bit and I realized that it is actually easy to add and I can just combine it with the code I already had. On startup it loads
the first step of the sequence (I have not decided yet if I am going to add a function to store multiple sequences). Without a CLK signal
(I'll add a switch to disable it) you can just play it with the radiobutton function, so whenever you press a key it stays on untill you press
another key (gate out will only be high as long as the key is pressed). When another key is pressed this is also stored as the new value for
the current sequencer step (0 on startup). There are buttons to select previous and next step and all that does is just load the previous/next
value from the stored sequence, but after that you can just play it again manually and every change is again stored for that step. If you now
add a CLK signal it will step through the sequence and you can adjust every step on the fly.
At the moment I am thinking about what extra switches I need to add (and maybe LEDs and/or a pots too). I do want to keep it pretty basic
though. The next thing I need to try is if I can use the switch that is inside the hook for the handset as a reset switch or if it's too crappy and
I need to add an extra switch for that. I also need something to select different modes for which I could use a pot but that would require
some sort of indicator so switches might be a better solution. Or make it so that it can only switch modes on startup, which is easy to do with
just holding down a button on startup. _________________ "My perf, it's full of holes!" SoundCloudBandCampMixCloudTwitchYouTube The Golden Shrimp Guild
Joined: Jan 14, 2010 Posts: 6058 Location: Moon Base
Audio files: 728
Posted: Tue Oct 16, 2018 10:36 am Post subject:
I've been working a bit on the hardware. I removed the original slideswitch and added some other switches and LEDs.
I am using 74HC595 shiftregisters to control all the LEDs + main outputs (with just 3 arduino pins).
Tring Tring Telephone Controller - 03.jpg
Description:
Filesize:
223.21 KB
Viewed:
899 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Tring Tring Telephone Controller - 04.jpg
Description:
Filesize:
259.06 KB
Viewed:
861 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Tring Tring Telephone Controller - 05.jpg
Description:
Filesize:
229.75 KB
Viewed:
1025 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Tring Tring Telephone Controller - 06.jpg
Description:
Filesize:
298.3 KB
Viewed:
922 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Tring Tring Telephone Controller - 07.jpg
Description:
Filesize:
280.9 KB
Viewed:
908 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Joined: Jan 14, 2010 Posts: 6058 Location: Moon Base
Audio files: 728
Posted: Sun Oct 28, 2018 8:27 am Post subject:
I got to a point where I wanted to give it a testdrive. So I connected it to QuaZar and,... nothing happened. As I suspected I didn't
add any buffering/level shifting to the QuaZar inputs and controlling CMOS chips powered by 12V with a 5V signal doesn't work.
I kow there are dedicated chips for level shifting but I just used some simple opamp comparators. After adding this, fixing a bad
solder joint and swapping some wires it worked as expected.
To actually make some sounds with it I used the MI Rings module which was actually the reason why I started on this controller in the first
place, as I' d like to have a manual controller for it.
So here are 2 simple demos, one with automatic sequencing and one with some manual button mashing. I did notice some small
things I need to change in the code but overall it works pretty well. The buttons can be a bit bouncy, but that's more because of
the mechanical construction than it is actual contact bounce.
Joined: Jan 14, 2010 Posts: 6058 Location: Moon Base
Audio files: 728
Posted: Fri Jan 04, 2019 11:39 am Post subject:
Yeah, it's been a while since I've seen you around here, hope all is well.
Happy New Year!
I finished the controller the day after the last post, but haven't taken any pictures. Probably because I need 2 small screws to mount
the DIN connector (so it's actually not 100% finished) which I haven't been able to find. Let's see if I can get to that this weekend. _________________ "My perf, it's full of holes!" SoundCloudBandCampMixCloudTwitchYouTube The Golden Shrimp Guild
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