AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Omnigraffle for mac grid dimensions4/1/2023 ![]() There’s a web-based one called SVG-edit, but it doesn’t seem to be quite there yet w.r.t. ![]() Maybe one day, we’ll all be using SVG editors. Luckily, PNG and PDF have become de-facto standards which every browser knows how to display – so rendering the diagrams at least produces results everyone can use. In this case, the diagrams where created by Marco Bakker in Visio on Windows – which I don’t have – so I imported it into OmniGraffle for Mac – which is in turn useless on other platforms. The thing with diagrams such as these, is that they are hampered by file format wars, with all full-featured drawing apps going out of their way to lock people in. Please make sure you update to the latest version of JeeLib if you intend to use the Port or PortI2C classes with the ATtiny84 on the JeeNode Micro! Note: the definitions in Ports.h were incorrect for the JeeNode Micro. (Click on the image to see the full-size version) More than enough, I’d say :)Īs promised, here is the reference card for the JeeNode Micro v3: That’s over 1.8 million nodes supported by the RF12 driver. each node ID can be shared with over 250 send-only nodes.each netgroup can have a maximum of 30 different node ID’s.over 250 different netgroups are available for use.So now it’s possible to re-use a node ID for an entire “family” of nodes: In many cases, that won’t matter, since presumably all the other nodes will be sound asleep, but for precise single-node ACKs, the reply will also need to include the extra secondary ID, and all the nodes will then have to check and compare it. Note that this trick works fine for send-only nodes, but it would need some additional logic in nodes which expect an ACK, since the ACK will be addressed to all nodes with the same ID. In case you’re wondering: the battery voltage is encoded as 20 mV steps above 1.0V, allowing a single byte to represent values from 1.0 to 6.1V (drat, it’ll wrap when the boost version drops under 1.0V, oh well…). # this is always set, except in the first transmission after power-up # in the non-boost case, the second value is vcc after last transmit Result.vbatt = result.vpre * raw / 255 | 0 # this is ratiometric (proportional) w.r.t. # if high bit of id is set, this is a boost node reporting its battery Here is the payload structure from radioBlip2, with secondary ID and two battery levels: In this case, it’s even compatible with the original radioBlip node which does not have the ID + battery levels. This is very easy to do: add the extra unique secondary ID in the payload and have the decoder pick up that byte as a way to name the node as “BATT-”. (BATT-0 is this unit, BATT-1 is a JNµ w/ coin cell, BATT-2 is a JNµ w/ booster on 1x AA) I’ve started doing this with the radioBlip2 nodes I’m using to run my battery lifetime tests: All we need is a “secondary ID” inside the packet. Now the nice thing about send-only nodes such as door sensors, is that it is actually possible to re-use the same node ID. Especially if the coin cell version can be made to run for a long time, then it would be great to use them as door sensors, lots more room nodes, and also stuff outside the house, such as the mailbox, humidity sensors, and who knows what else… Very convenient.īut with the new JeeNode Micro, I actually would like to get lots more nodes going permanently. So node ID’s are starting to become a bit scarce here…įor testing purposes, I use a different netgroup, which nicely keeps the packets out of the central HouseMon setup used for, eh… production. In fact, many have never been reflashed / updated since the day they were put into operation. I’m using JeeNodes all over the place here at JeeLabs, and several of them have been in use for several years now, running on their own node ID. Multiple netgroups are available to extend this, of course, but then you need to set up one central node “listener” for each netgroup, as you can’t listen to multiple netgroups with a single radio. So within a netgroup (of which there can be over 250), you get at most 30 different nodes to use. That translates to 32 distinct values, of which node ID “0” and “31” are special (for OOK and catch-all use, respectively). ![]() The RF12 driver has a 5-bit slot in its header byte to identify either the sender or the destination of a packet. ![]()
0 Comments
Read More
Leave a Reply. |