I'd like to use a microcontroller and an FV1 together. I know that normally, you should just connect all the controls to the microcontroller, and then output those values from the microcontroller to the FV1.
But some microcontrollers have a small number of pins. Sometimes, it'd be easier to connect a pot or a mode switch to both the microcontroller and the FV1. That way, both chips can read the same value.
Are there any risks if I connect a microcontroller input pin and an FV1 input pin together? I'd probably want to disable any pullup resistors on the microcontroller. But other than that?
In an idea world, I'd use some buffers to isolate them, but at that point a bigger microcontroller might make more sense...
Microcontroller and FV1 in parallel
Moderator: frank
Re: Microcontroller and FV1 in parallel
You will first need to make sure your microcontroller is a 3.3v device, if you use a 5v device like an Arduino Nano it is a 5v micro and will need to have 5v-3.3v level shifters. Easier to use a 3.3v Micro so no need for level shifters.
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
Re: Microcontroller and FV1 in parallel
Thanks for the reply! I'll use a microcontroller chip directly, not an Arduino or similar board. The Atmega328p runs fine on 3.3V so should be good.
I'm specifically curious if i connect the wiper of a voltage divider to both an FV1 pot pin and an Atmega328p input pin. Could the analog read of the microcontroller interact with the fv1's own reading in any way?
Looking at the Atmega328p datasheet, I notice the input circuit for the analog input is listed in section 23.6.1. That section also states "An analog source applied to ADCn is subjected to the pin capacitance and input leakage of that pin... The ADC is optimized for analog signals with an output impedance of approximately 10kΩ or less."
I notice FV1's pot inputs have an impedance of ~15MΩ. so they seem pretty robust. But I still worry there might be some source of issue i'm not considering?
Re: Microcontroller and FV1 in parallel
Use a lower POT value like 5K and it should be fine. The only real issue I can think of is using a POT value at the top of the range like 10K as that may supply enough current for one of the converters but not both so they would current starve.
Frank Thomson
Experimental Noize
Experimental Noize
Re: Microcontroller and FV1 in parallel
Oh good point, didn't think of that! Thanks very much for the insight
Re: Microcontroller and FV1 in parallel
I have used the pot wiper pin connected directly to both the FV-1 and a micro with no problem at all when run at 3.3v.smear wrote: ↑Wed Sep 06, 2023 11:08 pmThanks for the reply! I'll use a microcontroller chip directly, not an Arduino or similar board. The Atmega328p runs fine on 3.3V so should be good.
I'm specifically curious if i connect the wiper of a voltage divider to both an FV1 pot pin and an Atmega328p input pin. Could the analog read of the microcontroller interact with the fv1's own reading in any way?
Looking at the Atmega328p datasheet, I notice the input circuit for the analog input is listed in section 23.6.1. That section also states "An analog source applied to ADCn is subjected to the pin capacitance and input leakage of that pin... The ADC is optimized for analog signals with an output impedance of approximately 10kΩ or less."
I notice FV1's pot inputs have an impedance of ~15MΩ. so they seem pretty robust. But I still worry there might be some source of issue i'm not considering?
www.stanleyfx.co.uk
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
"It's fairly straight forward, if you want to start it press start, you can work out the rest of the controls yourself."
Re: Microcontroller and FV1 in parallel
Awesome, thanks!ice-nine wrote: ↑Fri Sep 08, 2023 9:52 amI have used the pot wiper pin connected directly to both the FV-1 and a micro with no problem at all when run at 3.3v.smear wrote: ↑Wed Sep 06, 2023 11:08 pmThanks for the reply! I'll use a microcontroller chip directly, not an Arduino or similar board. The Atmega328p runs fine on 3.3V so should be good.
I'm specifically curious if i connect the wiper of a voltage divider to both an FV1 pot pin and an Atmega328p input pin. Could the analog read of the microcontroller interact with the fv1's own reading in any way?
Looking at the Atmega328p datasheet, I notice the input circuit for the analog input is listed in section 23.6.1. That section also states "An analog source applied to ADCn is subjected to the pin capacitance and input leakage of that pin... The ADC is optimized for analog signals with an output impedance of approximately 10kΩ or less."
I notice FV1's pot inputs have an impedance of ~15MΩ. so they seem pretty robust. But I still worry there might be some source of issue i'm not considering?
All seems to be working for me