Announcement

Collapse
No announcement yet.

How to stop a hall throttle at rest putting out 0.8v?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    I love it! K.I.S.S. has always appealed to my way of thinking. Thank you for the explanation and lesson. MCP6041 here I come!

    Comment


      #32
      AZguy thank you so much for your support, nice to know I can just use 1 op amp (2 op amps in one chip) I am still using 2 separate ones for now as I never knew anything better.

      Regarding the pot or resistors I still prefer using the pot as it gives me some fine tuning. I’m also using an additional pot and is on the dashboard to limit max power to the motors which is wired in as follows and link for further info. It works really well.

      https://electricbike.com/forum/forum...d-modification

      Comment


      • AZguy
        AZguy commented
        Editing a comment
        Pots are fine although if I were going to utilize them I'd let my OCD put in two - (a gain and offset, I think you only have offset) so you can adjust both the top and bottom limits

      #33
      AZguy how are you? I’m just trying understand how to design out a problem I have. If I have 5v output I need to change it to 0v and if I have 0v I need it to be 5v. Basically I have a pressure sensor transducer that outputs roughly 0v (no pressure) to 5v (max pressure) but my controller needs to see the voltage in opposite, bare in mind all the variable voltages inbetween. I’m not sure a op amp could do this, but anything else I could use? A little lost and need some direction. Thanks in advance

      Comment


        #34
        Originally posted by savroo View Post
        AZguy how are you? I’m just trying understand how to design out a problem I have. If I have 5v output I need to change it to 0v and if I have 0v I need it to be 5v. Basically I have a pressure sensor transducer that outputs roughly 0v (no pressure) to 5v (max pressure) but my controller needs to see the voltage in opposite, bare in mind all the variable voltages inbetween. I’m not sure a op amp could do this, but anything else I could use? A little lost and need some direction. Thanks in advance
        This would do the trick:

        Click image for larger version

Name:	inverter.png
Views:	100
Size:	9.4 KB
ID:	159492

        Comment


        • AZguy
          AZguy commented
          Editing a comment
          This is the basic outline - best to put a small (e.g. 0.1µF) ceramic capacitor from gnd to +5V close to the op-amp
      Working...
      X