Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. PIR logic shifting 6 volt low 12 volt high - help needed

PIR logic shifting 6 volt low 12 volt high - help needed

Scheduled Pinned Locked Moved Hardware
2 Posts 2 Posters 890 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PaulDP Offline
    PaulDP Offline
    PaulD
    wrote on last edited by
    #1

    I am trying to connect PIR motion sensor to a nano. The motion sensor is part of an existing alarm system which uses a 6 volt signal for logical 0 (no motion detected) and a 12 volt signal for logical 1 (Motion detected).

    So the question is how can I shift these voltage levels down to something that I can connected to the Arduino Nano. I have tried a voltage divider but couldn't get a wide enough range to get reliable detection of high or low signals. I have also tried a logic level shiftier. The problem with these is that they still require the input signal to go to zero to pull down the output signal.

    Any advise or suggestions would be most welcome.

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      @PaulD

      One option is to use a voltage divider, to get the voltages down to 2,5/5V, and then design a schmitt trigger, to convert the 2.5/5V to 0/5V output swing.

      For schmitt trigger design you could have a look at http://www.aaabbb.de/NonInvertingSchmittTrigger/NonInvertingSchmittTrigger_en.php

      Another option, is to have a virtual ground at 6V, that you connect your arduinos ground pin to.. (It can not share the same powersupply as the PIR sensors then). The arduino will then see a voltage swing of 0-6V (Can be limited with a resistor / zener diode on the input on the arduino). The virtual ground can be created with a simple resistor divider, between GND and 12V line of the pir sensor.

      I would probably go for option 1, as it allows you for detecting if the PIR sensor is online (is there 6V on the signal pin?) and trigger another pin, in case it disappears.

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      19

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular