preenfm Forum
PreenFM => preenfm2 and preenfm3 => Topic started by: klangFM on June 26, 2016, 03:30:23 PM
-
Finshed my 3HE Eurorack version of this super FM synth.
It is 162mm or 32TE and 40mm deep.
Frontpanel is available in dxf - format on request.
Further info at my site: www. klangbauKöln.de
best
willi
(http://)
-
Very nice.. Congrats for your project.
Next step is to add some analogue input usable as source in the matrix ;)
Xavier
-
Fine Xavier,
after you opening a few ports for analog in, I cut associated holes in the frontpanel.
Good idea?
best
willi
www.klangbauköln.de
-
Very nice.. Congrats for your project.
Next step is to add some analogue input usable as source in the matrix ;)
Xavier
you wont :P
but if you do... there are no words to describe how awesome that could be
-
That"s was the P3 connector was for ;)
But its pins required 0-3.3V input.
I currently need more hours per day.
Could be a good project for a DIY enthusiast. Anyone ?
-
yep, maybe. so basically we just need to scale the 0-10v control voltage to 0-3.3v and you open the ports and add support for the analog input in the matrix?
this would be super awesome! scaling the cv should not be hard.
-
Yes, I've never dug the idea but that's how i see it.
You must add a protection to be sure the voltage never exceed 3.3V or it will damage the MCU.
Xavier
-
yep. so i will try to come up with something and post the schematic. i will use it with 0-5v signals, but the general principle will be the same.
-
xavier, how high would the samplerate of the adc with your firmware approximately be? could we also theoretically input audio-rate signals?
cheers
-
The Matrix is updated every 32 samples.
No need to read the ADC more often.
Xavier
-
Nice to read this.
I is more concret to open the gates for CV in?
It would be nice to open 2 input for 2CV and Gate/Trigger signals to use it in "Matrix".
I don´t know how a Gate could to be implemented. At first it make sense for me.
To scale voltes down to 3,3V I can try it to do.
willi
-
I'm away from my computer still for 8 days.
Have a look at this post :
http://ixox.fr/forum/index.php?topic=69235.msg72051#msg72051
-
Thanks,
who can compile me this github stuff: acdcIN?
I'am analog.
Question: AD controll range is 0-3.3V. For a scaling opamp one use an inverting desing and output is 3,3V to V.
Therefore it is better to invert input range in acdcIn firmware.
Possible?
As far I get a compiled version I test it and draw a little schematic with board.
willi
-
i can compile the firmware for you if no one else does :-)
-
xavier i get this when i try to compile the adc branch:
build/PreenFM_irq.o: In function `TIM2_IRQHandler':
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_irq.c:236: undefined reference to `TIM_ClearITPendingBit'
build/PreenFM_init.o: In function `ADC_Config()':
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:137: undefined reference to `TIM_TimeBaseStructInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:144: undefined reference to `TIM_TimeBaseInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:145: undefined reference to `TIM_SelectOutputTrigger'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:146: undefined reference to `TIM_ITConfig'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:167: undefined reference to `DMA_StructInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:186: undefined reference to `DMA_Init'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:187: undefined reference to `DMA_Cmd'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:190: undefined reference to `ADC_StructInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:191: undefined reference to `ADC_CommonStructInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:194: undefined reference to `ADC_Cmd'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:195: undefined reference to `ADC_DeInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:205: undefined reference to `ADC_CommonInit'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:215: undefined reference to `ADC_Init'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:219: undefined reference to `ADC_RegularChannelConfig'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:220: undefined reference to `ADC_RegularChannelConfig'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:221: undefined reference to `ADC_RegularChannelConfig'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:222: undefined reference to `ADC_RegularChannelConfig'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:225: undefined reference to `ADC_DMARequestAfterLastTransferCmd'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:228: undefined reference to `ADC_DMACmd'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:231: undefined reference to `ADC_Cmd'
/home/lokki/Downloads/preenfm2-adcIn/src/PreenFM_init.c:234: undefined reference to `TIM_Cmd'
collect2: error: ld returned 1 exit status
Makefile:247: recipe for target 'build/p2_2.06o.elf' failed
-
Attached are two possible desings for scaling an anlog input singal to 3,3V with diode protection.
For a 12 bit convertion it should work. It is easy to implement in existing pcb.
-
Thanks Lokki for the feedback and klangFM for the schema.
I forgot to push to github the correct Makefile.
It now compiles fine.
I attached the firmware of this adcIn branch.
USE IT AT YOUR OWN RISK !!! :)
For technical info, a timer interuption and some DMA mechanism sample automatically the 4 analog pins.
It is done 4 times per block for each analog pins.
The final value is the average of those 4 samples to get rid of sample noise.
The final sampling rate is one value per 32 samples so arround 1200Hz. External oscillator as fast as 500Hz should work, wich leads to modulation much faster than the internal lfo.
I only tested with variable resistor pot plugged between 0v and 3.3v as analog source.
So let me know if some of you succed in using real analog hardware.
Xavier
[attachment deleted by admin]
-
Thanks Xavier,
software adcIN installed and works.
A quick test with hardware scaler on and it works also.
Now test it and play around.
Is it possible to play notes via CV1-FQ and CV2-Gate (routed in matrix)?
At the moment I started to play a note manually or with Midi or running Appegiator.
-
Is it possible to play notes via CV1-FQ and CV2-Gate (routed in matrix)?
No. I know this would be great.
Don't know when i'll find time to do that.
Xavier
-
Yes,
but at the moment it is great to have the option of CV in.
Let us explore the possibilities and be happy.
I modify my frontpanel for 4 CVin and make a little pcb for 4CV protection/scalers next days.
The pcb fits on JP3 and needs only few cables.
I keep you informed.
willi
-
I keep you informed.
Thanks :D
Looking forward to see how it goes... and your modified front panel.
-
preefm2 with CV inputs:
At the moment only 2CV in are active. PCB only a prototyp. Later a little pcb will be finished to fit direct on P3, input of ADC.
Input protection works fine:
-
Nice to see the 4 cv in :)
Thanks for sharing....
-
do want! :P