Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. cabat
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    cabat

    @cabat

    14
    Reputation
    62
    Posts
    631
    Profile views
    0
    Followers
    1
    Following
    Joined Last Online

    cabat Follow

    Best posts made by cabat

    • RE: MYSBootloader 1.3.0-beta.3

      @iguaan Try to set MY_RF24_PA_LEVEL to RF24_PA_MIN on gateway then use NRF24L01+PA+LNA module - in my case the OTA begin work perfect!

      posted in Development
      cabat
      cabat
    • RE: OTA not working in my current setup (CRC Error)

      May be it's help you - in my case with Winbond W25X40CL changing code in SPIFlash.h solve the problem with CRC error:

      i change this:

      #define SPIFLASH_BLOCKERASE_32K   0x52        //!< erase one 32K block of flash memory
      

      on this:

      #define SPIFLASH_BLOCKERASE_32K   0xD8        //!< erase one 64K block of flash memory
      
      posted in Troubleshooting
      cabat
      cabat
    • RE: 💬 Simple compact RF24 node (ATmega328 + NRF24)

      @yveaux Sorry, i don't test the range of nodes - plan to use in the 2 floor house of 60 meters.
      But you opinion is correct, this design is compromise of size, pins count and range degradate.
      This is prototype, work good about 1 year:

      0_1532697756848_node_3.jpeg
      0_1532697764522_node_4.jpeg

      posted in OpenHardware.io
      cabat
      cabat
    • RE: Starting my PC with a 3.3v arduino pro mini?

      You can use anything like this:

      27b273ad-810b-4880-baf8-09ad8ba67e41-изображение.png

      https://electronics.stackexchange.com/questions/129463/switch-on-computer-with-microcontroller

      i am using just one PC817:

      94af73aa-76db-4a35-97c2-9dc3f82fa00b-изображение.png

      posted in Development
      cabat
      cabat
    • RE: Powering NRF24l01+ with DC-DC Module Abaisseur Regulateur Tension Step Down

      As i see, two first module is impulse, but third - linear?

      posted in Troubleshooting
      cabat
      cabat
    • RE: Newbie wants to do everything wired

      @feanor-anglin said in Newbie wants to do everything wired:

      If you like it, please feel free to contact me. We've made some significant progress, which is not published yet.

      I am also intresting in implementation of RS485 in my MySensors network, and i like yor hardware and use some of your ideas in my project Simple compact RS485 node (ATmega328 + MAX485) ,

      posted in General Discussion
      cabat
      cabat
    • RE: Starting my PC with a 3.3v arduino pro mini?

      @kiesel Great work! 🙂

      1. 5V connected through diode to protect of polarity revers
      2. MB = Motherboard, you right
      3. First need to connect power button from front panel, second to connect to "Power Switch" on motherboard. This allows power on both from power button and Arduino.

      You disign is absolutely working!

      posted in Development
      cabat
      cabat
    • RE: 💬 Building a wired RS485 sensor network

      @gryzli133 I have a number of MySensors devices using RS485, it would be interesting to try to run PJON protocol over RS485, it seems like there is such an opportunity, but I could not figure out how to use it in the MySensors library.

      posted in Announcements
      cabat
      cabat
    • RE: Supply 230V/5V for node ? Mini Pro, NRF24L01, ams1117

      Very dangerous - too small gap between AC230 and GND:

      15073096-6a58-44fa-9674-50a623989f5f-изображение.png

      posted in Troubleshooting
      cabat
      cabat
    • RE: Starting my PC with a 3.3v arduino pro mini?

      @kiesel Sorry friend, I guess I confused you a little ..
      The diode is needed so that, when powered from the contacts on the motherboard with 5V, it does not damage my arduino, that's all 🙂
      Have a nice weekend to!

      posted in Development
      cabat
      cabat

    Latest posts made by cabat

    • RE: Relay device not showing up in HA but does in .json

      Hello, friend.
      Do you read this Presentation?

      posted in Home Assistant
      cabat
      cabat
    • RE: HassOS + serial gateway with MyController

      Hi, friend!
      He also became interested in the Home Assistant system, but was upset by the lack of support OTA.
      I use a system Majordomo for MySensors devices and my Ethernet-RS485 gateways are based on ENC28J60.
      And I found such an idea for myself - to implement a proxy for the TCP protocol in order to implement a parallel connection to the gateway of two systems at the same time.
      I tested this solution and it turned out to work - I was able to flash via OTA , while simultaneously receiving data in Home Assistant.
      Perhaps this idea will be of interest to you.

      posted in Home Assistant
      cabat
      cabat
    • RE: 💬 Building a wired RS485 sensor network

      @hypnosiss you may be interested in this https://forum.mysensors.org/topic/11814/rs485-transport-ack-support/6

      posted in Announcements
      cabat
      cabat
    • RE: RS485 transport ACK support

      @gieemek Great thanks for you solution, it's work perfect!!
      I just change the timeout for resend message to 250ms.
      Using now in 6 my RS485 nodes.

      posted in Development
      cabat
      cabat
    • RE: RS485 transport ACK support

      @gieemek thanks, this is a good idea! I was thinking about something similar..

      posted in Development
      cabat
      cabat
    • RE: RS485 transport ACK support

      @gieemek Can you explain how do you using ACK on RS485? in my practice i see, that having no error, but lossing packets..
      I mean that what construction don't working correctly:

      boolean MYS_send(MyMessage Msg) {
        boolean status = false;
        int counter = 3;
        
        do {
          status = send(Msg);
          if (status)
          {
            SendCount++;
            return status;
          }
        else
          {
            SendError++;
            counter--;
            wait(50);      
          }
        } while (counter > 0);
      
        return status;
      }
      
      posted in Development
      cabat
      cabat
    • RE: MYSBootloader does not work

      @nexus1212 Hello frend. I am using 0xE2 0xDA 0x06 for my atmega 8Mhz.

      posted in Troubleshooting
      cabat
      cabat
    • RE: RS485, no communication

      @vdomos it is possible to connect the ground wire of the RS485 adapters?

      posted in Troubleshooting
      cabat
      cabat
    • RE: RS485, no communication

      @vdomos this is very strange - it works for me without this directive..

      #define MY_BAUD_RATE 9600
      #define MY_NODE_ID 111
      //#define MY_PARENT_NODE_ID 0
      //#define MY_PARENT_NODE_IS_STATIC
      
      #define MY_DEBUG
      
      #define MY_OTA_FIRMWARE_FEATURE
      #define MY_OTA_FLASH_SS 16  //  pin A2 of Arduino Pro Mini
      #define MY_OTA_FLASH_JDECID 0xEF30
      
      #define MY_OTA_RETRY (10u)
      #define MY_OTA_RETRY_DELAY (2000u)
      
      #define MY_RS485
      #define MY_RS485_DE_PIN 7
      #define MY_RS485_BAUD_RATE 9600
      
      #include <SPI.h>
      #include <MySensors.h>
      
      void setup()
      {
        pinMode(6, OUTPUT);
      }
      
      void before() { 
      }
      
      void presentation()
      {
        sendSketchInfo("Test_RS485_OTA", "2.3.2.0.004");
      }
      
      void loop()
      {
        digitalWrite(6,0);
        wait(100);
        digitalWrite(6,1);
        wait(100);
        digitalWrite(6,0);
        wait(100);
        digitalWrite(6,1);
      
        sendHeartbeat();
        wait(5000);
      }
      
      posted in Troubleshooting
      cabat
      cabat