Arduino

Perl Serial->MQTT->Mosquitto->OpenHab

openhab.conf , conenction to mosquitto
mqtt:mysensor.url=tcp://10.0.1.10:1883
mqtt:mysensor.clientId=MQTT
mqtt:mysensor.qos=0
mqtt:mysensor.retain=true
mqtt:mysensor.async=false

Modifying Cheap PIR Motion Sensor to Work at 3.3V

Some of these modules come with pins soldered in that top right corner, so you don’t have to solder anything. You would simply connect a jumper wire to that pin that is highlighted in red (see Figure below). With my particular sensor I had to solder a small wire.
Here’s how it looks, now if you supply 3.3V through that red wire your module works at 3.3V.

BcSensor 2xMosfet

powered by power supply module (lm2596)

BcSensor Relay

  • 2x connectors for Dallas temperature sensor
  • 1 - photocell connector (light sensor)
  • 1 DHT-22 connector (humidity and temperature)
  • 1 connector for pir sensor (HC-SR501 PIR Motion Sensor Module)
  • 1 connector for Relay (led light controller )
  • 1 conenctor for Magnetic Door Switch Sensor
  • 1 conenctor for power out (5v)

(this version has a 1117 3.3v regulator and 7805 5.0v)

BcSensor Battery

  • -is connected directly to the battery
  • 2x connectors for Dallas temperature sensor
  • 1 - photocell (light sensor)

(this version is reporting the battery level)

BcSensor Mosfet

  • 2x connectors for Dallas temperature sensor
  • 1 - photocell connector (light sensor)
  • 1 DHT-22 connector (humidity and temperature)
  • 1 connector for pir sensor (HC-SR501 PIR Motion Sensor Module)
  • 1 connector for PWM IRF3205 (led light controller )
  • 1 conenctor for Magnetic Door Switch Sensor
  • 1 conenctor for power out (5v)

(this version has a 1117 3.3v regulator and 7805 5.0v)