Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Sparkman
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Sparkman

    @Sparkman

    Hero Member

    52
    Reputation
    352
    Posts
    1667
    Profile views
    2
    Followers
    0
    Following
    Joined Last Online

    Sparkman Follow
    Hero Member

    Best posts made by Sparkman

    • Pirate Chest with Secret Knock Sensor

      Hi all,

      My youngest son and I converted his toy pirate chest to include the secret knock sensor. Pictures are below. The chest we used is perfect as it already contained a false bottom which now hides the electronics. It would be relatively easy to add a false bottom into other chests. The only thing we still want to do is change the blue and red "crystal" eyes in the skull to LEDs that would flash with the secret knock sensor. The sample sketch was modified to only unlock for 5 seconds, otherwise the solenoid gets pretty hot, and also modified to not unlock at power up.

      Components Used:

      • Melissa & Doug Pirate Chest
      • Arduino Nano
      • Nano Breakout Board
      • Sound Detection Sensor Module
      • 12V Solenoid
      • Voltage Regulator
      • Relay Module
      • NRF24L01+ Radio Module
      • Piezo Buzzer from the parts bin
      • Momentary Switch from the parts pin
      • 470uF 35V Electrolytic Capacitor from the parts bin
      • Power Supply Barrel Jack connector
      • 12V Wall Wart from the parts bin

      Build Notes:

      • We used the Nano with the breakout board so that it would be easier to mount to the wood bottom. Any other Arduino should work as well.
      • We used the voltage regulator module to protect the Nano (as much as possible) in case the kids plugged the wrong wall wart into it.
      • We had to add the 470uF capacitor as about 50% of the time when the solenoid activated, the power fluctuations would cause the Nano to reset. With the capacitor added, there has been no issue with resets.
      • You need a fairly beefy wall wart. Although the specs indicate the solenoid is .35A, it seems to draw more than that. I haven't measured the actual usage yet.
      • We were planning to use a TIP120 Darlington Transistor to switch the solenoid on and off, but I was worried that it would get fairly hot so went with a relay instead.
      • Given the current draw of the solenoid we went with a wall-wart rather than with batteries.
      • Some parts (Nano and Voltage Regulator) were screwed down to the bottom, but most have a small dollop of hot glue to hold them down.
      • Total build cost, not including the pirate chest (which was a gift), was about US $20.

      Cheers
      Al

      1.jpg
      2.jpg
      3.jpg
      4.jpg
      5.jpg
      6.jpg

      USB Nano V3.0 ATmega328 16M 5V Micro-controller CH340G board For Arduino

      $3.55
      Sold out

      Nano V3.0 AVR ATMEGA328P-AU Module Nano Terminal Adapter Board F the Arduino

      $1.88
      Sold out

      1pcs Sound Detection Sensor Module Sound Sensor Intelligent Car for Arduino

      $1.19
      Sold out

      DC 12V Cabinet Door Electric Lock Assembly Latch Solenoid for Drawer locker lock

      $6.99
      Sold out

      5Pcs Output 1.23V-30V DC-DC Buck Converter Step Down Module LM2596 Power Supply

      $3.84
      1911 available

      10pcs 5.5mm x 2.1mm DC Power Supply Female Jack Socket Panel Mount Connector NEW

      $2.77
      Sold out
      posted in My Project
      Sparkman
      Sparkman
    • Sprinkler Controller

      Hi all,

      Inspired by @BulldogLowell's Irrigation Controller, I set out to build a controller to work in conjunction with my RainBird Controller. The primary reason for doing it this way is that the RainBird controller is very reliable, albeit not very smart. I wanted additional smarts, but did not want to forego the reliability of the RainBird, so I set out to build a controller that has the best of both worlds. The controller is still a work in progress, but the base functionality is now in place and I will hook it up this weekend. All of the smarts are in my HomeSeer 3 HA system (HS3), so right now the Mega just listens and processes commands from the HS3 MySensors Plugin. The HS3 MySensors plugin does not support the retrieval of variables used in BulldogLowell's controller, so I had to do things slightly different. I'll post my sketch in a few days.

      As you can see from the picture below, there are 3 sets of relays:

      8x 5VDC Relays controlled by the Arduino
      8x 24VAC Relays controlled by the 5VDC Relays and the outputs of the RainBird Controller (wiring to the RainBird not shown)
      2x 5VDC Relay which is used to activate the rain sensor input on the RainBird controller and is used for the controlling the main valve (needs to be installed). Activating the rain sensor input effectively bypasses the RainBird controller.

      The 24VAC relays are DPDT and I'm using one pole of each relay as an input to the Arduino. That way I can detect if the RainBird is controlling a zone and also whether the command to activate a relay by the Arduino was successful. The second pole of each 24VAC relay is used to control the actual zone valve. The outputs of the 24VAC relays are connected through a surge protector that I had bought a few years ago to use with a different controller (the ground wire is not connected yet and the wires from the surge protector to the valves are not shown).

      sprinkler controller.jpg

      Here are the components used in the controller:

      • Arduino Mega
      • Arduino Mega Prototype Shield
      • NRF24L01+ with PA/LNA mounted to a spare relay socket
      • SMA Female Bulkhead
      • SMA Extension Cable
      • 2 Channel Relay Module
      • 8 Channel Relay Module
      • 16x2 LCD Module
      • Idec SY2S-05C Relay Sockets
      • Idec RY2S-U-AC24V Relays
      • Aluminum Slotted DIN Rail
      • TManufacturing Sprinkler Surge Protector
      • DSC Alarm Panel Enclosure (door not shown)
      • Terminal Strips
      • 24VAC to 5VDC Power Supply
      • Cables: CAT5e to interconnect relays to the Mega, 7 wire sprinkler cable, Dupont cables, etc.

      Still to do:

      • Connect and update the sketch for my DLJ Water Meter that will be installed on the water line for the sprinkler system. This way I can detect if a sprinkler valve is stuck open (i.e. if all of the valves should be closed, but there is still flow, then there's a problem).
      • Update the sketch with a watchdog timer. The Arduino will try and connect to my HS3 system on a regular basis and if it fails for a period of time, the relay for the RainBird bypass will open, allowing the RainBird controller to take over.
      • Add a 24VAC to 5VDC power supply so that I don't need to use two separate power supplies. The 24VAC supply is shared between this controller and the RainBird.

      Cheers
      Al

      1PCS ATMEGA2560-16AU ATMEGA16U2 Board + Free USB Cable For ARDUINO MEGA 2560 R3

      $9.48
      Sold out

      New Prototype Shield ProtoShield V3 + Mini Bread Board For Arduino MEGA M47

      $3.50
      Sold out

      NRF24L01+PA+LNA SMA Antenna Wireless Transceiver communication module 2.4G 1100m

      $2.40
      18170 available

      Two 2 Channel Relay Module With Optocoupler For PIC AVR DSP ARM 5V Arduino

      $1.59
      Sold out

      8 Channel 5V Relay Module Shield for Arduino Uno Meage 2560 1280 ARM PIC AVR DSP

      $5.64
      Sold out

      Yellow Display IIC/I2C/TWI/SP​​I Serial Interface 1602 16X2 Character LCD Module

      $3.23
      Sold out

      NEW 5Pcs 12 Position Barrier Terminal Strip Block X3-1012 10A Plastic Terminal

      $3.22
      Sold out

      AC DC Buck Converter Step Down Module Power,AC 7-36V/DC 8-50V 12V 24V to DC 5V

      $5.48
      Sold out
      posted in My Project
      Sparkman
      Sparkman
    • RE: Project boxes for MySensor's nodes and gateway?

      @NeverDie I use an assortment of cases and still looking for others for some sensors I have built. To be honest, I think that finding the right case is the hardest part of the MySensors system 😄

      For my gateway, I used this box: http://imall.itead.cc/project-case-white-and-black-110-80-25mm.html. It's a tight squeeze with the Uno and NRF24L01+ PA/LNA along with a small proto board to mount the LEDs. A smaller Arduino would fit better, but I used an Uno clone to ensure enough power for the PA/LNA module. I had to remove the Uno headers in order for it to fit as the headers were interfering with the circuit board for the LEDs. I'll open it up and take some pics.

      I've been looking at these cases for indoor battery powered sensors. They are a good price, but are only in inventory in the UK, so shipping is $25 for any quantity, so I'll have to do a large enough order to minimize the shipping cost per unit.

      Cheers
      Al

      MySensors Gateway Outside.png
      MySensors Gateway Inside.png
      MySensors Gateway LEDs.png

      posted in Enclosures / 3D Printing
      Sparkman
      Sparkman
    • RE: Can't program Arduino Nano Compatible modules

      A lot of the clones use a ch340g usb interface chip. Have you downloaded drivers for it: http://sparks.gogo.co.nz/ch340.html.

      Cheers
      Al

      posted in Troubleshooting
      Sparkman
      Sparkman
    • RE: Water Flow sensor

      @mrc-core I believe this type of meter outputs 4.5 pulses per liter, but there are a number of different specs for similar meters. Do you have a link to the one that you actually purchased? The example sketch is for meters that output 1 pulse per liter (or 1000 pulses for 1 cubic meter). Therefore change PULSE_FACTOR to 4500 in the sketch. You may need to adjust that number. I would get a large bucket for which you know how many liters it is and then count the number of pulses required to fill it. Take that number, divide it by the size of the bucket (in liters) and then multiply by 1000. That number becomes your PULSE_FACTOR.

      Cheers
      Al

      posted in My Project
      Sparkman
      Sparkman
    • RE: Any mass produced prototyping shields for the pro mini?

      @NeverDie Not exactly mass produced, but here are some other options:

      https://oshpark.com/shared_projects/uXIff7XO

      https://oshpark.com/shared_projects/pRJiKWxV

      https://oshpark.com/shared_projects/nJ8HNuZj

      Cheers
      Al

      posted in My Project
      Sparkman
      Sparkman
    • RE: Robot mower ignores the rain, MySensors to the rescue!

      Hi Mark,

      The only example I can think of is @BulldogLowell's sprinkler controller. It queries for run-times from the controller. I think that is supported on the Vera, and not sure if Domoticz supports the same feature.

      Cheers
      Al

      posted in Domoticz
      Sparkman
      Sparkman
    • RE: Where do you find IR code ?

      @Sebastien-Vayrette-Gavard Sorry, I thought there was a converter online that would convert from pronto to the code needed by this sketch. The one I thought would work is coming up with an error when I run it. I haven't looked into the details of the IR library included with MySensors. There's likely a way to manually convert between the two (there are good descriptions on what the pronto codes mean here: http://www.hifi-remote.com/infrared/IR-PWM.shtml and here: http://www.remotecentral.com/features/irdisp2.htm). You could likely use a different IR library/sketch as well that's meant for sending pronto codes. Here's are a few: https://github.com/probonopd/arduino-infrared-pronto and http://irdb.tk/send/. The other option you have is to build an IR receiver and then use the remote you have to learn the code.

      Cheers
      Al

      posted in Troubleshooting
      Sparkman
      Sparkman
    • RE: Piezo Buzzer

      @n3ro That should work fine. You may want to add a resistor to limit current. Once you have one, I would measure actual current draw and see if a resistor is needed. Based on the specs provided, you should not need one, but you never know how accurate the specs are.

      Cheers
      Al

      posted in Hardware
      Sparkman
      Sparkman
    • RE: Pirate Chest with Secret Knock Sensor

      I've updated the original post with a parts list and some build notes.

      Cheers
      Al

      posted in My Project
      Sparkman
      Sparkman

    Latest posts made by Sparkman

    • RE: Video How To - Phoney TV

      @jimbolaya Sorry, link is now fixed.

      posted in My Project
      Sparkman
      Sparkman
    • RE: Video How To - Phoney TV

      @jimbolaya Something like this should work: http://www.digikey.com/products/en?keywords=IPP055N03LGXKSA1-ND.

      posted in My Project
      Sparkman
      Sparkman
    • RE: How to use a scrolling display board

      @dbemowsk Thanks for posting. Mine are the 8 color variety which I think they likely accomplish by mixing 3 colors. I'll have to dig up the non-working one and take it apart to take a look.

      Cheers
      Al

      posted in My Project
      Sparkman
      Sparkman
    • RE: How to use a scrolling display board

      @dbemowsk Yes, I do have the power supplies. They are 7V AC rated for 5A:

      0_1480215890722_temp.jpg

      I've never seen 7V power supplies before, so probably not easy to find. Is there a 5V regulator on the board?

      Cheers
      Al

      posted in My Project
      Sparkman
      Sparkman
    • RE: How to use a scrolling display board

      I've never been able to find any schematics for them. I have one that doesn't work as well, but have not taken it apart yet.

      posted in My Project
      Sparkman
      Sparkman
    • RE: How to use a scrolling display board

      Looks like a betabrite sign. I use some with HomeSeer to display weather info, sports scores, etc.

      posted in My Project
      Sparkman
      Sparkman
    • RE: Possible to focus PIR "beam" ?

      @Cliff-Karlsson That should work, but I would try using tape first so that it is easy to readjust. Once you have it adjusted the way you want, then replace the tape with paint.

      posted in General Discussion
      Sparkman
      Sparkman
    • RE: BBQ Temp Controller - Any Interest?

      The RFXCom receivers also support the Maverick ET732 and ET733 BBQ Thermometers and the Oregon Scientific AW129 and AW131 thermometers. I currently use the AW129 but am also interested in a dual probe thermometer that can control a fan.

      Cheers
      Al

      posted in Development
      Sparkman
      Sparkman
    • RE: Water high volume flow meter

      Here's one on AliExpress that can do 200 l/m: http://www.aliexpress.com/item/YF-DN50-2-inch-Large-diameter-turbine-flow-meter-water-flow-sensor-industrial-flow-meter-Available/32297810863.html?spm=2114.40010208.4.71.i72mzF. Not sure if I would trust it though.

      posted in Hardware
      Sparkman
      Sparkman
    • RE: Water high volume flow meter

      @ericvdb

      They are available, but not cheap. Here are some examples for the North American market: http://www.jerman.com/dljcmeters.html.

      Cheers
      Al

      posted in Hardware
      Sparkman
      Sparkman