Skip to content
  • Which PCB fab do you currently like the best?

    General Discussion
    26
    1 Votes
    26 Posts
    358 Views
    E
    @qqlapraline Those are some quick times for assembly! I usually am doing a board with parts they don't stock, so I have only used them for assembly a few times, and not recently, so it's good to hear. @NeverDie I've used JLCPCB a bunch of times now, and I have yet to find an error that affected the board electrically. I've found small things like sloppy printing or some rough edges of the copper, but always small, and like I said, it has yet to cause an issue for me. For prototyping they're really hard to beat.
  • Pellet burner Monitoring

    General Discussion
    14
    1
    3 Votes
    14 Posts
    2k Views
    qqlapralineQ
    After a 4 years work, here are some samples of my pellet consumption. [image: 1665343111244-chart-2.png] [image: 1665343116115-chart-3.png] Now, guess when I usually stop the boiler ..:) Cheers, QQ.
  • eeBUS

    General Discussion
    1
    0 Votes
    1 Posts
    31 Views
    No one has replied
  • Reliability of Serial vs. Ethernet GW on Vera

    General Discussion
    2
    0 Votes
    2 Posts
    33 Views
    skywatchS
    @elsereno I would investigate why the router goes down and fix that, unless your GW is the only thing using that router...
  • Absolute location of system config in EEProm

    General Discussion
    9
    0 Votes
    9 Posts
    88 Views
    M
    @mfalkvidd said in Absolute location of system config in EEProm: https://github.com/mysensors/MySensors/blob/253109d3ff00ec524c5d1e1dfcd8e197c96e54c2/core/MyEepromAddresses.h might be useful Wow thanks. That is exactly what I needed. Thanks for the help, you are a champion.
  • Setting parameters before system load

    General Discussion
    4
    0 Votes
    4 Posts
    49 Views
    mfalkviddM
    @mariusl Cool use case, thanks for explaining.
  • 1 Votes
    5 Posts
    99 Views
    P
    You need a Pin Vice (or vise if you're across the pond and want to butcher the Queen's King's English)... https://www.ebay.co.uk/itm/143450664932?epid=2305158887&hash=item2166536fe4:g:g-AAAOSwnO1d2YjH&amdata=enc%3AAQAHAAAAoNgdTu9H35nxAzYb88y%2Bd%2BnDpgfsjI2QXCJzOGcO0bj4xAlrbUz9IScDEEydVAxUQ2Fv%2FQXkfPURAH3PWftlQIbAploXhvcmwP4%2F%2FY1YNgXeglqfwkTWyP%2BQkgvRuss8OI4OkverPgiUT%2BBftCZcFLqrm6LdeKgcz8uqo4pMxnLx4AtDgoQHTnSznUbSxLM4jDkUGLECVv%2Bqaptf8fgnWu0%3D|tkp%3ABk9SR8DLmJnqYA Pete.
  • 0 Votes
    9 Posts
    107 Views
    skywatchS
    Nomorobo.
  • Site down?

    General Discussion
    10
    0 Votes
    10 Posts
    88 Views
    A
    Useful information
  • Some"ting" interesting...

    General Discussion
    15
    1 Votes
    15 Posts
    280 Views
    NeverDieN
    @OldSurferDude said in Some"ting" interesting...: @NeverDie Non-internet connected networks still need NTP. I built an NTP server from a $5 gps module, a $3 Arduino nano, a $6 ethernet shield, network cable and a USB cable. A neighbor 3D printed an enclosure for me in exchange for 4 home baked cookies (they're awesome). Just for fun, I put in software for an under $2 display to make a clock. Should we re-title this thread, "Be Afraid, and here's how to ameliorate your fear. " In the scenario I was referring to, the IOT devices are still internet connected. They're just on their own dedicated local LAN (which could be a virtual LAN), that's all. Now, shutting them off from the internet entirely.... maybe that's another step one could take, depending on what it is. I have some lights/switches that were cheap but which have to run through the cloud in order to connect with Alexa. They wouldn't work properly if they were cut off from the internet.
  • Zigbee gateway with support for multiple vendors?

    General Discussion
    25
    1 Votes
    25 Posts
    521 Views
    H
    What is also most interesting with zigbee is a very important number of devices, and low price of them compared to zwave for instance.
  • Tips/Tricks for placing sensors above doors?

    General Discussion
    3
    0 Votes
    3 Posts
    48 Views
    NeverDieN
    In a previous house I had a wireless sensor that was cylindrical. I drilled a roughly 3/4" - 7/8" diameter hole in the doorframe and slide it in, so it wasn't at all visible when the door was closed. Because of the packaging and form factor, some exotic things, like that, are far easier to buy than build, though I suppose it would be within the grasp of someone with skills who was determined to make their own. Less exotic: if you made your sensor flat enough, you could hollow out the door molding and hide it inside of that. A properly designed door sensor could run off of a CR2032 coincell battery for 10+ years, so it's not such a wild idea.
  • 0 Votes
    2 Posts
    32 Views
    OldSurferDudeO
    @nrf24_is_hard When I sent data between an Aduino and the RPi I discovered that I have to make the the receiving and the sending structs the same size AND the variables be on 4 byte boundaries. Change your char name[15] to char name[16] Another challenge is that the number of bytes of type int are different. If I remember correctly, Arduino Uno is 2 bytes and RPi is 4 bytes. To make matters worse, some compilers make the least significant byte the first byte of a word and others make it the last byte of a word. eg, sending the value 1 would be received as 16777216 (0x00000001 vs 0x01000000) There are a lot more gotcha's ;) OSD
  • Bootloading a barebones arduino

    General Discussion
    43
    0 Votes
    43 Posts
    327 Views
    L
    @NeverDie said in Bootloading a barebones arduino: You and a group of friends could sit around a table and pass bits and bytes to each other using an SPI communication protocol. Passing bits and bytes is probably more fun that sitting around a table and passing digs and barbs! I don't know: maybe my friends ARE binary!:angel: [Edit: I forgot to say anything about the content of your SPI protocol story. That was a great story; I feel badly for not thinking about the SPI connection at all. Now it is ingrained. ]
  • 0 Votes
    7 Posts
    146 Views
    OldSurferDudeO
    I just remembered the key technique to getting the communications working smoothly. I do all my communication synchronously. That is as follows: The master device sends a message to a node. The send command returns a success or fail, but fail does not mean the message was not received, it means that an ACK was not received. The master waits a timeout period for a response. If there is no response, a second attempt is made. If there is a response, the data with the response is processed. If not, the node is ignored. After that transaction, the master repeats this process with the next node and for each node there after. A round-robin. If a node does not get a request from the master within a certain interval, it reboots itself. If the system power cycles, the nodes inundate the the master with DHCP requests. Because of so many requests, requests can be ignored or two nodes might receive the same network address (different from NodeID). Eventually, one node will get a valid network address and begin to communicate as expected. This reduces the network traffic and the probability of another node receiving a unique network address improves. Eventually, all nodes connect. "Eventually" can be many, many minutes. The tree structure of the network means that some nodes send data through other nodes. In asynchronous communication, a node may be trying to send data while another node is sending data through it. I may not be correct in this, but I think that it is possible that this will corrupt one or both data packets. This is why I do the round-robin communication. The master only has 5 (4?) usable addresses to receive data. Like computer DHCP, addresses can be reserved for specific NodeID's. For example, address 3 an be reserved for NodeID 31, then NodeID 22 can have a reserved address of 43, thus NodeID 22 will always send data through NodeID 31. (addresses are octal). The address 4444 is reserved; this is the address a node requesting an address uses. To increase the chance of getting a valid address, I put a delay in the first DHCP request based upon the NodeID. I put the NodeID in EEPROM address 0, as does MySensors. I have one program that sets the NodeID and then my program for all of my nodes is the same. Nodes that sleep must have the flag set (in the node software) that indicates no data can be passed through it from another node. All of these hoops are handled by the MySensors libraries, though I force the NodeID. This my impetus to use MySensors. I must wonder though, "How much overhead is there? Do I have enough memory for my code?" So far I haven't had a problem. OSD
  • 0 Votes
    11 Posts
    79 Views
    CrankyCoderC
    Small update. I switched to a radio from different batch and seemed like that fixed it. Saw the smart sleep message in mqtt until I went to bed. But around 4:30am it stopped again. Im going to go pull it again and see what it's outputting. I feel like I need to hook up a bluetooth hc-05 or something so i can just connect over bluetooth at this point to get the serial data lol
  • Mecrisp BLE on Micro:bit V2

    General Discussion
    3
    0 Votes
    3 Posts
    43 Views
    skveryS
    Yip Mecrisp Forth. I will also need to add software interrupt routines for the BLE SoC interface. c-:
  • 0 Votes
    1 Posts
    25 Views
    No one has replied
  • Which is the "best" ESP-32?

    General Discussion
    8
    1 Votes
    8 Posts
    110 Views
    E
    @NeverDie Oh, sorry, I wasn't trying to get proof or anything. I just was asking for your personal experience. Not doubting, just looking at them now and wondering how it had been for you. Do you mind saying which one you have that you are so happy with? I've been looking at different 'best' lists, and getting some conflicting info on them. I'd just like a little more input before buying one, but with seeing all the improvements, and how many devices we have that could use it, now I'm wanting to do it sooner rather than later. Thanks!
  • MySensors forum search feature is not working?

    General Discussion
    4
    1
    1 Votes
    4 Posts
    69 Views
    J
    @hek I see that MySensors logo is missing in the forum [image: mysensors-forum.png]

25

Online

11.7k

Users

11.2k

Topics

113.1k

Posts