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 202.5k 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.
  • NeverDieN NeverDie

    @rozpruwacz Well, with the sketch I wrote (see link), you'd get the value of the first button pressed, and that's it. You'd have to release all the buttons before selecting a new button.

    In terms of the hardware itself, there's an order of precedence to the buttons, so at all times you'd only be able to read the value of a single button, even if more than one button were pressed. In a multi-button press scenario, the buttons of lower precedence are ignored.

    It's a good question though. If you needed to read more than one button simultaneously (such as, for example, move an RC car forward and turn right at the same time), this wouldn't do it. Seems like such a circuit would be possible though, maybe even one based on simple voltage dividing like this one. Somehow you'd need to sum unique resistances for each button pushed instead of just choose a single resistance. I can imagine doing that for a few buttons on an arduino, but maybe not as many as 12.

    rozpruwaczR Offline
    rozpruwaczR Offline
    rozpruwacz
    wrote on last edited by
    #366

    @neverdie I'm asking because I Was trying to do something like this. If there was a resistor values set that would make all 2**n (where n is the number of buttons) choices spaced enough in voltage domain it would work, but I couldn't find such a set ...

    NeverDieN 1 Reply Last reply
    0
    • rozpruwaczR rozpruwacz

      @neverdie I'm asking because I Was trying to do something like this. If there was a resistor values set that would make all 2**n (where n is the number of buttons) choices spaced enough in voltage domain it would work, but I couldn't find such a set ...

      NeverDieN Offline
      NeverDieN Offline
      NeverDie
      Hero Member
      wrote on last edited by NeverDie
      #367

      @rozpruwacz said in What did you build today (Pictures) ?:

      @neverdie I'm asking because I Was trying to do something like this. If there was a resistor values set that would make all 2**n (where n is the number of buttons) choices spaced enough in voltage domain it would work, but I couldn't find such a set ...

      That's why it might work if you needed it for only a few buttons. With only 1024 units of voltage, seems like you'd quickly run out of resolution if you tried to do more.

      1 Reply Last reply
      0
      • sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by sundberg84
        #368

        I built my first MysX daughter board which I will connect to my EasyPCB to drive a led strip.
        This will power everything from 12v so 2 things. Power main board and dim LED strip.

        0_1517346818295_f17d0698-17e1-4842-997e-fa8ddc1d8019-image.png

        Controller: Proxmox VM - Home Assistant
        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

        sundberg84S 1 Reply Last reply
        4
        • sundberg84S sundberg84

          I built my first MysX daughter board which I will connect to my EasyPCB to drive a led strip.
          This will power everything from 12v so 2 things. Power main board and dim LED strip.

          0_1517346818295_f17d0698-17e1-4842-997e-fa8ddc1d8019-image.png

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #369

          Do anyone knows it the back of a TO-220 always is connected to GND and if this should be connected to the board GND as well? Currently I have a exposed copper as a heatsink but this copper is not connected to GND.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #370

            @sundberg84

            Depends on the manufacturer / device type.. So look in the datasheet of the one that you want to use.

            sundberg84S dbemowskD 2 Replies Last reply
            0
            • tbowmoT tbowmo

              @sundberg84

              Depends on the manufacturer / device type.. So look in the datasheet of the one that you want to use.

              sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by sundberg84
              #371

              @tbowmo
              Thank you - I want to be able to use them all/different (ie. 5v, 3.3v, different manufacturer) so I wont connect it and just use it as a heatsink.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              1 Reply Last reply
              0
              • tbowmoT tbowmo

                @sundberg84

                Depends on the manufacturer / device type.. So look in the datasheet of the one that you want to use.

                dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by
                #372

                @tbowmo I agree, it would be per device specs. In many cases I see that connected to the middle pin (whatever that may be), but not always.

                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                1 Reply Last reply
                0
                • NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by
                  #373

                  Made this two-button nRF52832 remote control:
                  0_1517498847917_nrf52_remote.jpg
                  It only draws power when one of the buttons is pressed.

                  1 Reply Last reply
                  0
                  • rozpruwaczR Offline
                    rozpruwaczR Offline
                    rozpruwacz
                    wrote on last edited by
                    #374

                    nice :) what about range of the nRF52832 ? is it better than nfr24l01+ with pcb antenna ? I had problems with nrf24 and now I'm trying with rfm69. From first tests I can tell that it has much better range - but it is slightly larger and requires an antenna ...

                    NeverDieN 1 Reply Last reply
                    0
                    • rozpruwaczR rozpruwacz

                      nice :) what about range of the nRF52832 ? is it better than nfr24l01+ with pcb antenna ? I had problems with nrf24 and now I'm trying with rfm69. From first tests I can tell that it has much better range - but it is slightly larger and requires an antenna ...

                      NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by
                      #375

                      @rozpruwacz said in What did you build today (Pictures) ?:

                      is it better than nfr24l01+ with pcb antenna ?

                      yes

                      1 Reply Last reply
                      1
                      • NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by
                        #376

                        Assembled and tested final version of LoRa Leak Detector:
                        0_1517532798060_lora_leak_detector_v15.jpg
                        Thanks to an external watchdog (TPL5010), it consumes very little current while sleeping. Also, the external watchdog will reboot the pro mini should it ever become unresponsive, so, in addition, it should be highly reliable.

                        Nca78N 1 Reply Last reply
                        3
                        • NeverDieN NeverDie

                          Assembled and tested final version of LoRa Leak Detector:
                          0_1517532798060_lora_leak_detector_v15.jpg
                          Thanks to an external watchdog (TPL5010), it consumes very little current while sleeping. Also, the external watchdog will reboot the pro mini should it ever become unresponsive, so, in addition, it should be highly reliable.

                          Nca78N Offline
                          Nca78N Offline
                          Nca78
                          Hardware Contributor
                          wrote on last edited by
                          #377

                          @neverdie said in What did you build today (Pictures) ?:

                          TPL5010

                          That's a really nice IC, I was looking for something like that but it seems I didn't search with the right keywords.
                          Thank you for sharing the discovery !

                          1 Reply Last reply
                          1
                          • NeverDieN Offline
                            NeverDieN Offline
                            NeverDie
                            Hero Member
                            wrote on last edited by
                            #378

                            Made a simple LoRa node using my CNC:
                            0_1517982209204_lora_node.jpg

                            1 Reply Last reply
                            2
                            • NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #379

                              Upgraded it to include two AA batteries and a DS18B20 temp sensor. Future versions will tap the I2C pins on the pro mini, so those will have better TH sensors.

                              0_1518188724144_lora_temp.jpg
                              Range is noticeably better than when I was running the LoRa from just a breadboard. :)

                              I'm tempted to use a double sided PCB and give the LoRa a more proper and really big ground plane to see if that boosts range even more (at the same power level).

                              zboblamontZ 1 Reply Last reply
                              1
                              • NeverDieN NeverDie

                                Upgraded it to include two AA batteries and a DS18B20 temp sensor. Future versions will tap the I2C pins on the pro mini, so those will have better TH sensors.

                                0_1518188724144_lora_temp.jpg
                                Range is noticeably better than when I was running the LoRa from just a breadboard. :)

                                I'm tempted to use a double sided PCB and give the LoRa a more proper and really big ground plane to see if that boosts range even more (at the same power level).

                                zboblamontZ Offline
                                zboblamontZ Offline
                                zboblamont
                                wrote on last edited by
                                #380

                                @neverdie You can also consider replicating the 1/4 wave against ground in the opposite direction perhaps? ;)

                                NeverDieN 1 Reply Last reply
                                0
                                • zboblamontZ zboblamont

                                  @neverdie You can also consider replicating the 1/4 wave against ground in the opposite direction perhaps? ;)

                                  NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by
                                  #381

                                  @zboblamont said in What did you build today (Pictures) ?:

                                  @neverdie You can also consider replicating the 1/4 wave against ground in the opposite direction perhaps? ;)

                                  I don't understand what you mean. Can you explain a bit more what that would be?

                                  zboblamontZ 1 Reply Last reply
                                  1
                                  • NeverDieN NeverDie

                                    @zboblamont said in What did you build today (Pictures) ?:

                                    @neverdie You can also consider replicating the 1/4 wave against ground in the opposite direction perhaps? ;)

                                    I don't understand what you mean. Can you explain a bit more what that would be?

                                    zboblamontZ Offline
                                    zboblamontZ Offline
                                    zboblamont
                                    wrote on last edited by
                                    #382

                                    @neverdie Sure.
                                    A quarter wave on an ideal Ground Plane mimics a half wave, the GP is sort of like a mirror in radio terms for the 1/4 above it....
                                    Ergo two identical 1/4 waves, one attached to RF feed the other attached to ground, does the same thing, although in fact slightly better...

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • zboblamontZ zboblamont

                                      @neverdie Sure.
                                      A quarter wave on an ideal Ground Plane mimics a half wave, the GP is sort of like a mirror in radio terms for the 1/4 above it....
                                      Ergo two identical 1/4 waves, one attached to RF feed the other attached to ground, does the same thing, although in fact slightly better...

                                      NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #383

                                      @zboblamont So, what you are advocating is a dipole antenna? i.e. something notionally similar to this:
                                      https://www.openhardware.io/view/277/ESP8266-RFM69HW-gateway-with-dipole-antenna
                                      At least, that is what it sounds like to me.

                                      zboblamontZ 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @zboblamont So, what you are advocating is a dipole antenna? i.e. something notionally similar to this:
                                        https://www.openhardware.io/view/277/ESP8266-RFM69HW-gateway-with-dipole-antenna
                                        At least, that is what it sounds like to me.

                                        zboblamontZ Offline
                                        zboblamontZ Offline
                                        zboblamont
                                        wrote on last edited by
                                        #384

                                        @neverdie Not advocating a dipole as such, only pointing to an alternative to your suggested ground plane at 90 degrees to the base of the antenna. Electrically, the second half of the dipole IS the ground plane, and vice versa.
                                        With such physically small boards, it is virtually impossible to achieve the ideal ground plane unless the wavelength is very small, I suggested a duplicate helical tied to GND in the opposite direction to your antenna essentially accomplishes the same thing.

                                        1 Reply Last reply
                                        1
                                        • NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by NeverDie
                                          #385

                                          Interestingly, I just now checked, and it appears my LoRa leak detectors have even better range still. Maybe it's because GND completely encircles the PCB along all four edges. This may cause me to rethink the design of the gateway node, which up to now has been much smaller than the leak detectors....

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


                                          9

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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