💬 Button size radionode with sensors swarm extension
-
@alexsh1 said in Button size radionode with sensors swarm extension:
However, actively measuring current - 4.5mA
This would kill 2032 very quicklyMatter of hours I guess, it's half more than the max continuous discharge current of a CR2032.
-
@Nca78 said in Button size radionode with sensors swarm extension:
@alexsh1 said in Button size radionode with sensors swarm extension:
However, actively measuring current - 4.5mA
This would kill 2032 very quicklyMatter of hours I guess, it's half more than the max continuous discharge current of a CR2032.
It is 4.mA for 120ms for less just for measurements
However, I agree that this is not very battery friendly
-
@alexsh1 said in Button size radionode with sensors swarm extension:
@Nca78 said in Button size radionode with sensors swarm extension:
@alexsh1 said in Button size radionode with sensors swarm extension:
However, actively measuring current - 4.5mA
This would kill 2032 very quicklyMatter of hours I guess, it's half more than the max continuous discharge current of a CR2032.
It is 4.mA for 120ms for less just for measurements
However, I agree that this is not very battery friendlyAh ok I completely misunderstood But yes seems high for a CR2032 sensor...
-
This post is deleted!
-
@Koresh,
I tried to buy some of these on the link you provided, but couldn't do it. Do you still have this component in your stock ? I like to buy 865mhz HW/W versions.
-
@Abdu-Sahin said in Button size radionode with sensors swarm extension:
865mhz HW/
Hi
They will be ready end of this week. do you need both HCW and CW versions?
-
@yury
I like to try both 865 HW/W versions. I need sensors with long battery life and good RF distance coverage for my project. I've noticed some people suggested using only 'W' version for battery powered nodes, but from my initial experience I didn't have good distance with 'W' version.
-
@Abdu-Sahin said in Button size radionode with sensors swarm extension:
I need sensors with long battery life and good RF distance coverage
)) either good battery life or good coverage though... or good coverage and 2-3 AA batteries. CW is 20 mA when sending signal and HCW is about 100 mA. CR2032 battery will be drained by HCW pretty fast.
HW/W versions have bigger footprints (Module Size:19.7X16mm) and not compatible with the "Button size".
HCW/CW (Module Size:16X16mm) are equivalents for HW/W.
-
@yury
I think I can start with CW version as start. Battery life is important for me.
-
@Abdu-Sahin said in Button size radionode with sensors swarm extension:
Battery life is important
sent you a message in the chat...
-
@yury
You can email me if you like.
My email is uk.asahin at gmail com
-
@Abdu-Sahin I was interested in reading your conversation about battery life etc. I hope you will continue the conversation on the forum instead of in private.
Thanks.
-
It is possible to buy only PCB ? Upload PCB to OSH Park, or send PCB in eagle. I do not have Altium Designer... Thx
-
@Miroslav-KadanÄ› I've just uploaded latest gerbers (rfm reset pin was connected to controller, connection of si1132 was fixed, reverse battery polarity protection was added). You can place PCB order at any factory.
-
Maybe a stupid question but how do you connect the FTDI adapter? I only know the ISP pins
-
Few months ago, I've ordered some of your nodes, which work perfectly by the way, but I needed something that could speed up testing of any sensors.
So following our conversation on Github with Yury, I've created a PCB based on your Button size node, with a field for an extension board. The aim is to have a versatile board, and extensions that could handle virtually any sensors, like NodeManager project, but for hardware
And it's also a first time experiment in the land of PCBs
Apart 2 errors ( maybe more in the future !), it seems to be well routed, as tests been proving, but i still not tried the FOTA function.
Errors was a badly routed button and it seems that, after the RFM chip is soldered, communication with USBasp gets bad! Is it because SCK and MISO route ( from pin headers to atmega328 ) goes through the RFM chip before atmega ?You were mentioning some mods in dualoptiboot in order to flash M25P40, https://forum.mysensors.org/topic/3160/ota-flash-types-for-mysensors/43.
Would it be possible to share these ?And just out of curiosity, how did you manage to solder SI7021 and TSL2561 ?
By now, it seems like a mystery for me...
-
@getlarge said in Button size radionode with sensors swarm extension:
after the RFM chip is soldered, communication with USBasp gets bad
Did you solder R4 (from your schematic https://github.com/getlarge/Cosmonode/blob/master/Cosmonode_sch.pdf)? I can't find it on the boards photo.
PS
Will share compiled bootloader and sources soon.
-
@Koresh said in Button size radionode with sensors swarm extension:
Sorry, picture's quality is not too good!
R4 ( 10Kohm) is soldered. I read about that pullup resistor that is needed to sync with atmega SCK. Any other hint on what could cause that ?
Maybe, that was a mistake when i changed the fuse? but I didn't have problem before with these settings.So I'll have to be patient to use M25P40!
-
@chbla said in Button size radionode with sensors swarm extension:
Maybe a stupid question but how do you connect the FTDI adapter? I only know the ISP pins
Can anyone quickly tell me how to do it correctly? I thought it didn't work but I'm unsure.
-
@chbla This board has standard FTDI header (see attached screenshot).
But it also has all of ISP pins (mosi, miso, sck, rst)
-
@Koresh Might be a dumb question I am planning to work on this board, where do I find the complete part list.
-
Does any one have links to dirty pcb or OSH Park? Thanks a lot
-
^^^warning: it's an infiltration bot.
-
This post is deleted!
-
@NeverDie Not sure if you are referring to me?
-
@Miroslav-KadanÄ› Thanks!!
-
I do not have an electronics background. I wend through the pdf files and order the parts and looks like I got the wrong resistor and capacitor or wrong part. Looks like I have to wait for an expert to comment let me know which resistor/capacitor goes where what part size. I would love to hear from someone
-
@koresh it is possible to buy this adapter (RFM69HCW -> RFM69CW) or download pcb files ?
Thx
-
@miroslav-kadanÄ› said in Button size radionode with sensors swarm extension:
@koresh it is possible to buy this adapter or download pcb files ?
ThxGo to this link and press the download button: https://www.openhardware.io/view/299/Button-size-radionode-with-sensors-swarm-extension
-
@neverdie thx, but i need adapter from RFM69HCW to RFM69CW
-
Re: Button size radionode with sensors swarm extension
2 cr2032 winter upgrade - works nice
Keep working at -20 Celsius in a fridge. voltage dropped from 6 Volts to 5V and keeps pretty stable while sending temperature reading every 2 minutes for 2 days now.
-
There are so many reasons to use two CR2032 batteries in series with power converter instead of one lager battery like 2450
-CR2032 are much more widespread batteries
-Wider temperature range
-Stable voltage during all battery lifetime (using voltage converter)
-Stable radio power during battery lifetime
-Batteries give less current during transmitting so they are not "shocked" by high current.So I plan to create version with two CR2032 batteries holder (like on the Yury's photo) and the ultra high efficiency DC-DC converter based on the tps62745 (400 nA quiescent current, 90% efficiency)
-
The main problem is finding a button holder that can hold two CR2032's in series. So far I've only found two. One is made by Linx, but it's definitely not ideal:
The other works fine, but it has a larger footprint, so I'm not presently using it. It may work well on your board, though, because your board is square, so you can use the diagonal:
On the other hand, maybe you could bend down the tabs and use it as a through-hole?
I did one where I simply cut-off the tabs and then soldered it to the board. That works, but it leaves me with an uneasy feeling as to how long it might last in that configuration. Maybe it's worth re-visiting.
-
@neverdie said in Button size radionode with sensors swarm extension:
worth
uh... apparently, yes. dual dip cr2032 is hard to find item on ali.
-
@koresh Hello,
can you please update pcbdoc and schdoc files ?
And add a pcb adapter from RFM69HCW to RFM69CW ?
Thx Mirek
-
@miroslav-kadanÄ›
Hello Mirek. All source files are actual, I used exactly the same files to produce latest stable version. I never share source files until I test the board. So I will share updated files (like on the latest screenshot or better) after the board will be checked and tested
PS
I've added rfm converter board.
-
With the default sensor and sketch I only get integer values - shouldn't this be decimals with 2 digits after the . ?
Not sure if I have a different lib or missed something
-
This post is deleted!
-
What's the typical time you get with the default node, coin cell and the sketch on github?
https://gist.github.com/solars/6116b78ea7ee581ecfafddb8da4a9610It drained within only 1 day for me
-
is it sleeping 5 seconds only?
-
@gohan said in Button size radionode with sensors swarm extension:
is it sleeping 5 seconds only?
You are right, that was my mistake after testing it. However, the consumption still seems high.
For example I'm right now testing a BME280 which I want to use in the future, with the following sketch:
https://gist.github.com/solars/a5302f1cb60d90f89d7e37d5e23f8c4dIt's connected to SDA/SCL and GND/V - somehow the voltage it receives with a fresh battery is already quite low, and it also doesn't last very long.
-
you need to try to measure current while the sensor is sleeping as it should be a few uA maximum
-
@gohan I only have a normal multimeter - what's the best way to do this?
I came across https://www.eevblog.com/projects/ucurrent/ a while ago, is it worth it?
-
There is a project in openhardware for a current meter if you want to build one, or you could buy a newer multimeter if the one you have can not measure uA
-
@chbla said in Button size radionode with sensors swarm extension:
multimeter
You should be fine even with a cheap multi-meter as long as it has uA scale.
should be around 7-10 uA and if you do not send JDEC to sleep it is 17 -19 uA.
to send JDEC to sleep\wakeup I use
_flash.wakeup();
_flash.sleep();light sensor should be sent to sleep explicitly also.
-
@yury not really, I have bought an Aneng cheap multimeter, but if I connect it with uA scale selected it will go out of range during node boot and cut the circuit making measurement impossible (unless you do something fancy that would make it unpractical)
-
@gohan said in Button size radionode with sensors swarm extension:
selected it will go out of range during node boot and cut the circuit making measurement impossible
my cheap one survives 20mA surge (RFM69 CW version) of initial communications and displays good reading afterwards. if you burned fuse inside, try replacing it temporarily with some thin wire for this uA tests.
-
I have another cheap one that works. I didn't blow the fuse since turning it off and on it works again, it must be a software limitation
-
@yury said in Button size radionode with sensors swarm extension:
@chbla said in Button size radionode with sensors swarm extension:
multimeter
You should be fine even with a cheap multi-meter as long as it has uA scale.
should be around 7-10 uA and if you do not send JDEC to sleep it is 17 -19 uA.
to send JDEC to sleep\wakeup I use
_flash.wakeup();
_flash.sleep();light sensor should be sent to sleep explicitly also.
Right - but this is all in your sketch right? This is what I used:
https://gist.github.com/solars/a5302f1cb60d90f89d7e37d5e23f8c4d
-
@Koresh would it be possible to sell this without the sensor part and RFM69? How many orders would it need?
I don't have the possibility to produce it myself, don't need the sensors part and have a lot of RFM69s lying around..Thank you,
Christoph
-
I downloaded gerber files.
Error Message from PCB Manufacturer:
The NC drill layer does not match with the pads of copper layer.Thank you,
Attila
-
@anovak
Hello. Do you mean main board or rfm69 adapter? It is very strange. I produced exactly these gerbers many time.
-
Finally I have a little time to continue this project...
High efficient dc-dc converter works nice and double cr2032 are good. Lets go to the furher tests!
-
Thanks. The problem was solved.
Manufactured at very low cost on pcbway, they are manufactured with "Min Track / Spacing: 5 / 5mil".
Do you have any idea where they are manufactured cheaper?
-
New version with double battery holder and power convertor works nice.
Power consumption in sleep mode is less than 9uA
I will test it soon..
-
@koresh You only have two sensors BH1750 and Si7021. Did you try to have all four sensors and measure consumption?
-
Which pcb manufacturer do you recommend?
I asked for a quote from Pcbway but it was expensive.
The reason was:
Change the 'Min Track / Spacing' value from 6 / 6mil to 5 / 5mil.Sorry for my bad English.
-
@anovak Unfortunately you can reduce the price of the board only if you order more boards.
-
What price can be made in 10 items?
-
@anovak if you mean 10K maybe you can have a discount
-
10 would be needed for the current project
At pcbway, the total cost of production and shipping costs is $ 34.
Is there someone who does it at a lower price?
Business account required.I apologize for asking this question in this topic.
What type of transformer do you use and where to get it for the Mini Relay Box?
-
@anovak do you want them completely assembled?
Yesterday I ordered 2 plain PCB's from seeedstudios, cost me 20 dollars incl, shipping. paid more for shipping than for the PCB's themselves.
but for the size, these units are you can get 6 or more in one design.
-
Only PCBs are needed.
-
@anovak I use in mini relay box the same transormer as in wall switch insertable node. Please read this comment https://forum.mysensors.org/topic/3938/wall-socket-insertable-node/57
-
Can we buy it fully assembled and what would it cost?
-
@kenci
Yes, in a week or so. Even with plastic enclosure ))
-
@yury what would the price be for the fully assembled board?
-
@kenci
EUR 18 the board with SI7021 and BH1750. extra 1EUR for enclosure if someone need it.
-
Please link for enclosure
-
@mika Can't find white enclosure now. You can find black here https://ru.aliexpress.com/item/50-28-15mm-black-small-case-junction-box-DIY-electronic-box-instrument-shell-enclosures/32816171702.html?spm=a2g0v.search0104.3.7.695b35fcke4Os7&ws_ab_test=searchweb0_0,searchweb201602_2_10152_10151_10065_10344_10068_5722815_10342_10343_10340_5722915_10341_5711416_5722615_10696_10084_10083_10618_10307_5722715_5711215_10059_308_100031_10103_5711515_10624_10623_10622_5711315_5722515_10621_10620_10125,searchweb201603_25,ppcSwitch_5&algo_expid=82d68252-5f35-47c6-a438-13925ec12b35-1&algo_pvid=82d68252-5f35-47c6-a438-13925ec12b35&transAbTest=ae803_1&priceBeautifyAB=0
-
First batch of the latest version is ready
-
Can you share elemnts for version RFM69HW ? I see only PCB files but i dont know whatr i must have elements...
-
And what is size gold pins ? 2.54 ?
-
And anybody what pin should be wire to activate programming... ? In arduino pro mini is dedicated micro switch. In this dont have microswitch and i want add microswitch. It should be RST connected to GND ? please help...
-
@pepson said in Button size radionode with sensors swarm extension:
And what is size gold pins ? 2.54 ?
Yes, 2.54
@pepson said in Button size radionode with sensors swarm extension:
And anybody what pin should be wire to activate programming... ? In arduino pro mini is dedicated micro switch. In this dont have microswitch and i want add microswitch. It should be RST connected to GND ? please help...
Programming is activated via DTR pin automatically.
@pepson said in Button size radionode with sensors swarm extension:
Can you share elemnts for version RFM69HW ? I see only PCB files but i dont know whatr i must have elements...
Schematic of the first version is available. Will share schematic version of ButtonSizeNode_V2 (with dc-dc) later.
-
But please share a list element what capacity and resistor and other and with what body. Ex 0805 etc.
But for programming i dont need push/wire RST with GND ?
Explaine me how works Programming is activated via DTR pin automatically ??
And what is ButtonSizeNode_V2 (with dc-dc) ?? What is diffrent to v1 ?
-
@pepson said in Button size radionode with sensors swarm extension:
But for programming i dont need push/wire RST with GND ?
Explaine me how works Programming is activated via DTR pin automatically ??
No, no need to connect RST with GND.
DTR works automatically - as soon as you press upload in your Arduino IDE, it starts uploading the sketch to the atmega328p. Simple
-
@pepson said in Button size radionode with sensors swarm extension:
And what is ButtonSizeNode_V2 (with dc-dc) ?? What is diffrent to v1 ?
https://github.com/EasySensors/ButtonSizeNode
https://github.com/EasySensors/ButtonSizeNode2@pepson said in Button size radionode with sensors swarm extension:
But please share a list element what capacity and resistor and other and with what body. Ex 0805 etc.
Will try to share soon. Almost all elements are 0402.
-
@koresh said in [ Button size radionode with sensors swarm extension]>
Will try to share soon. Almost all elements are 0402.
Wow! I have been struggling with 0603 size. You must have eagle's eyes
-
But v2 is also for radio RFM69HW ?
-
@pepson Yes. radio footprints are the same. You can use HW or CW via adapter.
-
Ok please share list components... i wait for it.
And diffrent with v1 and v2 is only that v2 have two batteries ?
-
@pepson Yes. So it have longer lifetime, radio range and working temperature range.
-
Ok thanks. only wait for list component
-
Hi
Can you share your project file and file gerber with this specification
https://support.jlcpcb.com/article/44-how-to-export-kicad-pcb-to-gerber-filesOr can you put description to also file gerber ?
Thanks
-
Description to model elemnts. Ex. U4
-
Please share also layer describe...
Failed load project to production.
-
@pepson said in Button size radionode with sensors swarm extension:
Failed load project to production.
You mixed gerbers of the main board and adapter board.
@pepson said in Button size radionode with sensors swarm extension:
Please share also layer describe...
It is standard. If you really need it you can find layers description here
https://goo.gl/Jv33Lb (Generated Gerber Files)@pepson said in Button size radionode with sensors swarm extension:
Can you share your project file and file gerber with this specification
No I can't. Have no time today, sorry.
-
@koresh said in Button size radionode with sensors swarm extension:
You mixed gerbers of the main board and adapter board.
Can you explaine me more ? What can i do ?
-
@pepson
pcb2.* - main boards gerbers
rfm69c_to_rfm69hc.* - adapter gerbers
You need only main board gerbers
-
Hi @koresh I'm having problems with battery monitor. Trying to find out what's wrong, I have realiced that A6 analog reads from regulator output. So It allways reports 3,3V, isn't it?
Also, I read that unregulated could go up to 6,5V. Wouldn't this destroy radio module? I think I'm missing something.
Thanks.
-
Hi. Do you have unassembled pcbs to sell?
-
@gerator Oh.. so sorry. It is new forum reporting system. Didn't saw your message.
A6 reads unregulated voltage (3.5-6.5V) through divider (1/3). So it can't destroyed nothing.
-
@diogoc I will try to find them. But all of components are 0402...
-
@Koresh I still have a bunch of v1 boards that I never got to work because of power consumption (I presume). I thought I'd make one more attempt.
I tried bridging the jumper and I'm using a 2032 battery. Consumption varies between 2 and 4mA on different boards. On some boards it fluctuates a lot. The instructions above are not immediately clear. Do I have to remove the LDO AND capacitors as well?
-
while measuring current draw , was there FDTI adapter connected also?
-
@yury No I ran them on just a 2032 battery at the time, just had it in an external battery holder. I also removed the LDO on one of the boards and bridged the two top pads, with no apparent effect.
Unless there is something wrong with my DMM.
-
@bjornhallberg I have the same v1 board you have with a sleeping power consumption being 5uA. I also have Si1132 sensor soldered and had some issues with power consumption initially as the standard Si1132 lib did not implement sleep function for this sensor.
- what sensors do you have? Do they properly put to sleep? BH1760?
- can you share the sketch?
- removing the LDO will not help you to bring down consumption from 3mA. 3mA most likely mean your radio is not sleeping. Such consumption will kill CR2032 very quickly - no chance running the board on such consumption
- did you try a different multimeter?
- there could be a problem with one of the tantalum capacitor. @yury could you remind which one has to be removed please?
I suggest you start with 5)
-
@alexsh1 Thanks for the suggestions! Reassuring to know that you succeeded.
- I haven't added any sensors so it's just the default ones.
- https://github.com/EasySensors/ButtonSizeNode ... may need some cleaning up @Koresh or do we use v2 code for v1 sensor as well?
- I thought as much ... damn. I'm using the CW version radio with the adapter plate. I also thought about the radio but unlike the NRF radio this one should work with no counterfeit units?
No my other DMM was out of batteries.Found my old crappy DMM and it says the same, ~2mA.- I did remove both caps and it's still at ~2mA.
You're probably right about something not sleeping. Or else I've done a horrible soldering job on the four radios I've attached so far. All four sensors behave pretty much the same.
Also, at least on Domoticz they changed things around now so you have to use V_LEVEL instead of V_LIGHT_LEVEL or what? https://www.domoticz.com/forum/viewtopic.php?t=18577 With V_LIGHT_LEVEL I get some incomprehensible percent value reported.
-
-
No - please double check the board. There are options for a few sensors. Which ones do you have. Sensors on board.
-
Code really depends on sensors on board you have.
-
This is not about counterfeit radio. Just radio NOT SLEEPING. That's it.
-
OK.
-
OK
First thing first. Let's deal with your sleeping problem.
Identify which sensors you have on board or post a good quality photo of the board.
Try to use minimum sketch (see commends below - choose the correct Mhz band):
and measure the current#define MY_DEBUG #define MY_RADIO_RFM69 // Please use one!!!!!! //#define MY_RFM69_FREQUENCY RF69_433MHZ //#define MY_RFM69_FREQUENCY RF69_868MHZ //#define MY_RFM69_FREQUENCY RF69_915MHZ #define MY_NODE_ID AUTO #define MY_TRANSPORT_UPLINK_CHECK_DISABLED #define MY_PARENT_NODE_IS_STATIC #define MY_PARENT_NODE_ID 0 #include <Wire.h> #include <BH1750.h> //Make sure you are using this one https://github.com/claws/BH1750 BH1750 lightMeter; #include "SparkFun_Si7021_Breakout_Library.h" Weather sensor; #include <MySensors.h> #define SPIFLASH_BLOCKERASE_32K 0xD8 #define SPIFLASH_CHIPERASE 0x60 void setup() { lightMeter.begin(BH1750::ONE_TIME_LOW_RES_MODE); noInterrupts(); _flash.initialize(); _flash.sleep(); interrupts(); } void loop() { lightMeter.begin(BH1750::ONE_TIME_LOW_RES_MODE); lux = lightMeter.readLightLevel(); Serial.print("Lux="); Serial.println(lux); sleep(10000); }
-
Suggested Topics
-
MAX6675
Development • • Mrlynx