Sensebender Micro
-
My first Senseboard is now Up and Running. Have even tested to reinstall the sketch. No issues so far. Thanx for this product.
-
Nice to hear
I have to wait until Monday, before I can pick mine up at the post office.. (they tried to deliver it today, when I wasn't at home, so just left me a note that I could pick it up on Monday)
-
@gol said:
My first Senseboard is now Up and Running. Have even tested to reinstall the sketch. No issues so far. Thanx for this product.
This is not a 'product', this is pure fun
-
Picked up my four devices yesterday and two of them are up and running using the pre-loaded sketch and it works like a charm!
But i have a question regarding the battery level reporting, I can see the following in the code:
// Battery voltage is repported as child sensorId 199, as well as battery percentage (Internal message)
But it seems to only present temp and hum as sensors and no voltage:
gw.present(CHILD_ID_TEMP,S_TEMP); gw.present(CHILD_ID_HUM,S_HUM);
What is it i'm failing to understand? I just setup Domoticz and in there I have not yet got a good way of presenting historical battery levels, it just shows the latest internal battery level message. To get a better understanding on the battery life performance it is necessary to be able to create a graph. I thought I could use the voltage level for this but I can only see the internal message
Thanks,
Henrik
-
That's a leftover from my initial battery monitoring code. It could be re-implemented quite easily, in the battery reporting routine, you could report actual voltage measured, as an extra sensor
(I actually thought that I had removed everything related to the old monitoring code)
Edited
I have updated the sketch for sensebender micro, to include sending battery voltage measurements as a sensor value. This is not enabled by default though, and people need to recompile it, with a #define uncommented.
do a pull from mysensors github, to get the latest sourcecode
-
@hek said:
That's the old A10. It would probably work but A20 has some firmware fixes and more tests performed on it.
I have nothing to say about the price. It is the same as for A20.. As you can see it is the most expensive part on the micro board (30% of it's price).Would you consider a Sensebender Micro Light-version without this component? i mean, if it's 30 % of the price, not available and not imo a critical component (you could always add your own humidity/temp sensors), there are quite a few reasons why a light version would be tempting. At least to me.
Cheers,
Tim
-
@twosh @hek A Sensebender Light would be great is my opinion. Im not looking for these advances futures, only a simple and as cheap as possible board to run on batteries and a temp sensor. Br Andreas
-
Well, it's a temperature sensor, and humidity in one :). If you are going to use other sensor types (DS1820, or cheaper humidity/temperature sensors), you also need to have a booster circuit, in order to boost battery voltage to 3V minimum (as they don't operate on voltages lower than that).
So in the end, you'll buy both booster circuits, and sensors, which will be close to the same price as the Si7021 in the end, to get the same functionality.
And since you (probably) are using a cheap booster circuit from ebay, the battery would not last that long, so you buy lot's of batteries to feed the booster circuitry
But when that's said, we could ask itead if they could make a "barebone" unit, without the Si7021 mounted, and then provide a quote on that type of sensor.
-
Thank you for your answer tbowmo - i see your logic.
But if you want to use it with say, light, motion or another sensor with this board - do I need a booster?
-
I'll add my voice to the requests for a 'lite' version of the Sensebender Micro board. My ideal would be to provide an option without the A20 secure signing IC placed, but leaving the Si7021 in.
Cheers
Richard
-
Well, the atsha204 is only about 0.5$ in price, so the savings will be very little.
@sundberg84
If it's a pure motion sensor then I can see a point in using a light edition. I have requested a quote from itead on a light edition.
-
@tbowmo It was just a thought I came up with and thought to share my idea and arguments.
I think the Sensebender Micro is great especially if you would like to monitor temperatures (which of course many of us wants to), but I just think that a less expensive, light option (that would be available to order... ) could appeal to many. Great that you have requested a quote!
-
Just as a reference, the boost regulators I did, based on the TPS61221, cost something like $1.7, including the (very small) PCB. The TPS61221 is about $1 out of that cost. And I did not use the cheapest inductor exactly. Plus the cost of small volumes and ordering each component individually from AliExpress.
Don't have any testing equipment, and I haven't done any long term tests, but the prototype I did was perfectly able to run a mysensors node, including the motion detector module, and a small buzzer, on just one AA battery.
Not to say that I also wouldn't like pads for the Si7021 at least. It's a damn fine chip, hence the cost.
I think that in the long run, we should think about some sort of mini shield system where a base board can be extended, so (almost) everyone can get what they want. At the expense of bulkier designs, but it would be a choice for the end-user and everything comes at a cost anyway.
-
Got mine yesterday (Switzerland)!
I really like the design of the board. Only improvement I wish: integrated NRF24L01+
-
@tbowmo, ah, sorry misunderstanding then. I thought it was the atsha204 that was contributing 30% of the cost, but I guess it's the Si7021, which is rather useful to have!
-
Was anybody able to track the Micros. My tracking said it left HongKong on 04.06.2015 and I am wondering why you already received your items.
-
@gloob
same here. Has left on 04.06.2015 - no more info. Also on local post service (link below on hk post) no entry.
As I live in Germany and the post is on strike and our customs work with "german gründlichkeit" I dont expect it to arrive too fast...
-
Mine came in this Monday. One of them has been running since.
It is a tracked mail/package so Itead probably has the number somewhere.
-
@hawk_2050 said:
@tbowmo, ah, sorry misunderstanding then. I thought it was the atsha204 that was contributing 30% of the cost, but I guess it's the Si7021, which is rather useful to have!
Yup it's the Si7021.. It's about 5$ in low quantities from Mouser (Think that itead has a better source thouǵh)
-
I received mine today. I would be interested in a lower cost version as well that doesn't include the temp & humidity sensor.
Cheers
Al
-
Hello,
Can some one measure the real power consumption of the sensebender with the default sketch (humidity, temperature, battery level) running and the nrf24l01 module?
Would like to get an idea of home many µA are used in active mode and how many µA in sleep mode the sensebender is taking.
-
Lucky yous, I am still waiting for delivery in Canada.
Looks as though it will be next week as Friday mail has past.
-
Still waiting here on the East Coast...
-
My two have arrived, up and running in Domoticz as WTGR800 temp + hum.
-
Jus measured power consumption:
44.66 µA - when sleep
between 11mA and 14mA when transmitting (every minute, default sketch)I was using my Fluke 287.
-
and graph...
-
My order arrived in the US midwest today (shipped from HK on June 3). I hooked one up to a CR123 to test and it worked right out of the box. I do not know much about battery operation and have a question about the battery monitoring - Do I need to alter the sketch for the CR123 vs the original 2 x AA? Or a 3V coincell?
-
Just measured mine using a uCurrent and I get the same figures with an genuine NRF24L01 and what I thought was a NRF clone...
45µA at sleep and about just above 10mA when transmitting.
Mind the mess...
-
I like the wallpaper. but how do you like your scope? I consider buying one myself
-
The scope works great. But I would really need attend some sort of oscilloscope course. Soo many buttons and functions. I get lost sometimes
-
I'm still waiting for my delivery in germany. I hope that it will arrive soon.
Currently I think it is stuck in customs as many others received the items already from china.
-
Got them last night in Canada.
-
I'm still waiting in germany, customs in this country have "Deutsche Gründlichkeit". Sticking their Nose in every bullshit ;-).
So still waiting .
Greets Stefan
-
Received mine yesterday.
-
In Domoticz I also see sensors hemidity and sensors temperature with the type LaCrosse TX3. Does anyone know what they are?
-
I think that occasionally, domoticz only get the temperature, or the humidity in a single transmission, and then decides that it's another sensor type and therefore create a new instance for it.
Sensebender always sends both temperature and humidity readings together (in two different messages, as it's two different sensor child ids that is used).
-
How many would be interested in a Sensebender Micro LE (light edition), and how many units would you buy?
The Light edition would be without Si7021, and external flash.
I do not have any prices yet, as we need to have some expected sales figures to give to our partner. We need batch sizes of at least 100 units (preferably larger like 200) otherwise setup fees, etc. would eat away on the savings from removing the components.
-
@tbowmo said:
How many would be interested in a Sensebender Micro LE (light edition), and how many units would you buy?
I would take 3-5 depending on the prize.
-
@tbowmo It's really going to depend on the price. It would have to be a significant savings to drop the Si7021 and Flash for me.
-
@korttoma @ServiceXp
I haven't got any numbers from itead, but from the prices that I get from mouser, we could probably save around 4$ if we skip Si7021 and external flash.
This is still more than the cheap mini clones etc. but the problem here, is that we are running in low volume batches. The setup fees for each batch is rather high, and this has to be divided out on each board in the batch.
-
@tbowmo For me, 4 bucks is NOT worth it.
-
@ServiceXp @tbowmo - Agree not worth bothering for $4
Ive ordered 4 units in 2nd batch...
-
Ps. Main page at http://www.mysensors.org/hardware/micro still says preorder but when clicking through imall has in stock.
-
I ordered another couple a few days ago.
-
We don't get notifications from itead, when they change the status in their shop.. So we have to check it ourself..
-
update: I got my 3 pcb from pre-order today (germany) and it works fine - really great design!
-
@tbowmo I wanna say Thank You again. I really love how small this sensor is. You did a great job!!!!
-
I have mine up and running @tbowmo this is great thank you also.
Now to learn how to graph my results.
-
I have mine up and running and MYScontroller sees them.
i'm trying to send and OTA to these devices. but it doesn't seem to be working.@hek can you confirm these came with the correct bootloader to do this? i thought i read in the start of the thread it would.
when i try to send a OTA nothing happens.
anyone have this working that can comment on what needs to be done to get it working?
Thanks!
-
The OTA->flash requires sketches running library code from the development branch (which it isn't currently). The boards comes preloaded with the correct bootloader that supports moving firmware from flash->program memory at boot-time.
But something must load the flash over-the-air also. This requires that you:
- Compile the sketch using the dev-branch
- Enable MY_OTA_FRIMWARE_FEATURE in MyConfig.h
- Keep node awake
- Call gw.process() in loop-section (which handles the fw-update-commands in the background and resets node when a new firmware has been uploaded).
Now that I have received my board I can actually test this code I wrote a while back:). I hope it won't bee too many bugs in it.
But note that the default temp/hum sketch on these boards sleeps most of the time it wouldn't hear the fw-update requests anyway. It would probably be better to use this feature on boards that always is awake.
For more information on what is actually happening in gw-process you can look at the code that was added in this push:
https://github.com/mysensors/Arduino/commit/3a59929b8ed8e1fca9876031264db5d6626876ff
-
@hek said:
A->flash requires sketches running library code from the development branch (which it isn't currently). The boards comes
thanks for the info. I was hoping i wouldn't have to connect up my programmer.. oh well.
-
I guess these can't be programmed, if my programmer doesn't have a DTR line?
was hoping OTA would work
I'll order a new programmer any way, but if there is any other way let me know.
I tried starting it in test mode. but that didn't work
-
It's using a standard ftdi header, as used in the arduino mini pro.
About the testmode, you should hold A0 to GND, while applying power to the unit. Then it starts spewing data to the serial port.
-
Just recieve my 5 sensbender today. Workin fine after some problem with nrf24L01 and Arduino uno (+3.3V doesn't work)
-
It's almost too easy to setup a sensor network (for temperature and humidity) now.
solder a socket for the NRF module, a battery holder. Plug in the NRF module, put batteries in, and you have a sensor online. (I have 3 sensebenders from tiead online at the moment, together with 2 prototypes). Need to get some more battery holders, before I can make more sensors now.
-
@tbowmo said:
It's almost too easy to setup a sensor network (for temperature and humidity) now.
I agree! I ordered 4 from the second ITead batch (I let others get their hands on the first batch because I already had a couple OSHPark deployed) and had the first sensor up and running in no time! Great job and contribution to the MySensor's community!
-
Thanks.. It's actually kind of fun, when I see that things I have created, actually brings value to other people.. Always been a driving force for me (no matter what I have had my hands in, whether it's software of various types,VHF radios for ships, mobile phones, bluetooth headsets, or sensor modules )
-
@tbowmo said:
It's using a standard ftdi header, as used in the arduino mini pro.
About the testmode, you should hold A0 to GND, while applying power to the unit. Then it starts spewing data to the serial port.
I had meant that i put it in test mode to try and program it.
getting it in test mode worked. i could see the led blinking.however when i gave up and put the radio back on and turn it on, i guess it had actually taken my upload.
it was reporting in F now.
so i know the DTR does the auto reset, i guess upload works, but no reset and/or completed msg in the IDE.i ordered a new programmer anyway with DTR.
-
Hi,
I've received some boards and all working good.
I'd like to upload a new sketch to the Sensebender Micro board and I'm attempting to do this via the FTDI FT232RL USB to TTL serial converter adapter that I purchased here (http://www.ebay.co.uk/itm/221552218333).
Could someone kindly confirm the pin to pin mapping between the FTDI board and the Senseboard Micro as when I attempt to upload I receive the message:
Programmer Type : butterfly Description : Atmel AppNote AVR109 Boot Loader Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
I'm using Arduino 1.6.5 running on Windows 8.1 (inside parallels on a Mac).
Any ideas?
Thank you
Nutz
-
I usually use the GND pin as a guide.
What happens if you run Arduino IDE directly in your native OS?
-
Thanks @hek. I've had to run Arduino on Windows before because of compatibility issues with certain chip sets on Arduino boards and I didn't fancy running unsigned drivers on my Mac to resolve... I'm able to upload sketches to other boards with no issues.
That said, I've updated Arduino to 1.6.5 on my Mac and have attempted to upload the default Sensebendermicro.ino sketch to the micro with a similar error:
Arduino: 1.6.5 (Mac OS X), Board: "Arduino Micro" Build options changed, rebuilding all Sketch uses 26,414 bytes (92%) of program storage space. Maximum is 28,672 bytes. Global variables use 799 bytes (31%) of dynamic memory, leaving 1,761 bytes for local variables. Maximum is 2,560 bytes. Found programmer: Id = "�d��b�"; type = F Software Version = �.�; Hardware Version = �.� avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device? Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
With verbose output enabled:
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/nutcracker/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cu.usbserial-A50285BI Using Programmer : avr109 Overriding Baud Rate : 57600 AVR Part : ATmega32U4 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 1024 4 0 9000 9000 0x00 0x00 flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00 lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : butterfly Description : Atmel AppNote AVR109 Boot Loader Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Nutz
-
@nutcracker said:
Maybe it isn't
a butterfly/AVR109 but a AVR910 device?Is your programmer setting in Arduino IDE set to "USBasp"?
-
Hi @hek, I've never had to change the programmer setting before... I've changed it to USBasp and re-uploaded but same error. I've always used the menu options Sketch=>Upload to upload a sketch to the board. Should I be using Sketch=>Upload via programmer for this micro board ? If so, that fails too but something to do with it not being able to find the USB device.
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/nutcracker/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : usbasp avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp' avrdude done. Thank you.
Nutz
-
Hmm. I think I understand what the problem is now. You've selected the "Arduino Micro" board. Not our "MySensors/Sensebender Micro" .
Did you follow the instructions here?
http://www.mysensors.org/hardware/micro-ide-setup
-
Thanks @hek, I also realised my mistake once I retraced my steps...I hadn't scrolled down fully on that screenshot that shows the Sensebender Micro board... I think what through me is that screenshot also shows a "dot" against another board - the Arduino Micro board...and I was selecting that... duh! (may be worth changing the screenshot? ;))
Anyway, thanks for your help...sketch uploaded perfectly after that!
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf" User configuration file is "/Users/nutcracker/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cu.usbserial-A50285BI Using Programmer : arduino Overriding Baud Rate : 57600 AVR Part : ATmega328P Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PC2 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : Arduino Description : Arduino Hardware Version: 3 Firmware Version: 5.0 Vtarget : 0.3 V Varef : 0.3 V Oscillator : 28.800 kHz SCK period : 3.3 us avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.00s avrdude: Device signature = 0x1e950f avrdude: reading input file "/var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex" avrdude: writing flash (23678 bytes): Writing | ################################################## | 100% 8.84s avrdude: 23678 bytes of flash written avrdude: verifying flash memory against /var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex: avrdude: load data flash data from input file /var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex: avrdude: input file /var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex contains 23678 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 9.94s avrdude: verifying ... avrdude: 23678 bytes of flash verified avrdude done. Thank you.
Cheers!
Nutz
-
Ah... there is a dot in the menu-image. Will update it. Thanks.
-
@hek Interesting.. I didn't know this.. I used the standard Pro Mini 3v3 and it worked...????
-
Received my Micros today. Luckily there was no custom and a lot of pins to solder. Can't wait to solder them on wednesday on work and test them.
Is there any instruction how to solder everything? On which side the radio module needs to be soldered.
-
-
I hope this question has not been answered already and I did not miss the answer. I was thinking about connecting a motion sensor to this and was hoping that one of the digital pins supports an interrupt. Is there an interrupt available?
-
D3 is available on the side-pins. D2 is routed to the radio but can be used with some hacking.
-
@gbfromhb said:
I hope this question has not been answered already and I did not miss the answer. I was thinking about connecting a motion sensor to this and was hoping that one of the digital pins supports an interrupt. Is there an interrupt available?
I'm planning to do the same thing.
i ordered my 5v step up regulators to support the PIR sensor.
although I hope adding the motion isnt going to kill the batteries.
-
@mvader
I have so far had no problems running my PIR sensors at 3.3v with the following hack.http://techgurka.blogspot.com/2013/05/cheap-pyroelectric-infrared-pir-motion.html
You can not do this with all PIR Sensors from what I understand, but one of the ones listed in the MySensors store is what I've been using. Go down to the bottom of the article.
-
@Hek
Thanks, I saw the D3, but I'm new enough to this adventure that I was not sure if I should have assumed that it also had an interrupt like all the other boards.
-
I tried to keep the naming, and pins on the atmega, the same as an ordinary arduino
-
@gbfromhb said:
@mvader
I have so far had no problems running my PIR sensors at 3.3v with the following hack.http://techgurka.blogspot.com/2013/05/cheap-pyroelectric-infrared-pir-motion.html
You can not do this with all PIR Sensors from what I understand, but one of the ones listed in the MySensors store is what I've been using. Go down to the bottom of the article.
wow.. nice.. thanks for the info! I will give this a go asap.
-
Hello,
I have one more question. Is it possible to power the micro from the ftdi pins? I would like to use jumper wires.
-
Yes it's possible to power it from the FTDI pins, if you want to..
-
Are there any recommendations for a low power temperature, humidity sensor regarding the update cycle.
Currently I plan to wake up the sensor each 10 minutes instead of each 1 minute to update the values. This should increase the duration of the battery. A complete update of all values if performed each 30 minutes as usual.
-
I would probably choose 5 minutes interval instead.. I have updated the sensebendermicro sketch tonight (just waiting for @hek to approve it). so it holds of on the transmissions a bit. Now the temperature needs to change more than 0.5 degrees from the previous transmitted value. OR
humidity needs to change more than 0.5, measured with a moving average. OR
30 minutes since last transmission.
-
I found that when I power the micro from 2 batteries I get the following error:
T: 23.21 H: 50 send: 104-104-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:23.2 send: 104-104-0-0 s=2,c=1,t=1,pt=2,l=2,st=fail:50
This does not happen when I power it from the FTDI programmer.
Does anybody have any ideas?
The batteries have a voltage of 3.25VI did not have this issues with my arduino nano sensors. and i did use the same radio modules.
When I check the modules they seem to be real nrf24l01+ modules:
STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0 RX_ADDR_P0-1 x00 = 0xe7e7e7e7e7 0xf0f0f0f0d2 RX_ADDR_P2-5 x00 = 0xc3 0xc4 0xc5 0xc6 TX_ADDR = 0xe7e7e7e7e7 RX_PW_P0-6 x00 = 0x00 0x20 0x00 0x00 0x00 0x00 EN_AA = 0x3f EN_RXADDR x00 = 0x03 RF_CH = 0x4c RF_SETUP x00 = 0x07 CONFIG = 0x0f DYNPD/FEATURE x00 = 0x00 0x00 Data Rate = 1MBPS Model = nRF24L01+ CRC Length = 16 bits PA Power = PA_HIGH
-
I have a batch of 5 sensebender and actually I build 3 and one of them doesn't work properly. Lot of st:fail when I put my finger on the board it works better so I try to make all solder one more time but it's not ok. I try with few radios and same radios work well on the others sensbender.
Any idea or way to exchange with Itead ?
-
Where exactly do you put your finger on it, in order to get it working?
-
It's the same power rail (FTDI, and the battery connector). What do you supply the board with, thru the FTDI header?
-
@tbowmo difficult to answer this question. It seems to be on Atmega but after trying to resold it's not better. I resol capacitors, resistors ... I don't know what to do now ...
-
-
current when powering on : 20 mA and during sleeping about 20uA (not very accurate).
-
Have you tried to add an extra capacitor to the NRF module, on the one that's bad? (Could be your finger adds a bit more capacitance, I know it's a wild guess but just trying to think out loud)
-
Ok but wich value ? I just finish to solder my 4th sensebender and ok too.
-
Does the failed messages reach their destination (gateway in your case)? As you might know it is the ack that never reaches the sensbender node which could be a result of power issues on the gateway side.
-
no, message are not recieve. I find someting :
When I touch the NRF24 antenna (just a little it sifficient), it works. fine.
Strange, same radio on other sensebender doesn't need this and other radio on this sensebender need to bo "touch".
I try with 10uF additionnal on NRF but no change ...
-
Do you use a socket or is the NRF module directly soldered onto the sensbender?
(a bad connection in socket could be a problem... and when you press NRF module it has connection again)
-
Yes it's directly sold (and very hard to change with metallised hole). I will give a last try with another radio ...
-
Ok end of story ... sensebender card is dead ! 2 metallized hole were destroy by solder/unsoldering NRF modules.
Hope my last Sensebender will work. And if there is a batch with light version I will reuse T/H sensor
-
@Fabien it seems that you have the same problem as me. I ordered a new set of radio modules to test if it is the fault of the radios. I will give feedback here about my progress.
I aleady tried to add capacitors on the radio module but this did not help.
There is also no difference if I power the micro from the FTDI or the battery connector.
-
Unfortunately I don't think there will be a light edition coming out at the moment. Currently the savings is way too small (I'm estimating a savings of 4-5$ compared to the full sensebender edition).
-
Here are some quite nice repair guides
http://www.circuitrework.com/guides/guides.shtmlMore specifically
http://www.circuitrework.com/guides/5-1.shtml
-
@gloob it's not a radio problem. Same radio works on the others boards.
@hek I will try to repair the board ...
-
looking for some help programming this thing.
I had a pl2303 usb programmer, but it had no DTR, so i orders a new usb programmer
this one is a cp2102 with a DTR line.
but still the same problem. it never uploads the code.
i have the right board, processor and port chosen.
i have tried all the programmers in the IDE but none work.
it just says "uploading" and then eventually errors out.
any suggestions?EDIT: nm i read something about switching tx and rx and i figured what the heck and surprise it worked..
sketch uploaded..
-
Hi @tbowmo
Thanks for bringing this great project to the community.
I'm trying to understand the sensebender's power profile, especially the sleep current.
I have previously done some measurements with the atmega328p (pro mini) + NRF. In addition to that I have also looked at the datasheets for the other components on the sensebender.
It seems the theoretical low sleep current consumption is something like this:
* nrf24l01+ 900nA * atmega328p 5uA (with WD) * si7021 60nA * atsha204 30nA * at23df512c 300nA = Total 6.3uA
The SBMicro seems to draw ~50uA in sleep mode with the default configuration.
I managed to put the flash memory into "ultra deep sleep"(*), causing the total consumption to drop to ~27uA. So there is still around 20uA that is not accounted for.
I've also tried putting the atsha204 into sleep, but that did not make any difference (also confirmed by the specs).
Are there some other settings/sleep modes that have not been enabled yet? What about the atmega itself?
Do any of you have the a sensebender prototype with separate components, and can test sleep current by removing components one
by one? (Before I start cutting traces on my own sensebenders in order to zero in on the target component).Is there something I'm missing?
Datasheets:
ATSHA204
AT25DF512C
Si7021 A20(*) in setup(): flash.initialize(); flash.ultra_deep_sleep() <- From datasheet