Timeline for How to avoid input floating ports on a microcontroller?
Current License: CC BY-SA 4.0
25 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 24, 2022 at 22:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 27, 2021 at 18:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 18, 2021 at 3:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 9, 2021 at 19:08 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 10, 2020 at 12:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 12, 2020 at 9:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 12, 2020 at 20:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Oct 10, 2019 at 11:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 9, 2019 at 15:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 10, 2019 at 5:15 | comment | added | Dean | @Lundin I was going to post the schematic, I just thought I described the set up enough. The pull-up resistors are doing the job, so far no electric noise. Thank you! | |
May 10, 2019 at 5:10 | comment | added | Dean | @jonk The tap water was as conductive as I hoped it would be but I added salt to it and it seemed to work fine. I will continue to experiment, thank you! | |
May 9, 2019 at 12:27 | answer | added | Mattman944 | timeline score: 0 | |
May 9, 2019 at 9:45 | answer | added | drtechno | timeline score: 0 | |
May 9, 2019 at 7:19 | answer | added | Amir Mahdi Poorat | timeline score: -3 | |
May 9, 2019 at 7:13 | answer | added | Simon B | timeline score: 1 | |
May 9, 2019 at 6:57 | history | edited | Huisman | CC BY-SA 4.0 |
improved the link
|
May 9, 2019 at 6:43 | comment | added | Lundin | Nobody will be able to help with this unless you post the schematic, otherwise it is all just speculation. You are going to have some connectors between the sensor and the MCU, yeah? So you will always need pull resistors. HCS12 have them built-in on most ports, with some exceptions. | |
May 9, 2019 at 4:15 | comment | added | jonk | @Dean This is something you should just have fun experimenting with, I think. You can use a \$1\:\text{M}\Omega\$ resistor from ground to your "input wire." Leave the \$V_\text{CC}\$ wire hooked up to \$V_\text{CC}\$, as you already have it. So the only change is to add a resistor to ground from your I/O pin. (A very weak "pull-down.") This should be enough for your I/O to read "0" until the water reaches the wire-pair and hopefully will be enough of a connection to overwhelm the weak pull-down and give you a "1," instead. Adjust the resistor value, as needed. | |
May 9, 2019 at 3:44 | comment | added | Dean | I did not know they would work in my application. I just finished reading more about them and after reading your responses, I didn't know how I missed that! From what I've understood, the input wire will go into the container, next to it is the wire ground, and I will pull a third wire from the input and run it through a resistor into VCC. Is this the way to do it? | |
May 9, 2019 at 3:14 | comment | added | Criticizing Israel not allowed | Why did you decide not to use a pull-up or pull-down resistor? | |
May 9, 2019 at 2:52 | comment | added | Ron Beyer | Provide a path to ground when the wires touch water instead of providing positive voltage. | |
May 9, 2019 at 2:51 | comment | added | Dean | Thank you for the quick response!! Can you elaborate on the go low part? | |
May 9, 2019 at 2:50 | review | First posts | |||
May 9, 2019 at 7:36 | |||||
May 9, 2019 at 2:49 | comment | added | Ron Beyer | Why not pull them up and have them go low when the water touches them? | |
May 9, 2019 at 2:45 | history | asked | Dean | CC BY-SA 4.0 |