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. Hardware
  3. Custom made ethernet gateway based on atmega128

Custom made ethernet gateway based on atmega128

Scheduled Pinned Locked Moved Hardware
39 Posts 6 Posters 24.6k Views 2 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.
  • A Offline
    A Offline
    axillent
    Mod
    wrote on last edited by
    #21

    I got an idea to improve my gateway by adding 433MHz receiver
    I'm succeeded by adding it into the same dimension

    As discussed with @hek it will be other version of EthernetGateway sketch able to handle both NRF24 and RF433 reciever

    Just a small change to schematic
    MySensors.GW.atmega128-01 combined schema.jpeg

    sense and drive

    1 Reply Last reply
    0
    • E epierre

      @axillent which is something I actually do with all deversing into domoticz (vera, mysensors, spark core, webcam), and have an uniformized access through imperihome.

      I'm very interrested about the wifi capacity if we cannot achieve some level of security within rf24.

      A Offline
      A Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #22

      @epierre About security within rf24 we are close. I have implemented and verified HMAC-SHA256 signing. I just need some more time to implement support for a pure software-alternative to the ATSHA204 as well and my "offering" will be complete. Check the security thread (I will post my update there once finished).

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

      1 Reply Last reply
      0
      • E Offline
        E Offline
        epierre
        Hero Member
        wrote on last edited by
        #23

        @Anticimex This is good news, that would make us a bit safer... next step will be two ways SSL encryption ;-)

        z-wave - Vera -> Domoticz
        rfx - Domoticz <- MyDomoAtHome <- Imperihome
        mysensors -> mysensors-gw -> Domoticz

        A 1 Reply Last reply
        0
        • E epierre

          @Anticimex This is good news, that would make us a bit safer... next step will be two ways SSL encryption ;-)

          A Offline
          A Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #24

          @epierre ha! Well, whoever wants encryption, feel free to do it :) I see no need so I'm skipping that though. I am fine with somebody potentially reading the sensor values and instructions I transmit. What concerns me is if somebody could fool my system and inject their own commands. But with my signing, I challenge anybody to try ;) (and I publish full sources)

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          0
          • A Offline
            A Offline
            axillent
            Mod
            wrote on last edited by
            #25

            I made a version with RF433 receiver, I'm able to fit it into the same size PCB & same size box

            will work on the new code to support RF433 sensors. The idea is to use ID=254 for the single node which will holds all RF433 sensors as it's children. I will need to manage a special inclusion for RF433 sensors. I have two buttons and 3 leds. This probably will be used to select & indicate sensor type during inclusion. Sensor type and child ID will be stored in gateway EEPROM. For the controller sensors will behave as regular motions / fire / door / water leakage / etc. sensors

            I have all this sensors connected to simple GSM alarm system. The advantage to connect the, to mysensors is a reuse. All sensors will be working simultaneously with alarm and mysensors

            IMG_2145.JPG

            sense and drive

            R 1 Reply Last reply
            0
            • A axillent

              I made a version with RF433 receiver, I'm able to fit it into the same size PCB & same size box

              will work on the new code to support RF433 sensors. The idea is to use ID=254 for the single node which will holds all RF433 sensors as it's children. I will need to manage a special inclusion for RF433 sensors. I have two buttons and 3 leds. This probably will be used to select & indicate sensor type during inclusion. Sensor type and child ID will be stored in gateway EEPROM. For the controller sensors will behave as regular motions / fire / door / water leakage / etc. sensors

              I have all this sensors connected to simple GSM alarm system. The advantage to connect the, to mysensors is a reuse. All sensors will be working simultaneously with alarm and mysensors

              IMG_2145.JPG

              R Offline
              R Offline
              RJ_Make
              Hero Member
              wrote on last edited by
              #26

              @axillent Were did you get those screw inserts?

              RJ_Make

              A 1 Reply Last reply
              0
              • R RJ_Make

                @axillent Were did you get those screw inserts?

                A Offline
                A Offline
                axillent
                Mod
                wrote on last edited by
                #27

                @ServiceXp said:

                @axillent Were did you get those screw inserts?

                all were purchased on aliexpress
                IMG_2147.JPG

                sense and drive

                R 1 Reply Last reply
                0
                • A axillent

                  @ServiceXp said:

                  @axillent Were did you get those screw inserts?

                  all were purchased on aliexpress
                  IMG_2147.JPG

                  R Offline
                  R Offline
                  RJ_Make
                  Hero Member
                  wrote on last edited by
                  #28

                  @axillent Would you happen to have links?

                  RJ_Make

                  A 1 Reply Last reply
                  0
                  • R RJ_Make

                    @axillent Would you happen to have links?

                    A Offline
                    A Offline
                    axillent
                    Mod
                    wrote on last edited by
                    #29

                    @ServiceXp sure

                    M3 & M2

                    http://ru.aliexpress.com/item/M3-x-10-Insert-round-nuts-Brass-Rohs-PASS-1000-pieces/745448307.html?recommendVersion=1
                    http://ru.aliexpress.com/item/M2-x-3-5-x-5-Insert-round-nuts-Brass-Rohs-PASS-1000-pieces/745540578.html?recommendVersion=1

                    sense and drive

                    R 1 Reply Last reply
                    0
                    • A axillent

                      @ServiceXp sure

                      M3 & M2

                      http://ru.aliexpress.com/item/M3-x-10-Insert-round-nuts-Brass-Rohs-PASS-1000-pieces/745448307.html?recommendVersion=1
                      http://ru.aliexpress.com/item/M2-x-3-5-x-5-Insert-round-nuts-Brass-Rohs-PASS-1000-pieces/745540578.html?recommendVersion=1

                      R Offline
                      R Offline
                      RJ_Make
                      Hero Member
                      wrote on last edited by
                      #30

                      @axillent Thanks..

                      RJ_Make

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        DanielD
                        wrote on last edited by
                        #31

                        hey axillent,

                        Could you upload the source code of your gateway?
                        You use another slave that?(Type of This gateway send a RF to anther module and control de lamp?)
                        If Yes could you post the schema and de souce code?
                        Thx

                        A 1 Reply Last reply
                        0
                        • D DanielD

                          hey axillent,

                          Could you upload the source code of your gateway?
                          You use another slave that?(Type of This gateway send a RF to anther module and control de lamp?)
                          If Yes could you post the schema and de souce code?
                          Thx

                          A Offline
                          A Offline
                          axillent
                          Mod
                          wrote on last edited by
                          #32

                          @DanielD sorry, did not get your question
                          my gateways are using standard ethernet gateway sketch

                          sense and drive

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            DanielD
                            wrote on last edited by
                            #33

                            Hmm, you use the ethernet gateway sketch:),

                            Okay,I will do the question again, because it was a bit confusing.

                            This getway control another things? For exemple "Smart Plug" Module?
                            If yes, how you control this Plug?

                            Thx

                            A 1 Reply Last reply
                            0
                            • D DanielD

                              Hmm, you use the ethernet gateway sketch:),

                              Okay,I will do the question again, because it was a bit confusing.

                              This getway control another things? For exemple "Smart Plug" Module?
                              If yes, how you control this Plug?

                              Thx

                              A Offline
                              A Offline
                              axillent
                              Mod
                              wrote on last edited by
                              #34

                              @DanielD my gateways are not doing other things for now

                              i have two issues with my gateways 1. it is hard to manage multi-gateway network, you need to use hardcode 2. NRF24 is not the single network I plan to integrate to mysensors

                              there is an idea to redo class structure of the MS library to create a simple way of embedding drivers other than NRF24
                              as soon as this will be developed we can do a new driver for RF433

                              the idea on how to integrate RF433 is simple, bud without class restructuring it will be a deep hardcode

                              sense and drive

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                DanielD
                                wrote on last edited by DanielD
                                #35

                                Okay, I understand
                                Sorry my silliness, but what do you mean hardcore 2?
                                I will do this sketch today(Ethernet Getway), but my big problem will do sync the getway to this sensor(Plug) or another sensor and control via web/cellphone
                                :/

                                A 1 Reply Last reply
                                0
                                • D Offline
                                  D Offline
                                  DanielD
                                  wrote on last edited by
                                  #36
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    DanielD
                                    wrote on last edited by
                                    #37

                                    @axillent
                                    You modified the code base, alright?
                                    Could you send me the new code?
                                    Thx

                                    1 Reply Last reply
                                    0
                                    • D DanielD

                                      Okay, I understand
                                      Sorry my silliness, but what do you mean hardcore 2?
                                      I will do this sketch today(Ethernet Getway), but my big problem will do sync the getway to this sensor(Plug) or another sensor and control via web/cellphone
                                      :/

                                      A Offline
                                      A Offline
                                      axillent
                                      Mod
                                      wrote on last edited by
                                      #38

                                      @DanielD 2 is stands for the second issue )

                                      before class restructure I will recommend you to use sensor sketch as a gate between RF433 and mysensors

                                      sense and drive

                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        DanielD
                                        wrote on last edited by
                                        #39

                                        @axillent
                                        Okay, I will try :)
                                        The sketch of the Plug, I will see that do many challenges, but let's go.
                                        I was reading the code the Ethernet getway, but i learn how i sync it with another sensor.

                                        Thx for your help

                                        1 Reply Last reply
                                        0

                                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                        With your input, this post could be even better 💗

                                        Register Login
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        4

                                        Online

                                        12.0k

                                        Users

                                        11.2k

                                        Topics

                                        113.4k

                                        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