💬 Mysensors 2.0 ethernet gateway (W5100) build.




  • Hardware Contributor

    I recently build and updated my gateway for Mysensors to the new version 2.0 and wanted to share my experience and pictures if anyone in the future are going for the same build.

    Some notes - I got the tip to downgrade AVR board defs from tekka, and that worked great. This bug will probably be solved in the future.

    I know it is best to upgrade all your nodes to 2.0 but I have not had the time for that yet. I tried to upgrade a sensor and it didnt work so good, but using my GW with 2.0 seems to work great even if some nodes still are not upgraded.



  • Nice job on the build. I was curious if you ended up needing to comment out MY_DEBUG in the GatewayW5100 sketch for MySensors 2.0, or whether you left it in so you could still review the serial monitor feedback. I have downgraded the AVR board definition as you noted from tekka, but wasn't sure whether commenting out debug was still necessary. I am trying to get an Ethernet GW connected up to a Vera Plus and am having a difficult time with connectivity so far.

    Thank you for any feeback.


  • Hardware Contributor

    @aag86 nope, still has debug included. I use domoticz and have not seen any reconnections or timeouts in the log so far.



  • @sundberg84 Thanks for the feedback. I'll keep debug in and see what happens - will try later today.



  • Looking good!

    How do you power this? From the USB or a separate powersource?


  • Hardware Contributor

    @LOST i have cut and stripped a USB kable. So 5v from a phone charger. From 5 to 3.3v I use a le33az with capacitors.
    I dont use a usb cable connected to the arduino because the output pins on the arduino cant to provide the radio (PA/LNA version) with enough mA to work good.

    (The image is from another project, but like this:
    0_1473680853964_20160908_185554.jpg



  • Hello, may I ask you why do you use wifi and ethernet module? Does this gateway works with both connections type? Regards.


  • Hardware Contributor

    @marcoseduardo - you are misstaking, im using a ethernet module and a arduino uno. There isnt any wifi module.


  • Hardware Contributor

    Just need to ask a general question about the voltage converter - I think i messed up.
    Im using LE33A for 3.3v but i now read here it has a limit of 0.1A. Is this enough for the LA/PNA module?
    Maybe i should go with LD111 instead, seems like it can handle 0.8A.

    Any thoughts?


  • Hardware Contributor

    @sundberg84 LE33A isn't enough, because in your project also are W5100 Ethernet Module, Arduino and leds. Only NRF24L01+PA+LNA consumes 100 mA in peak. You can look here. LM1117-3.3V looks much better.


  • Hardware Contributor

    Thanks @kalina. As i suspected it might be tight.
    It works for me so far, but to be sure i think the conclusion would be to use a better voltage regulator.


  • Hardware Contributor

    @sundberg84 One more note, you use long wires to connect NRF24L01+PA+LNA, you must put capacitor 100uF (at least) close to it.


  • Hardware Contributor

    @kalina - thanks, good info.
    Im using a 4.7uF (only seen in the last picture) connected directly to VCC/GND on the radio. Works great.


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.