š¬ Wall Switch Insertable Node
-
-
Fantastic! Finally some hardware debouncing! This would make a perfect mailbox alert system as well right? If a little overkill perhaps.
Do you know of any integrated hardware debouncer solutions besides going for schmitt triggers? (that are affordable!) I did look at the MAX6816/MAX6817/MAX6818 (https://www.maximintegrated.com/en/products/interface/circuit-protection/MAX6818.html) series myself, but I never got around to using them, and they aren't super cheap exactly and only operate from 2.7V. Surely there must be other manufacturers doing similar ICs?
-
@bjornhallberg
Unfortunately I couldn't find cheap initegrated debouncer. More over - I don't need ordinary debouncer, I need debouncer + edge detector for each channel (to hook 0->1 and 1->0 transitions).
-
Very nice! The next revision to https://www.openhardware.io/view/48/Homini-In-Wall-Battery-Powered-Light-Switch-Module will attempt to get smaller much like yours here. I use a nRF24L01+ for my communication and will need to attempt to get this flat on the board to make my footprint any thinner. Thank you for the inspiration!
-
-
And after mounting
-
Oh.. Earlier I received cr2032 holders instead of cr2450. And now I've received cr2477 instead of cr2450... It's better, because it's possible to cut holders so they can be compatible with cr2450 battery
And I'm ready to start mass testing
-
Very nice, super professional finish to those board, nice work dude! I'm very interested in the way you have the power supply. I may just learn a few things from you and apply to my modules! Thank you!
-
I've added SPI flash for OTA on this board too. And I've replaced 0402 components to 0603 so this board becomes not so crazy
-
Fantastic! Can i buy it pre-assembled from somewhere?
-
Great! Which is the one with the transformer? any link to it?
-
We are changing PCBA contractor which is supposed to assemble Koresh projects. Since current one gave us way too many errors while assembling other projects for our "Day Job" we work with Koresh together. so may be some delay for all Koresh projects.
-
Hello
Will you build an nrf24l01 smd version ?
-
Interesting board. While you have designed this to be a wall-insertable board, one could envision packaging this into a small case with 4 buttons attached to the surface for a portable scene controller/remote. Well done!
-
Is it possible to buy this board assembled from you now?
-
@Cliff-Karlsson
Hope the batch of assembled boards (latest version after all fixes) will be ready in a week.
-
@koresh Great to hear you have assembled components available! I am following your other projects too (like the usb dongle and switchable power supply) .Will these become available as assembled components too ?
-
Board works with nrf24 too
-
@Koresh - Do you happen to have a link for the JST connectors? I can't seem to find any at a reasonable price at the moment. And the male side too, if you don't mind me asking
-
@Samuel235 said in Wall Switch Insertable Node:
@Koresh - Do you happen to have a link for the JST connectors? I can't seem to find any at a reasonable price at the moment. And the male side too, if you don't mind me asking
The price depends on a batch size. You can try to ask any supplier on ali for 100-200 pcs and may be price will be reasonable
-
This looks great. I would be interested to purchase assembled units. Question: any idea what would the cost approximately? And CE certification is that something for the very long term or doable in the near future?
-
^ +1 absolutely....i would back this
-
Unfortunately I can't open my ebay shop right now. While I'm trying to open it, you can buy this board here: https://www.ebid.net/eu/for-sale/arduino-ide-compatible-coincell-powered-switch-controller-rfm69cw-433-mhz-radio-156694971.htm
-
I've prepared several kits for true soldering amateurs
-
Which kind of switches can we plug? normally losed or any kind of light switches already installed in the house?
-
@jeremushka We can use any switches\buttons with this board. So you can use both ON/OFF and momentary switches.
-
@Koresh interesting. What about the battery life? how did you optimize your code in order to have at least battery life 1 year ?
-
@jeremushka
There are no problems with battery drain in this circuit. The MCU sleeps between buttons action. Any changes of button state cause rising edge on the interrupt pin and intterruption routine calling (both of open and close events). We check buttons state only during interuption routine. If you use ON-OFF buttons each of buttons in closed state will increase current consumption by ~3uA. Which is not very critical
-
@Koresh indeed 3uA is nothing. However, the light can always be on or off if the circuit has some problems. Because no action on light switch will be possible.
-
@jeremushka said in Wall Switch Insertable Node:
" if the circuit has some problems"Could please elaborate more on your findings? Did you notice any bugs in the code or in schematics?
-
I am not sure how to connect the switch in the wall to this board.
My house has Gewiss switches, but J1-J4 expects 2 wires - so I am not sure how they connect... Can you help?Thanks!
-
Hi Sefi,
if you like to put some additional extra switch somewhere you can use this funny way:
if you like to use the one in the wall, this way may work for you:
In both ways you need to have something that receives signal from the switch - a relay node.
3 easy steps as usual ))))
1. Š”onnect any connector (J1-J4) to a switch terminals and glue them together with self adhesive or Velcro or glue gun....
2. Connect wires from the wall together. Now you power up the Relay node which controls a bulb in the ceiling.
3. Install the switch and the switch node back into the wall.
let me know if it is clear for you. I mean the Relay node part.
safety first - power down the switch before removing it.
-
Hey @yury , thanks for the reply!
The pictures were very helpfulDoes this board come flashed with the alternate bootloader that supports OTA updates?
-
@Sefi-Ninio said in Wall Switch Insertable Node:
Hey @yury , thanks for the reply!
The pictures were very helpfulDoes this board come flashed with the alternate bootloader that supports OTA updates?
yes, comes with dualoptiboot. but the code is very basic and sends to sleep right after button pressed. So need some additional code to keep it awake to wait for OTA to receive.
-
Would it be possible to skip the 74HC86D and use a pin change interrupt instead? And still support on/off switches?
-
@mardah
If you want to routine only one switch. Otherwise you should use this schematic or any other variant.
-
@mardah oh... you mean pin change system, not extint. You can use it of course.