Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. What did you build today (Pictures) ?

What did you build today (Pictures) ?

Scheduled Pinned Locked Moved General Discussion
1.1k Posts 105 Posters 203.1k Views 98 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fernando alvarez buyllaF Offline
    fernando alvarez buyllaF Offline
    fernando alvarez buylla
    wrote on last edited by
    #776

    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
    0_1555866423061_IMG_20190416_160915041_BURST000_COVER_TOP.jpg

    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
    0_1555866610375_downImg.png

    0_1555866627272_downImg2.png

    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
    0_1555866800921_Anotación 2019-04-21 121255.jpg

    1 Reply Last reply
    3
    • berkseoB Offline
      berkseoB Offline
      berkseo
      wrote on last edited by berkseo
      #777

      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 :)
      1_1556060042292_IMG_20190424_014140.jpg 0_1556060042291_IMG_20190424_014129.jpg
      0_1556060466225_IMG_20190424_015903.jpg
      0_1556207020867_photo_2019-04-25_18-02-1111.jpg

      1 Reply Last reply
      2
      • alowhumA Offline
        alowhumA Offline
        alowhum
        Plugin Developer
        wrote on last edited by alowhum
        #778

        @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 :-)

        berkseoB 1 Reply Last reply
        0
        • fernando alvarez buyllaF Offline
          fernando alvarez buyllaF Offline
          fernando alvarez buylla
          wrote on last edited by
          #779

          And a few days later my pcb's arrived
          0_1556345757207_IMG_20190427_011106.jpg

          Now to test the next version

          1 Reply Last reply
          1
          • berkseoB Offline
            berkseoB Offline
            berkseo
            wrote on last edited by berkseo
            #780

            Hacking Redmond smart bulb socket RSP-202S

            0_1556488999240_WhatsApp Image 2019-04-29 at 00.09.52.jpeg

            https://youtu.be/ApcpM_Oh7uE

            on nRF51822...

            1 Reply Last reply
            1
            • alowhumA Offline
              alowhumA Offline
              alowhum
              Plugin Developer
              wrote on last edited by
              #781

              How did you 'hack' it? All I see in the video is you changing a power wire?

              berkseoB 1 Reply Last reply
              0
              • alowhumA alowhum

                How did you 'hack' it? All I see in the video is you changing a power wire?

                berkseoB Offline
                berkseoB Offline
                berkseo
                wrote on last edited by berkseo
                #782

                @alowhum I replaced the manufacturer's software with my own.
                0_1556490111282_WhatsApp Image 2019-04-29 at 01.19.43.jpeg

                The device now works on the mysensors network

                1_1556490583713_photo_2019-04-27_15-12-06.jpg 0_1556490583712_photo_2019-04-07_15-31-44.jpg

                1 Reply Last reply
                1
                • alowhumA Offline
                  alowhumA Offline
                  alowhum
                  Plugin Developer
                  wrote on last edited by
                  #783

                  @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?

                  berkseoB 1 Reply Last reply
                  0
                  • berkseoB Offline
                    berkseoB Offline
                    berkseo
                    wrote on last edited by
                    #784

                    Hacking Redmond SkyPlug RSP-100S

                    0_1556575487052_WhatsApp Image 2019-04-30 at 00.45.17.jpeg

                    https://youtu.be/C5W_3nAF-2A

                    1 Reply Last reply
                    0
                    • alowhumA alowhum

                      @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 :-)

                      berkseoB Offline
                      berkseoB Offline
                      berkseo
                      wrote on last edited by
                      #785

                      @alowhum Kickstarter? I'm not sure it's time :) ..The cost of components is approximately $10. PCB made in China, soldered by myself.

                      1 Reply Last reply
                      0
                      • alowhumA alowhum

                        @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?

                        berkseoB Offline
                        berkseoB Offline
                        berkseo
                        wrote on last edited by
                        #786

                        @alowhum Soon I will publish codes and the description of process of dismantling and a firmware. But getting ahead.. it's very simple :)

                        berkseoB 2 Replies Last reply
                        3
                        • FotoFieberF Offline
                          FotoFieberF Offline
                          FotoFieber
                          Hardware Contributor
                          wrote on last edited by
                          #787

                          Added two other (e)co2 sensors to my test-setup.
                          Now 3 NDIR and 2 VOC under observation. :)
                          0_1556829380676_IMG_3826.JPG

                          1 Reply Last reply
                          0
                          • nagelcN Offline
                            nagelcN Offline
                            nagelc
                            wrote on last edited by
                            #788

                            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 : )
                            0_1556834583958_20190502_174734.jpg

                            1 Reply Last reply
                            8
                            • berkseoB berkseo

                              @alowhum Soon I will publish codes and the description of process of dismantling and a firmware. But getting ahead.. it's very simple :)

                              berkseoB Offline
                              berkseoB Offline
                              berkseo
                              wrote on last edited by
                              #789

                              @berkseo
                              https://translate.google.ru/translate?hl=&sl=ru&tl=en&u=https%3A%2F%2Fmysku.ru%2Fblog%2Fdiy%2F72557.html

                              Original (code without Google formatting): https://mysku.ru/blog/diy/72557.html

                              1 Reply Last reply
                              0
                              • berkseoB Offline
                                berkseoB Offline
                                berkseo
                                wrote on last edited by berkseo
                                #790

                                Test nRF52840 with Mysensors on Arduino IDE
                                https://youtu.be/dLXDBjsmVhE

                                based on source - https://translate.google.ru/translate?sl=ru&tl=en&u=https%3A%2F%2Fmysensors-rus.github.io%2Fnrf52840-The-first-steps%2F

                                1 Reply Last reply
                                3
                                • FanfanF Offline
                                  FanfanF Offline
                                  Fanfan
                                  wrote on last edited by Fanfan
                                  #791

                                  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. !
                                  1_1557074595586_59399854_1643957105747897_3582083341400145920_n.jpg 0_1557074595584_59168532_1643956979081243_7862945518123483136_n.jpg 0_1557074649088_Capture d’écran_2019-05-05_18-43-50.png

                                  bjacobseB 1 Reply Last reply
                                  5
                                  • FanfanF Fanfan

                                    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. !
                                    1_1557074595586_59399854_1643957105747897_3582083341400145920_n.jpg 0_1557074595584_59168532_1643956979081243_7862945518123483136_n.jpg 0_1557074649088_Capture d’écran_2019-05-05_18-43-50.png

                                    bjacobseB Offline
                                    bjacobseB Offline
                                    bjacobse
                                    wrote on last edited by bjacobse
                                    #792

                                    @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 time

                                    Input 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 mA

                                    Data from here:
                                    https://www.sparkfun.com/datasheets/IC/SN74HC595.pdf

                                    1 Reply Last reply
                                    0
                                    • berkseoB berkseo

                                      @alowhum Soon I will publish codes and the description of process of dismantling and a firmware. But getting ahead.. it's very simple :)

                                      berkseoB Offline
                                      berkseoB Offline
                                      berkseo
                                      wrote on last edited by
                                      #793

                                      @berkseo
                                      https://translate.yandex.ru/translate?url=https%3A%2F%2Fhabr.com%2Fru%2Fpost%2F450860%2F&lang=ru-en

                                      1 Reply Last reply
                                      0
                                      • dbemowskD dbemowsk

                                        @sincze I should have known. All you had to say was memory and it would have made sense, or should I say sincze. LOL. With needing to hold states of 900 LEDs, I am going to guess that they are WS2812 LED strips.

                                        H Offline
                                        H Offline
                                        Hanane Amrani
                                        Banned
                                        wrote on last edited by
                                        #794

                                        @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.

                                        1 Reply Last reply
                                        1
                                        • FotoFieberF Offline
                                          FotoFieberF Offline
                                          FotoFieber
                                          Hardware Contributor
                                          wrote on last edited by
                                          #795

                                          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.)
                                          0_1558731422060_IMG_3858.JPG

                                          1 Reply Last reply
                                          4
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          12

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular