mitxela.com forum
Welcome. Please log in or register.

MIDI on the ATtiny85 for Korg Monotron
Lowebrau Posted: 31 Jan 2019, 10:01 PM
Avatar


Member
Posts: 2
Joined: 31-January 19
Hello,

I'm undertaking the MIDI for Korg Monotron project.
As I'm waiting for the parts to come in the mail, I was reading the pages on this project.
I'm wondering if all the code that needs to be put on the ATtiny85 is what's on the project page:
ldi r16, (1<<PLLE|1<<PCKE)
out PLLCSR,r16

ldi r16, (1<<PWM1A|1<<COM1A1|1<<CS10)
out TCCR1,r16
ldi r16, (1<<PWM1B|1<<COM1B1)
out GTCCR,r16

ldi r16,255
out OCR1C,r16

It wasn't entirely clear to me
Thanks!

-------------
[top]
mit Posted: 1 Feb 2019, 10:02 PM
Avatar
yeah whatever

Admin
Posts: 304
Joined: 4-May 16
Hi, there's more to it than that. The full source code is on github: https://github.com/mitxela/MidiMonotron

I forgot to link to that on the project page (I will update that when I next get a chance)

Good Luck!

-------------
[top]
Lowebrau Posted: 9 Feb 2019, 08:02 PM
Avatar


Member
Posts: 2
Joined: 31-January 19
Ok, thank you for that!


-------------
[top]
Carlos_Luna Posted: 16 Mar 2020, 08:03 PM
Avatar


Member
Posts: 1
Joined: 16-March 20
Hi there, thanks for sharing your project info. Do you know if I can do the same for a Monotron Delay? I didn't find the "LFO reset" in the schematic. It should be a way, just wondering.

Thanks for the great work!

Greetings from Mexico

-------------
[top]
mit Posted: 17 Mar 2020, 12:03 AM
Avatar
yeah whatever

Admin
Posts: 304
Joined: 4-May 16
I don't own a monotron delay but it should work.

It took a fair bit of experimenting to find the LFO reset on the monotron, it's not clearly labelled like the other signals, but it is labelled on the (non-delay) schematic right in the middle.

-------------
[top]
epsteinbarr Posted: 9 Nov 2020, 11:11 AM
Avatar


Member
Posts: 1
Joined: 9-November 20
Hello,

thanks for sharing your project info.
I'm trying to do that on an Attiny2313 (programming it with an arduino UNO board), but i can't figure how to adapt your project to it. There are some hints, or links that can help me? Thanks in advance

-------------
[top]
mit Posted: 9 Nov 2020, 04:11 PM
Avatar
yeah whatever

Admin
Posts: 304
Joined: 4-May 16
The ATtiny2313 is quite a different chip, so you'll basically have to start over from scratch. It has a hardware UART, so that makes things easier (most of the ATtiny85 code is about bitbanging the uart decode). The timers are a lot less flexible so I'm not sure if you'll be able to generate the voltages correctly.

-------------
[top]

Sign in to post a reply.