Digital input 12v issue

Discussion and support for MoTeC Power Distribution Modules

Digital input 12v issue

Postby tsadilas on Sat Apr 08, 2023 3:14 am

Im facing a strange issue. I m getting a 12 volt output from all of my digital inputs! I have nothing connected on Connector A and i still get 12v out when monitoring it from pdm manager! This happens on 2 pdms that i tried. Again nothing else connected on any pin other than 12v supply, gnd and can bus. Any idea what might be wrong??
tsadilas
 
Posts: 15
Joined: Mon Dec 27, 2021 1:04 pm

Re: Digital input 12v issue

Postby quadcam on Sat Apr 08, 2023 10:28 pm

I don't think anything is wrong. The PDM User Manual says all switch inputs have a 10k pull-up resistor to Batt+, so you would expect to see 12v on any switch input that is not switched to ground.
quadcam
 
Posts: 39
Joined: Thu Dec 17, 2020 10:00 pm
Location: Queensland

Re: Digital input 12v issue

Postby tsadilas on Tue Apr 11, 2023 9:12 am

Yr right thanks . So how can i use switch to high if its permanent high....? :?
tsadilas
 
Posts: 15
Joined: Mon Dec 27, 2021 1:04 pm

Re: Digital input 12v issue

Postby Stephen Dean on Tue Apr 11, 2023 10:58 am

Hi,

I'm assuming that you have an input that is switching with Battery voltage, so when the input is off it will be seeing 0v and when it is On it will see VBatt? If this is the case, then you set the Input Type to be Active High and adjust the triggers so that they work through the range of the switching voltage.
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1614
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Digital input 12v issue

Postby tsadilas on Wed Apr 12, 2023 3:51 am

I did all that but since the input always has 12v on its own (even with nothing connected to it) , then it always sees the input as active even if my 12v switch is off. should i use a pull up resistor? how do i wire it please?
thank you
tsadilas
 
Posts: 15
Joined: Mon Dec 27, 2021 1:04 pm

Re: Digital input 12v issue

Postby David Ferguson on Wed Apr 12, 2023 6:15 am

No, you would add a pull-down resistor if you want the signal to read zero volts when the switch is off. Be aware this will leak current when the PDM is off however.
David Ferguson
Veracity Racing Data
David Ferguson
Pro User
 
Posts: 1327
Joined: Fri Nov 07, 2008 2:45 am
Location: Paso Robles, California

Re: Digital input 12v issue

Postby quadcam on Wed Apr 12, 2023 10:21 am

Are you switching the inputs with actual switches, or with the output/s of something else?
How many switch inputs do you want to use?
quadcam
 
Posts: 39
Joined: Thu Dec 17, 2020 10:00 pm
Location: Queensland


Return to PDM15 PDM16 PDM30 and PDM32

Who is online

Users browsing this forum: No registered users and 2 guests