Presence sensors revisited

In my previous post I talked about 24v presence sensors for Loxone home automation:

Is there anybody there? Click once for yes!

Shout out to Malc Crook (https://hackaday.io/mal8837) and Adam (https://hackaday.io/Bobbsta10) who both contacted me to say that the PIR linked to in the original post is no longer the one you get when you order the same item from the same seller 🙁

Fear not, for I have hacked the new one this evening and it’s pretty straight forward 🙂

2016-09-10-17-49-04

Well that mostly looks similar…

2016-09-10-17-49-45

Still looks similar…

2016-09-10-17-51-32

Well that’s different. The two boards are fixed together and the front board has to come away from the plastic shafts for altering the time and lux level

2016-09-10-17-53-30

Those are really annoying to get back in but I’ll come back to that.

2016-09-10-17-54-47

Different AC supply board this time around. Let’s take a look see what’s going on..

pir-ac-board-layout

So capacative dropper is driving an actual bridge rectifier this time rather than four discrete diodes. Seems like there’s a lot here we don’t need….

2016-09-10-18-24-24

I always end up with spare bits when I take things apart….

2016-09-10-18-48-00

Right, so now we look like:

2016-09-10-18-33-06

So having removed all but the diodes for protection and the capacitor for smoothing the supply, we’re left with +24v going in and a working automation PIR! I put the front board in place without screwing it in and put the spacers on the back board as it came but without the screws. We’re no longer dealing with mains voltage and the spacers keep everything sensibly… well… spaced… Best update the labelling…

2016-09-10-18-47-18

That’s a bit neater than the previous scribblings with a sharpie… 🙂

I’m hoping that step by step pictures and the diagram will make it clear how this change works. The PIR module is 24v all along, all we did was remove the AC components and drive it directly.

There doesn’t seem to be an LED on this model. The relay is triggered by dropping the signal line from the front board to 0v. It floats at +24 otherwise so technically we could lose the relay completely and drive that back to an input. I’ve not tested that so your mileage may vary.

Hopefully that update will be useful to people!

Keep hacking, Ian.

Bedside lighting

I am new to the whole hacking, making, playing, soldering and generally hands-on construction and so my time at the hackspace is always a steep learning curve.

One of the projects that I have been tinkering with was to take a couple of old, well toys really – but toys for me as an adult, and make them into something new. What i decided to do was build a bedside light with two switches, some ultra-bright LEDs and a blue LED. The toys were a Doctor (model of David Tennant’s doctor) and a TARDIS safe (that had stopped functioning).

I basically ripped the electronic guts out including the microchip board, added a bit of lego and Sugru’d LEGO in the TARDIS and to David’s feet so he would stand upright, and then made a board for the 5 lights in the doorway. A little tinkering with a drill got me the holes for two switches, a push button for the decorative lights and a two stage switch for the main ultra-brights, and we were done.

I have re-used something and made a useful light for my bedside. It is hardly on the same scale as the hacked sensors that have appeared on this blog in the last week, but I am still moderately pleased with the result.