Microcontroller and FV1 in parallel

Hardware questions and issues with the FV-1

Moderator: frank

Post Reply
smear
Posts: 39
Joined: Fri Jul 01, 2016 9:47 am

Microcontroller and FV1 in parallel

Post by smear »

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...
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Microcontroller and FV1 in parallel

Post by ice-nine »

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."
smear
Posts: 39
Joined: Fri Jul 01, 2016 9:47 am

Re: Microcontroller and FV1 in parallel

Post by smear »

ice-nine wrote: Wed Sep 06, 2023 3:31 am 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.
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?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Re: Microcontroller and FV1 in parallel

Post by frank »

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
smear
Posts: 39
Joined: Fri Jul 01, 2016 9:47 am

Re: Microcontroller and FV1 in parallel

Post by smear »

frank wrote: Thu Sep 07, 2023 8:02 am 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.
Oh good point, didn't think of that! Thanks very much for the insight :)
ice-nine
Posts: 192
Joined: Thu May 24, 2012 9:03 am

Re: Microcontroller and FV1 in parallel

Post by ice-nine »

smear wrote: Wed Sep 06, 2023 11:08 pm
ice-nine wrote: Wed Sep 06, 2023 3:31 am 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.
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?
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.
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."
smear
Posts: 39
Joined: Fri Jul 01, 2016 9:47 am

Re: Microcontroller and FV1 in parallel

Post by smear »

ice-nine wrote: Fri Sep 08, 2023 9:52 am
smear wrote: Wed Sep 06, 2023 11:08 pm
ice-nine wrote: Wed Sep 06, 2023 3:31 am 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.
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?
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.
Awesome, thanks!

All seems to be working for me :)
Post Reply