What did you build today (Pictures) ?
-
@fotofieber said in What did you build today (Pictures) ?:
Testing a CCS811 CO2 sensor.
Unfortunately this is not a CO2 sensor. It's only a VOC sensor giving an estimated eCO2 value. It's useful to tell you if your room needs ventilation, but not much more. And as even the VOC part is not calibrated it's only good for relative measurement.
AFAIK the only similar sensors which are calibrated and give absolute values are SGP30 and BME680.
If you want to measure CO2 you need a CO2 sensor and it's going to consume a lot of power, at least too much for a battery powered sensor.[edit] there's also the MiCS-VZ-89TE TVOC sensor, they claim to have a curve of eCO2 not too far from NDIR sensor in their datasheet. But that datasheet is strangely poor in details, they didn't even put any electrical characteristics...
https://sgx.cdistore.com/datasheets/sgx/MiCS-VZ-89TE_V1.0.pdf
-
My battery operated mini touch switch
-
-
I don't think I ever managed to get it right the first revision.
-
But it's something...
-
@sundberg84 you should print the board on paper, stick it on a piece cardboard and cut. Then check if size is good, you can even put the "big" components on it by sticking the pins through the cardboard to make sure you'll have enough space.
-
@nca78 great tip! But it's more common it's a schematic or footprint error. The outline "should" be the easy part even if I messed up.
-
@nca78 said in What did you build today (Pictures) ?:
@fotofieber said in What did you build today (Pictures) ?:
Testing a CCS811 CO2 sensor.
Unfortunately this is not a CO2 sensor. It's only a VOC sensor giving an estimated eCO2 value. It's useful to tell you if your room needs ventilation, but not much more. And as even the VOC part is not calibrated it's only good for relative measurement.
My tests will show, how far away I am with this sensor in my indoor usage scenario.
My Netatmo sensors claim to measure CO2 and are battery powered. They seem to calibrate themselves to the lowest level they measure in 24 hours. This behaviour seems to be similar with the CCS811. The Netatmo sensors seem quite close to my MH-Z14A.
In the datasheet for the CCS811 I have read, that you can't use them in your green house, because of its self calibration. Netatmo may have the same restriction too.
AFAIK the only similar sensors which are calibrated and give absolute values are SGP30 and BME680.
I have ordered a SGP30 some days ago and will test it too. The BME680 needs binary code linked which is a no go for me. (As a gift I would take it into my test setup. )
If you want to measure CO2 you need a CO2 sensor and it's going to consume a lot of power, at least too much for a battery powered sensor.
The problem with high power sensors is, that they produce heat, which can make your temperature measurements unusable.
As my CO2 sensors have a color led to show air quality, they are mains powered anyway.
[edit] there's also the MiCS-VZ-89TE TVOC sensor, they claim to have a curve of eCO2 not too far from NDIR sensor in their datasheet. But that datasheet is strangely poor in details, they didn't even put any electrical characteristics...
https://sgx.cdistore.com/datasheets/sgx/MiCS-VZ-89TE_V1.0.pdfThank you for the link. I have ordered one for my test setup. They are really expensive, about twice the price of the MH-Z14A, the SGP30 or the CCS811.
Other CO2 sensors I should use in my test setup?
I like the MH-Z14A and depending on my tests may stay with them.
EDIT: ordered a MHZ-19 for the tests
-
@fotofieber said in What did you build today (Pictures) ?:
EDIT: ordered a MHZ-19 for the tests
Make sure you order a MHZ-19B, it uses less power and has fixed an autocalibration problem.
SenseAir S8 has a better calibration process using several days, so if you don't ventilate your room during 24h it will not use a wrong reference level and report wrong values.And about BME680 there are boards on AliExpress with included STM32 Cortex M0+, basically it's the same than the MiCS-VZ-89. Search for GY-MCU680V1.
-
@nca78 said in What did you build today (Pictures) ?:
And about BME680 there are boards on AliExpress with included STM32 Cortex M0+, basically it's the same than the MiCS-VZ-89. Search for GY-MCU680V1.
Thx, ordered one on aliexpress. Hope I have time to test when they arrive...
EDIT: first results, hope CCS811 will calibrate better in the next two days
-
All elements are assembled
Mysensors Capacitive touch glass mini switch on battery (nRF52832) β 01:56
β Andrew EfektaSB
-
@berkseo nice! What did you use for the capacitive sensor? MPR121?
-
@petewill said in What did you build today (Pictures) ?:
@berkseo nice! What did you use for the capacitive sensor? MPR121?
TTP223s in top left and top right corners
@berkseo I'm curious about that, why not use the capacitive touch function of the NRF52832 ?
-
-
@nca78 said in What did you build today (Pictures) ?:
I'm curious about that, why not use the capacitive touch function of the NRF52832 ?
Ttp223 chips suit me. Very stable stuff. When I tried to do it on amtel328, these mcu also had this feature (almost all mcu have this feature). But it was not very stable. I'm not sure that a stable device using the mcu 52832 would be possible. If there is an example of a stable software implementation, I would be happy to test it, and then it would be clear to do it without external capacitive chips or not.
-
My new workbench is coming along nicely.
-
Top shelf is for network stuff
-
@mfalkvidd good job
-
Continuing along the theme of one of my last projects, I built a nRF52832 into a 328p Pro Mini footprint. Made two versions: One with some edge SMA or U.Fl pads and another with a PCB trace antenna:
I wanted to start getting into using 32-bit microcontrollers (ARM Cortex varieties like nRF5x, SAMDs, STMs, etc.) for some more complex HA and other electronics projects and am trying to ease the learning curve from all my 8-bit ATMEGA experience.
Keeping the 328p pin-compatible footprint and PCB size means I can still reuse most of my other Pro Mini project boards to get going. An added bonus is the nRF52's ability to remap (almost) any pins, which will no doubt come in handy.
Theyβre both two layer boards and I get pretty decent range out of the PCB trace antenna - ever so slightly better RSSI than EByteβs E73-2G4M04S1B, which was surprising since I didnβt really do anything different (that Iβm aware of) and their module is shielded too.
Since thereβs no need for a separate nRF24 board and other associated components, like external SRAM or ATSHA, itβll possibly save me a few $ too! Power pins next to the (remappable) I2C pins make some of the sensor modules (like SI7021) pluggable.
I also gain 16x the program memory (512K vs. 32K) and 8x the speed (64MHz vs. 8MHz) which is no small increment!
Some of the project boards I have made use of the Pro Mini 328pβs FTDI pins, so I added a few components to enable the use of an FTDI programmer with custom DFU serial bootloader.
Basically, a DTR pin toggle from the FTDI will reset the nRF52 into a state where itβll briefly listen for a new program - similar to Adafruitβs Feather. You can also force that state for a longer period with a combination button press like Nordic and SparkFunβs development boards.
Iβm unfamiliar with SWD/JTAG programming/debugging and all things GDB/OCD, so I built myself a black magic probe out of a STM32 blue pill and am going to have a play with all of that, along with VS Code and PlatformIO and probably one or two others.
MySensors nRF52 support worked out of the box (!) - so a huge thanks to all the hard work of the folks round here for getting that up and running. If thereβs anything I can help with there, please let me know and if Iβm able, Iβll try to take a stab at it (OTA maybe?). Like I said, Iβve got quite a steep learning curve here though.
On the low power end, I added the DCDC components Nordic recommend too and managed to get the MySensors smartSleep() current down to around 0.7uA - as per the datasheet, I think. However, I found that with a couple more code tweaks and grounding the SWDCLK, I would get into the nA region. This seems a bit out of spec to me and perhaps itβs just a measuring error, but it was repeatable and the board still happily sending data/heartbeat again each time it woke up. (Itβs fluctuating around 1.6nA below - no sensors connected though, but itβs a startβ¦)
One other project in the back of my mind is using this board as the basis for a quadcopter, but thatβll probably have to wait until the summer holidaysβ¦!
-
@acb Nice! I have serious board envy. I really like that clip on programmer too.
-
@acb have you written a bootloader yourself, or found already available? Can you tell more about it and a board you using to connect nrf52 to FTDI?
Nice work!
-
Well,in my case, I mounted and tried to fix bugs in my very first design. This is supposed to be a castelizable Sensebender compatible node, embedding NRF24L01+, LED, Temp/Humi/Press sensor, Memory, crypto, with most of the IO exposed. The updated design is online, but still work in progress.
project on OpenHardware
-
@acb Wow. Awesome
-
My light sensor on the window. Will work as a slave device for the curtain controller.
Mysensors Light sensor (LUX) on nRF52832 | First HW&SW test β 01:46
β Andrew EfektaSB
-
New gateway going live and migrating slowly from Domoticz to Homeassistant. At least to try it.
-
@nagelc Thanks! The clip on programmer is one-part Adafruitβs FTDI βFiddyβ from here, and one-part SparkFunβs old (retired?) 3.3 or 5v selectable FTDI programmer with a custom 3D printed enclosure.
I plan to modify the βFiddyβ design a bit as there were some elements of it that Iβve found a bit frustrating. However, YMMV. Gotta love pogo pins for programming thoughβ¦
Re: Board envy. Really? Well, if you like, I could do what I did on my last project - which was selling the leftovers. At the moment, I always make more than I need, for testing and some much needed practice with the smaller 0402s. Just send me a chat message if you (or anyone else?) are interested.
-
@monte Re: FTDI Boards & Bootloaders.
I didnβt write the bootloader myself from scratch, but modified and combined various elements from Nordicβs SDK v11 example, SparkFunβs development version and Adafruitβs Feather version.
It was quite a nice learning experience of hacking in bootloader land and dealing with event-driven architectures without any low level debugging skills (yet!) - thatβs why Iβm now trying to get into SWD/JTAG debugging to make things like this easier.
I certainly donβt understand everything thatβs going on, but βlooselyβ from what I can figure out, it uses Nordicβs proprietary SoftDevice (S132) combined with some custom bootloader code to boot into a predefined state, where itβll wait for new βimageβ either over a serial or bluetooth connection.
The new βimageβ can be either your regular sketch-type code (referred to as the βapplicationβ), a new SoftDevice (S212, S332, etc.) and/or even a new bootloader.
Once the new βimageβ is received and validated by the (existing) bootloader, it is copied to replace the existing βimageβ parts where necessary and the chip is reset.
Nordicβs pc-nrfutil command line utility handles interfacing with any standard FTDI board over a COM port (mine is an old SparkFun, but any should work) to perform the upload.
In SDK11, there isnβt much in the way of safeguards, but in SDK15 there are things like cryptographic signing, custom initialization packets and protocol buffers, etc.
I did have to make one tweak to the nrfutil Python code, to make it wait a little longer after opening the COM port before sending the DFU initialization packet. This might be unnecessary with optimized bootloader code, I donβt know, since the nRF52832 boots pretty quickly.
I could go on, but Iβm still learning myself, and so if you or anyone else has any other questions, comments, suggestions, etc., perhaps we better move them to a new discussion thread? (Just tag me in so I see itβ¦)
Thanks for your interest though!
-
Very nice @Fanfan!
Love the power protections - those would have saved me a few nRF24s in the past!
How have you found the ceramic antennas?
Iβve been wondering whether to add pads to mine for experimenting...
-
Thanks @berkseo!
Have been enjoying your work with nRF52 designs.
Also on my list is trying the built-in capacitive touch capabilities of the chip.
I can @ you if I get anywhere with it - might come in handy for your capacitive touch glass mini switch to save you a few components?
-
@acb Of course!!!, ttp 223 gives a reliable result, but if there is an opportunity to make a stable implementation based on the chip itself, then definitely it needs to be done. I would appreciate any help and advice.
-
@acb we can continue discussion in this thread, If you want: https://forum.mysensors.org/topic/6961/nrf5-action/
So as I understand for now you are using native SDK and not using Arduino and mysensors? As far as I know arduino's core for nrf5 has no support for bootloaders, and mysensors conflicts even with softdevice being present on a chip. And it seems that sandeepmistry (author of the core) isn't going to invest his time into writing bootloader and can't use nordic's one because of license. I would like to have a bootloader solely for bluetooth OTA programming for projects beside mysensors. Maybe you could share your work, and/or write some kind of brief tutorial on where to start working on this subject maybe to avoid problems you have already solved? Anyway, great work from you, hope someday we will have mysensors on nrf52 with working OTA.
-
well this is my project , right now im using 2 arduino nano with ethernet shield to read 3 lines Voltage on a delta instalation , 3 current sensors of 300amps for a motor , and 1 water pressure ,
all conected to a raspberry pi with domoticz
but yesterday i decide to change all , instead of 2 uno i will use a pro mini with a nrf24
so i desing two pcb
some code
#define MY_NODE_ID 100 #define MY_DEBUG #define MY_RADIO_NRF24 #include <SPI.h> #include <MySensors.h> #define CHILD_ID_VOLT_1 1 #define CHILD_ID_VOLT_2 2 #define CHILD_ID_VOLT_3 3 #define CHILD_ID_CURRENT_1 4 #define CHILD_ID_CURRENT_2 5 #define CHILD_ID_CURRENT_3 6 #define CHILD_ID_PRESION 7 #define VOLT_SENSOR_ANALOG_PIN_1 0 #define VOLT_SENSOR_ANALOG_PIN_2 1 #define VOLT_SENSOR_ANALOG_PIN_3 2 #define CURRENT_SENSOR_ANALOG_PIN_1 3 #define CURRENT_SENSOR_ANALOG_PIN_2 4 #define CURRENT_SENSOR_ANALOG_PIN_3 5 #define PressPin A6 unsigned long SLEEP_TIME = 20000; // Sleep time between reads (in milliseconds) MyMessage msg(CHILD_ID_VOLT_1, V_VOLTAGE); MyMessage msg2(CHILD_ID_VOLT_2, V_VOLTAGE); MyMessage msg3(CHILD_ID_VOLT_3, V_VOLTAGE); MyMessage msg4(CHILD_ID_CURRENT_1, V_CURRENT); MyMessage msg5(CHILD_ID_CURRENT_2, V_CURRENT); MyMessage msg6(CHILD_ID_CURRENT_3, V_CURRENT); MyMessage pressureMsg(CHILD_ID_PRESION, V_PRESSURE); float lastVolt1; float lastVolt2; float lastVolt3; float lastCurrent1; float lastCurrent2; float lastCurrent3; float lastPresion; int pressure = 0; float PSI = 0; float PSI_CAL = 2.0; // Calibration of sensor int PSImsb = 0; int PSIr = 0; void before() { } void presentation() { sendSketchInfo("Multisensor", "1.7"); // Send the sketch version information to the gateway and Controller present(CHILD_ID_VOLT_1, S_MULTIMETER); // Register this device as power sensor present(CHILD_ID_VOLT_2, S_MULTIMETER); // Register this device as power sensor present(CHILD_ID_VOLT_3, S_MULTIMETER); // Register this device as power sensor present(CHILD_ID_CURRENT_1, S_MULTIMETER); // Register this device as power sensor present(CHILD_ID_CURRENT_2, S_MULTIMETER); // Register this device as power sensor present(CHILD_ID_CURRENT_3, S_MULTIMETER); // Register this device as power sensor present(CHILD_ID_PRESION, S_WATER); // Register this device as power sensor } void setup() { } void loop() { int Voltaje1 = analogRead(A0); int Voltaje2 = analogRead(A1); int Voltaje3 = analogRead(A2); int Corriente1 = analogRead(A3); int Corriente2 = analogRead(A4); int Corriente3 = analogRead(A5); float VoltLevel1 = map(Voltaje1,0,1023,0,500); float VoltLevel2 = map(Voltaje2,0,1023,0,500); float VoltLevel3 = map(Voltaje3,0,1023,0,500); float CorrienteLevel1 = map(Corriente1,0,1023,0,200); float CorrienteLevel2 = map(Corriente2,0,1023,0,200); float CorrienteLevel3 = map(Corriente3,0,1023,0,200); Serial.print("Voltaje L1: "); Serial.println(VoltLevel1); Serial.print("Voltaje L2: "); Serial.println(VoltLevel2); Serial.print("Voltaje L3: "); Serial.println(VoltLevel3); Serial.print("Corriente L1: "); Serial.println(CorrienteLevel1); Serial.print("Corriente L2: "); Serial.println(CorrienteLevel2); Serial.print("Corriente L3: "); Serial.println(CorrienteLevel3); //sensor de voltaje if (VoltLevel1 != lastVolt1) { send(msg.set(VoltLevel1, 1)); lastVolt1 = VoltLevel1; } if (VoltLevel2 != lastVolt2) { send(msg2.set(VoltLevel2, 1)); lastVolt2 = VoltLevel2; } if (VoltLevel3 != lastVolt3) { send(msg3.set(VoltLevel3, 1)); lastVolt3 = VoltLevel3; } //sensor de corriente if (CorrienteLevel1 != lastCurrent1) { send(msg4.set(CorrienteLevel1, 1)); lastCurrent1 = CorrienteLevel1; } if (CorrienteLevel2 != lastCurrent2) { send(msg5.set(CorrienteLevel2, 1)); lastCurrent2 = CorrienteLevel2; } if (CorrienteLevel3 != lastCurrent3) { send(msg6.set(CorrienteLevel3, 1)); lastCurrent3 = CorrienteLevel3; } /* ************************************************ */ pressure = analogRead (PressPin) ; // junk read wait(25); /* β’ Output: 0.5V β 4.5V linear voltage output. 0 psi outputs 0.5V, 50 psi outputs 2.5V, 100 psi outputs 4.5V 0 psi = .33v after scalling 5.0v to 3.3v 50 psi = 1.65v 100 psi = 2.97v 3.3v/1024 = .0032266 volt per bit */ pressure = analogRead (PressPin) ; if (pressure < 106) pressure = 106; // this is minimum of .5v PSI = (pressure - 106 ) * .1246; // where did we get this?? was .119904 PSI = PSI + PSI_CAL; // adjustment PSImsb = PSI * 100; PSIr = PSImsb % 100; send(pressureMsg.set(PSI, 2)); // Send water pressure to gateway Serial.print("Presion: "); Serial.println(PSI); wait(200); // end of if (SLEEP_MODE || (cu sleep(SLEEP_TIME); }
havent tested with sensors yet
but looks good so far
-
Today, the first sensors of the devices were soldered, the prototypes of which passed long-time tests. Eliminated children's sores. In matt black they are good
-
@berkseo whoa, time for a Kickstarter! They look great! Where did you have them made, and what do they cost?
@fernando-alvarez-buylla Always nice to see the Aurora theme being used
-
And a few days later my pcb's arrived
Now to test the next version
-
Hacking Redmond smart bulb socket RSP-202S
Mysensors | Hacking Redmond smart bulb socket RSP-202S β 02:42
β Andrew EfektaSBon nRF51822...
-
How did you 'hack' it? All I see in the video is you changing a power wire?
-
@alowhum I replaced the manufacturer's software with my own.
The device now works on the mysensors network
-
@berkseo very cool! How did you do that? Did you just have to connect the serial holes to an ST_LINK adapter or something similar? Was is difficult to open the device? And, most importantly: is your code available somewhere?
-
Hacking Redmond SkyPlug RSP-100S
Mysensors | Hacking Redmond SkyPlug RSP-100S β 06:14
β Andrew EfektaSB
-
@alowhum Kickstarter? I'm not sure it's time ..The cost of components is approximately $10. PCB made in China, soldered by myself.
-
@alowhum Soon I will publish codes and the description of process of dismantling and a firmware. But getting ahead.. it's very simple
-
Added two other (e)co2 sensors to my test-setup.
Now 3 NDIR and 2 VOC under observation.
-
A family member gave me an old lamp with a fancy glass base. Well, I didn't like the lamp, but the base was nice, so I kept it in my basement for a few years. I found it again the other day and decided it needed to become a new type of lamp. I put a 150 LED strip (WS2812B) inside. I have an STM32 Blue Bill and RFM69HCW to run the light patterns and connect to MySensors.
In Domoticz, I have it set up as a dimmer light, but the node just switches patterns depending on what the dimmer level is.
At first, I wrapped the LED strip carefully around a tube that sits in the center of the glass jar, but it didn't look very good. Somehow just spiraling the strip in the bottom of the lamp has a much better effect.
My wife even liked it, so maybe I will put some finishing touches on it and actually use it as a lamp : )
-
@berkseo
https://translate.google.ru/translate?hl=&sl=ru&tl=en&u=https%3A%2F%2Fmysku.ru%2Fblog%2Fdiy%2F72557.htmlOriginal (code without Google formatting): https://mysku.ru/blog/diy/72557.html
-
Test nRF52840 with Mysensors on Arduino IDE
Mysensors & nRF52840 on Arduino IDE β 01:19
β Andrew EfektaSBbased on source - https://translate.google.ru/translate?sl=ru&tl=en&u=https%3A%2F%2Fmysensors-rus.github.io%2Fnrf52840-The-first-steps%2F
-
Well, Design of an home made electronic kit for my 10yo daughter to teach her by example. on 74HC595 (shift reg), 9 leds, 4 push buttons, some wrapping wire, ... We managed to build it, it works, with some bad contacts, but it works, she enjoyed the thing and the time spent together. Here is the schema and the pictures. I strongly invite parents to build it with their children, easy and fun. !
-
@fanfan
Looks nice, and I love the idea that you spend time and knowledge to your kids
but looking at the current budget it seems that you are above the rated current consumption for the 74HC595, just so you don't wonder in case it burns when several LEDs are ON at the same timeInput clamp current, I IK (V I < 0 or V I > V CC ) Β±20 mA
Output clamp current, I OK (V O < 0 or V O > V CC ) Β±20 mA
Continuous output current, I O (V O = 0 to V CC ) Β±35 mA
Continuous current through V CC or GND Β±70 mAData from here:
https://www.sparkfun.com/datasheets/IC/SN74HC595.pdf
-
@berkseo
https://translate.yandex.ru/translate?url=https%3A%2F%2Fhabr.com%2Fru%2Fpost%2F450860%2F&lang=ru-en
-
@dbemowsk I've been gambling with an Adafruit AudioFX board and cobbled together this annunciator. Eventually it will likely be a MySensors node to play alarms or different sounds. It is using a reasonably-priced transportable speaker to play the sounds. I were given it to work with my doorbell button node today.
-
Prototyping my netatmo replacement device. It has an led strip that can simulate a lighouse, a rainbow or a fireplace...
(If not used only for fun, it should warn you, if there is too much CO2 in the air.)
-
Today I have spent a few hours trying to eradicate the confusion between MySensors' different message acknowledgements. See https://github.com/mysensors/MySensors/issues/1103 and https://forum.mysensors.org/post/34263 for details.
core/MyGatewayTransport.cpp | 11 ++++++----- core/MyMessage.cpp | 8 +++++++- core/MyMessage.h | 31 ++++++++++++++++++------------ core/MyOTALogging.cpp | 2 +- core/MyProtocol.cpp | 16 ++++++++-------- core/MySensorsCore.cpp | 41 ++++++++++++++++++++------------------- core/MySensorsCore.h | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------- core/MySigning.cpp | 4 ++-- core/MySigning.h | 2 +- core/MyTransport.cpp | 20 +++++++++---------- core/MyTransport.h | 4 ++-- examples/SecureActuator/SecureActuator.ino | 2 +- 12 files changed, 147 insertions(+), 108 deletions(-)
I have also updated https://www.mysensors.org/download/sensor_api_20 to use echo instead of ack when describing the echo function. That page didn't have information on the return value for send, present, reqestTime, etc so I added info on the return value as well.
-
When doing the change above, i noticed that after I created https://github.com/mysensors/MySensors/issues/1107 the number of undocumented MySensors keywords has more than doubled!
The plan was to let the MySensors butler check for missing keywords as soon as the few remaining keywords were documented. If I add the check on the existing code, the butler wouldn't allow any commits which would hinder development. But since no-one has documented the missing keywords in over a year, I decided to blacklist the missing keywords and add the check anyway. The new check will give developers a list of new missing keywords, if they add any, so they can be documented.
-
I've also submitted documentation updates for clarifying MY_RX_MESSAGE_BUFFER_FEATURE limitiation on esp8266 and renaming RadioSetting to TransportSetting for https://www.mysensors.org/apidocs/group__RadioSettingGrpPub.html
References:
https://github.com/mysensors/MySensors/pull/1296
https://github.com/mysensors/MySensors/pull/1295
-
Today I have finished my d-diot board:
The board is part of the d-diot project (see my other post)
-
My 3V Node (Atmega328P 1MHz), embedded NRF24L01+ with ceramic antenna, ATSHA256, AT25DF512, BME208, LED, Battery monitoring, ICSP, FTDI, Castelizable, Breadboardable.
-
@fanfan nice! How is the signal compared to stock nrf24 modules? How much for antenna?
-
@monte A little bit less, but not a lot. I still need to improve the PCB (better castelization tracks, remove diodes, ...) and this should be ready to be copied/used.
-
Today finished with the HW part of the new device
hw test e-ink2.7+ccs811+sht20 on nrf52832 β 00:21
β Andrew EfektaSB
-
@mfalkvidd
Looks impressive!
-
Today finished new device:
Video:
Wireless Touch Switch (nRF52832) (CR2450) with fluorescent β 02:21
β Andrew EfektaSB
-
Today.... This MQ2 gas sensor with Neopixel RGB lamp on top and a capacitive touch button under the circle mark on the front.
It is part of the d-diot project. The files of the 3d-printable case are available in Thingiverse.
The firmware is available here, the wiki page is under construction.
In the next weeks I will try to print it in wood... Just to increase the WAF
-
My new micro-sensor water leak ready. Powered by NRF52832-CIAA
cr2032, ... ~3ΞΌA consumption
-
Love to to watch all you creative designs
-
Pro version of water leak sensor, for very very hard to reach and remote places :). Version with amplifier.
-
@berkseo what's the range improvement with amplifier ?
From my experience with nrf24 the amplifier + ceramic antenna was not giving great results.
-
@nca78 said in What did you build today (Pictures) ?:
what's the range improvement with amplifier ?
From my experience with nrf24 the amplifier + ceramic antenna was not giving great results.A few months ago, when testing, I received about 200 meters of stabilized power from the power bank. While this device was tested for 30 metres. There are problems with receiving the delivery confirmation, the device is guaranteed to transmit, but does not receive the delivery confirmation(sometimes). I think it's linked to my gateway, it has the usual radio module nrf24l01+. Of course we are talking about dc-dc-mode
-
I do not want to be too offensive, but it seems to me as if your skills in electronics and 3D-printing is way better developed than your trust in the plumbing
Now for the serious part: how often do you experience water leaks? And how long do the batteries in this design last?
Boozz
-
@boozz serious water leak heppened once in 40 years
-
@gohan
I was referring to @berkseo 's situation and images/examples. I just wondered why this person would put this amount of effort in creating a device that would probably not be functional at the moment it should be functional. I'm just thinking about corrosion of the pcb, a drained battery, change of properties of the 'sensor' due to time-effects etc.
Do not misunderstand me: I'm absolutely enthousiastic about this device (and I'm impressed by how small it is and the design), but I'm a bit concerned about the effects that could negatively affect the behaviour of it.
-
@boozz said in What did you build today (Pictures) ?:
@gohan
I was referring to @berkseo 's situation and images/examples. I just wondered why this person would put this amount of effort in creating a device that would probably not be functional at the moment it should be functional. I'm just thinking about corrosion of the pcb, a drained battery, change of properties of the 'sensor' due to time-effects etc.
Do not misunderstand me: I'm absolutely enthousiastic about this device (and I'm impressed by how small it is and the design), but I'm a bit concerned about the effects that could negatively affect the behaviour of it.You can see on the picture he already had a leak under his kitchen sink
And in some countries pipes installations are not very reliable, for example yesterday evening my dishwasher emptied on the floor because the workers did not glue the PVC pipe angle so it went away. Would have love to be warned at the first drops instead of realizing it much later when walking in water in the middle of the kitchen. I also had problem with drinkable water fountain not stopping when tank was full and emptying the 20l bottle on the floor, leaks of sinks and bathtub in the bathrooms in previous apartment, etc etc
So there's truly a "market" for those sensors, they could also be slightly modified to make rain detection instead and warn you if rain is coming and some windows are still opened (very useful here in tropical weather when you can switch from sunny to tropical rain in a mater of minutes).And if you use the low power comparator of the nrf5 it uses only a few uA in sleep mode, easily detects a bit of water between the 2 contacts and can last for 1-2 years on button cell.
-
@nca78 I suspect what @boozz is referring to is not the functionality but the direct effect of water on the device.
Pretty sure a pair of threaded socket bolts could be swapped for the cover screws and permit wall mounting on a couple of threaded SS electrodes to solve it though, and it would still make for a very compact and unobtrusive arrangement.
-
I think very useful device.
Stainless screw like detectors - no corrosion.
And all the time this device sits in dry area - no corrosion.
But software must call controller ( with battery level for example ) sometimes, say one per a day, to inform it is alive.
And if controller does not receive this message - sends alert.
I am using this for all my nodes - very easy in Domoticz.
If node dies, Domoticz send me e-mail ( and SMS ) with information.And 40 years with this hoses for example ?
Try it .....
-
@kimot I followed your logic until you suggested 40 years in the future with presumably failed wash hand basin umbillicals..
-
@berkseo I'm sorry if I can, but what kind of sensor are you using to detect water ?? I would like to do something like that but with an Arduino pro !!
-
@boozz A leak of water in my memory occurred two or three times. Yes, this is not a common problem in the modern world. But sometimes it is enough once. And here it is important how this leakage will be quickly detected and, accordingly, the source of water supply will be blocked. And one more thing: insurance can not cover everything. One situation is when itβs a country house, but for example in Moscow I live in an apartment on the 6th floor, that is, there are 5 floors below with apartments, and I may have to pay for repairs in these apartments.
Now I have three sensor options: on a cr2032 battery, on a cr2477 battery, and on a 2 / AA (14250) battery with an amplifier.
The devices consume 3 micro amperes in a dream , on conventional radio modules they consume 7β9 milliamperes while the transmission is running, for modules with an amplifier of 24β26 milliamperes, and I can programmatically decide when I should turn on the amplifier.
-
@boozz It was just a photo session in various locations :).
The pcb, of course, will be coated with acrylic varnish. Stainless steel contacts are used. Conclusions do not have direct contact with the ground, there is a gap of about 0.5-1mm. Button holes are made from below, but look at how it is done in the photo. Well and places where leakage is possible, usually should not be wet, otherwise a mold and td. If there is moisture, then it is somehow better to eliminate :).
-
@sindrome73 said in What did you build today (Pictures) ?:
I'm sorry if I can, but what kind of sensor are you using to detect water ?? I would like to do something like that but with an Arduino pro !!
Used by SN74LVC1G00. Recently I was asked for this scheme in myssensor_rus telegram-chat. I drew it by hand in PAINT, I can offer it to you. I apologize, but nevertheless it is a scheme
-
@zboblamont said in What did you build today (Pictures) ?:
umbillicals
It is rubber hoses with metal braiding.
But rubber degrades and this equipment is the most common cause of water leakage.
-
@berkseo thanks for the scheme. but therefore don't use a sensor ?? i'm sorry noni and clear how do you detect the presence of water ...
-
@sindrome73 the sensor is the two screws. Without water, the elevtrical between the screws is very high. With water, the electrical resistance is lower.
-
@mfalkvidd ok now I understand, and then commands an Arduino or other. thank you
-
@kimot The elastomers used are resilient and will last decades from new, never seen one burst yet. Most folks remodel bathrooms every 5-10-20 years and should replace these at the same time, which was why I chuckled at the 40 years.
With the technology and battery longevitity available nowadays, they are certainly a handy device to have where problems have occured or may.
-
@berkseo
Clever idea to use SN74LVC1G00 as while both inputs are same voltage it only consume ICC = 10uA (10 mircoA) in whole voltage range 1.65V -5,5V
-
@bjacobse said in What did you build today (Pictures) ?:
Clever idea to use SN74LVC1G00 as while both inputs are same voltage it only consume ICC = 10uA (10 mircoA) in whole voltage range 1.65V -5,5V
Power consumption of the entire device in a sleep - less than 3 mircoA.
-
@bjacobse said in What did you build today (Pictures) ?:
@berkseo
Clever idea to use SN74LVC1G00 as while both inputs are same voltage it only consume ICC = 10uA (10 mircoA) in whole voltage range 1.65V -5,5VNot when when you have a low power comparator available that runs with only 0.5Β΅A...
-
Wireless expansion module for very cheap soil moisture sensor from Aliexpress
MySensors | Wireless Module for Capacitive Soil Moisture Sensor v1.2 β 05:12
β Andrew EfektaSB
-
Finally the round-tuit UPS got built after the last power cut clobbered the Controller/Gateway system, lesson learned...
Meanwell AD-55A, 7.2Ah Acid gel battery, two usb 5v buck converters, a spare socket for raw volts, and a 15 euro IP66 box from the local shops.. Some drilling and filing to the lid, couple of brackets, spare bolts, banding, soldering and hot glue...
A bit bulky, but disappears in a void under the stairs, two tiny drill holes let the buck converter leds shine threw...
No monitoring as yet, but sailed through a power cut this morning and the Pi didn't skip a beat.. First up is the Pi's RTC then can put the cover back on the Controller...
-
@zboblamont is the battery and switch mode psu just in parallel? Or do you have a switchover / charge circuitry?
-
@tbowmo The Meanwell AD-55A is a purpose made 12v UPS type with all controls onboard. There is an optional version with monitoring brought out to a connector block, but I couldn't find one.
The photo angle is misleading - Channel 1 +/- is to load, Channel 2 +/- is trickle charge to battery, power failure switches seamlessly to the battery as source..
It's a fairly comprehensive arrangement with an array of safety features including battery protection, eg - If during power failure you disconnect the battery, it's reconnection will not restore load power, and resets only on mains supply.
Case ventilation made using a metal bracket with a matrix of holes as a drill through template so it looks neat, but as the PSU barely gets warm to the touch it proved to be overkill.
-
@zboblamont Do you have any more info on this? Components and schematic? I am looking to do this as well as Florida is now fully into storm season.
-
@wergeld Sure, but this is where I first read about it as part of a comparative link text when I was trying to decide on a UPS after a series of outages (frequent out here in the sticks).
The dual buck converters were the only real variation (in case one blew). Following kind advice after querying buck converters on this forum, this is the type I ordered but off eBay, but this is very similar layout... link text
I should explain that I would have gone for a commercial UPS had a decent USB supply been quoted, but the reality is that for most the USB is of secondary consideration to backup mains...
I gets interesting when you consider the actual Ah capacity before the battery low cutout operates, I reckon well in excess of 12 hours...
Have fun...
-
not with mysensors, but could have been: CNY70 water sensor meter (rotating wheel) with extended wifi range, the heart of it is a Particle Photon pushing to domoticz
-
Today I finished printing the case. Turned out to node with sensor bme280 and e-ink display, running on nRF52840 from SKYLAB
In one of the photos still have the sensor with bme280 working on nrf52840 from EBYTE. ...This is the previous project.
upd.
-
I have soldered the first sample of "xRoom" board.
TODO: testing and detail description of the project))
-
@kalina That is some excellent solder work. Last time i tried to do SMD work it ended up being 110% solder, 5% PCB, and 0% component at the end.
-
I didn't build this myself, but I did create the code. It's a MySensors CO2 sensor that is part of a 'privacy friendly smart home of the future' which will be launched later this year.
It was made by artist and jeweler Dinie Besems. All her creations feature small 'skirts' that you can lift to see the data, or cover up the screen if you have visitors and don't want them to immediately see your data.
-
Etched and soldered a new gateway after the original one I had failed.
-
Meet Janus project, a premium USB dongle by Tekka and me
Dual RF gateway with external antennas.
- nrf52840 with 20dB PA + SMA connector. So it can be compatible with MySensors, and/or zigbee..
- rfm69hcw/rfm95 long range + SMA connector . module has all DIO pins routed for sw driver optimizations.
- reset button
- user button
- RGB led
- high PSRR RF/analog 700mA LDO
- usb protected
- 4layers board
- enclosure size : 52x21 (thickness 11mm). compact!
Enclosure is just a quick proto, I'll improve quality, or I would like to try online multijet service, I'm curious
It's very recommended, for better performance, to have some distance between antennas.
So, for example, I'll use a shorter antenna (without cable) for 2.4ghz, and a "remote" antenna (with a cable) for 433/868/905Mhz, so it can be used with different kind of antennas.We choosed external antennas, because
- versatile use
- better range especially when dongle is close to lot of stuff which could affect range in case of a pcb antennas
-
@scalz ohh! Where can I order one?