๐Ÿ’ฌ Easy/Newbie PCB for MySensors



  • I'm using Arduino mini pro 3.3v to which I removed led and regulator, battery boster and tamper on batt.
    I attach the photo
    alt text


  • Hardware Contributor

    @fabix68 should work just fine.
    Whats your issue? Any serial output?



  • Now, with the capacitor on the VCC, it seems to work, even if the range is smaller. It will be to evaluate the battery life


  • Hardware Contributor

    Hello, don't waste your CR2032 yet, as it is now you will be lucky to last a few days ...

    CR2032 and other lithium cells with the same chemistry have a strong internal resistance. It means the more current you draw from them, the more energy you will waste because of this internal resistance. It makes the voltage drop and it means your battery booster will need more and more current to maintain the output voltage = vicious circle with more and more energy wasted.

    Your solution is not to add a battery booster but to use another sensor that will be able to run at low voltage: BMP180/BMP280/BME280 or SHT21/SI7021. They have a very low power consumption (unlike ds18) and will accept Vcc voltage below 2V. I would suggest the SHT21/SI7021 as it's easier to use and will go in sleep mode between measurements without any action from you.

    Without battery booster you will also have a much increased range as the booster generates a lot of noise that perturbates the radio.
    You will also need to:

    • add a big capacitor (at least 100ยตF) in parallel with the battery to ease out the current peaks
    • remove the voltage regulator as it's still on your pro mini at the moment
    • adapt your sketch to sleep (with 200ms you should be ok) between all consecutive radio calls. Don't forget to do it in the presentation method as it's the most sensible part, before it's called the library has already done many radio calls that made your battery voltage drop. You should begin the presentation method with a sleep.
    • update the fuses on your pro mini to remove the BOD which is by default at 2.7V and will limit the total power you will get from the battery
    • use a brand name cell, the cheap chinese no-name cells will have much lower real capacity available, voltage will drop much faster.


  • @Nca78 said:

    SHT21

    Nca78 thanks for the reply.
    I did not know the SHT21 sensor, it looks like a good alternative also DHT22.
    I've already added a capacitor and view the trace output with the oscilloscope, it is clean, why not explain the decrease in range.
    With regard to the program, has been provided for the sending of data every 5 minutes, if it changes from the previous value, to then return to sleep.
    I never tried to change the fuse on the PRO. I believe that this is the solution. Run it at minimum frequency, remove the BDO so you can also remove the battery booster.



  • I am wondering on the Rev 8 boards how much room there is around the outer mounting holes to drill them a bit larger? Is this just a dual layer board or are there other sandwiched layers in it that might be affected if I drill them larger?I have been trying to find a decent way to mount these and stack them with other boards, but I'm not having much luck. The project I am working on right now is a revised board for my garage door controller and I have my power supply circuit on a piece of proto board and I want to stack the newbie PCB on top of it, but can't find standoffs that small, and I am having real trouble even finding screws that will fit the holes. Has anyone done mounting of these? If I can find screws and mounting hardware that will work without having to drill the holes bigger I am all for it.


  • Hardware Contributor

    @dbemowsk said:

    I am wondering on the Rev 8 boards how much room there is around the outer mounting holes to drill them a bit larger? Is this just a dual layer board or are there other sandwiched layers.

    Its a dual board - drill as much as you want, you can see all traces. In my upcoming rev the holes are bigger. I have recieved this feedback and are improving this.



  • @sundberg84 said:

    In my upcoming rev the holes are bigger. I have recieved this feedback and are improving this.

    what should be on the next rev ?


  • Hardware Contributor

    @Lior-Rubin Changelog so far:

    • Bigger mounting holes 2.5mm
    • IRQ Jumper from Radio. This makes this trace disabled and D2 can be used for interupts unless jumper is connected.
    • BAT and REG jumpers changed positions for better tracing.
    • MysX 2,6
    • Text on voltage regulater (Vout/Vin/Gnd)
    • Bug with G on CAP now on the right side.

    Release and if there will be more things added I dont know.
    Any suggestions?



  • @sundberg84

    In power input I would suggest moving GND to the middle of VCC/RAW so you could using a 2 pin block for GND/RAW like what is shown in post 205. Might cause tracing issues though for you.


  • Hardware Contributor

    @Qu3Uk - its a good suggestion.
    I will se what I can do.



  • @sundberg84 I may suggest the following:

    • place for Temp\Hum sensor
    • place for Light sensor
    • ability to use AC to DC (3\5v) in the board
    • ESP8266 option rather than Arduino (maybe 2 versions)
    • TX\RX connection or FTDI connection


  • I had mentioned this before, but the electrolytic capacitors wer put in the design using a ceramic capacitor designation which doesn't allow room for correct placement of capacitors. The main one is the one near the radio. The pads for the cap are spaced too far apart for a small electrolytic, and they are too close to the connector requiring that the capacitor leads be bent toward the radio connector to be able to get it to fit.


  • Hardware Contributor

    @Lior-Rubin @dbemowsk - thanks you for the suggestions. I will take them into consideration!

    Im not sure I will implement everything because the main purpose of this PCB is to keep it SIMPLE. Its a newbie/easy PCB and to many components and/or other things will make it hard for new members to use.



  • @sundberg84

    I agree with sundberg84 here. Would it be nice to have those other features? Sure, but then you're limited to what else you can do. This is a GREAT board for many/most sensors around the house. And in regards to light or temp/hum, in my experience it's better to have these detached and in better location for detection while keeping "main" board. more out of sight.

    I'll post up some pics of my builds for ideas, but I've built sensors with temp/hum, temp/hum/motion (both battery powered running for over 7 months) and my latest a Neopixel multi strip driver for kitchen cabinets using 5v regulated power. And I haven't had any issues with the cheap through hole ceramic caps for .10uf or the electrolytic caps for 4.7 or 10uf sizes on this board



  • @rchamp

    Only issue I've have was with resistor to D3 which I don't use. My first board I put a resistor there and when doing a trace noticed I was constantly getting regulated 3.3v and it fried my dht11. Might Have been I interpreed the purpose of it wrong as I am new to electrical engineering, but I digress. I just power the dht of of vcc and gnd in prototype area and wire sensor outpUT directly to D3 breakout. No resistor.

    My biggest challenge is finding/building quality quick connects for quick changes and mods /addons. I've reverted to Barrel connectors as they're easily available and can get pigtail versions and panel mount Versons easily



  • I too agree with @sundberg84 and @rchamp. You ask for a spot for all these different sensors, well it has it with the small proto area. If you make it specific to certain sensors you are limiting it's flexibility. the proto area as it sits is big enough, if I want to put a temp/humidity sensor, light sensor, motion sensor or whatever else, I can wire the connectors in the proto area. If anything, I might say to make that proto area even one row bigger in each direction to give a tad more room for maybe resistors or capacitors that may be needed for some sensors. May give a little more flexibility for if you wanted to do a multi sensor board.

    @Lior Rubin, you said "ESP8266 option rather than Arduino " did you mean "ESP8266 option rather than nRF24"? Also,why would you need to put an TX/RX or FTDI connector. IF you use pro mini , it has the FTDI connector on it already.



  • @sundberg84 I hit this post again today with the intention of finally biting the bullet and buying some boards - but then I saw your notes about the next revision of the board. Could you tell me when you're expecting to release that? Is it worth me waiting a while?

    Thanks!


  • Hardware Contributor

    @velkrosmaak - I dont know - im in the middle of another project and it wont be any bigger changes.
    See the changelog above.
    Only thing that can matter if you planning to do a project with 2 interupts that need D2 and D3,



  • @dbemowsk said:

    @Lior Rubin, you said "ESP8266 option rather than Arduino " did you mean "ESP8266 option rather than nRF24"? Also,why would you need to put an TX/RX or FTDI connector. IF you use pro mini , it has the FTDI connector on it already.

    I meant to use the ESP8266 option rather than the pro mini+nrf24. So to transfer the sensors to use IP and not radio.

    for the FTDI, the connection on top of the arduino board is hard to connect because of the terminals.



  • @Lior-Rubin said:

    I meant to use the ESP8266 option rather than the pro mini+nrf24. So to transfer the sensors to use IP and not radio.

    for the FTDI, the connection on top of the arduino board is hard to connect because of the terminals.

    As for the FTDI connector, you have a few options. You can switch the right angled header pins for straight ones and plug in vertically. Option 2 is to mount it reversed pointing away from the terminals. Option 3, which is what I do, is to mount the Pro Mini with female header strips on the board. The ones that I use bring it up high enough where the FTDI connector clears the terminals if I use them. Doing it that way gives you the added benefit of being able to remove the pro mini and swap it if there is a problem.


  • Hardware Contributor

    @sundberg84 said:

    Only thing that can matter if you planning to do a project with 2 interupts that need D2 and D3,

    Even for that the current version is not a big problem. Just cut or unsolder the interrupt pin on the NRF24.



  • Hi
    Do anyone have a working sketch for a 2xAA battery powered DHT22 with Mysensors 2.0 that works with this pcb rev.8 ?

    //PT


  • Hardware Contributor

    @pettib - almost ๐Ÿ˜‰ https://github.com/sundberg84/MySensors2.0.0/blob/master/UVSensor/UVSensor.ino
    This is a UV sensor - so everything else works. Just exchange the UV code for DHT22 code.



  • Thanks. I will try this.

    //PT



  • Hi guys!

    Any suggestions as to why my voltage on 3.3 is either battery voltage (if BAT is short circuited) or 0v if BAT not short circuited. I have the same problem on two boards so I guess Iยดve done the same mistake twice and that itยดs not H/W error.. This means the radio doesnยดt work unless I have brand new batteries or hook it up to USB for programming..

    0_1480076010564_20161124_204635.jpg



  • @ChrisW, I am assuming you are using 3.3v nanos. What are you using for batteries? Where are you measuring your 3.3v? I am assuming that you are measuring it on the radio on pin 2. When using the power booster at 3.3v, first measure the output power of the booster at the pin closest to the RAW input. If you have your 3.3v there, then you need to add a jumper to the regulator pads since you are not using a 3.3v regulator (below the 0.1uf and 10uf capacitors) for the radio. That jumper needs to go between the 2 pads near the flat edge of the regulator silkscreen. You can also jump the lower two pins from the BAT and REG jumpers, that does the same thing. This jumps your 3.3v over to the radio power in. DO NOT put a jumper across BAT. Adding that can ruin your radio if you put more than 3.3v on your PWR in from your batteries. The nRF24L01 radios are sensitive to the power applied to them.


  • Hardware Contributor

    @ChrisW - im sorry, Im dont really understand you - english isnt my first language, could be why.
    Could it be a short somewhere? and booster is mounted in the correct way? Please describe some more and answer the questions @dbemowsk asked and im sure we can figure it out.



  • @dbemowsk , yes I am using the 3.3 nano.
    Iยดm using 2 regular AA batteries 1,5 V. I am measuring on VCC for radio, which should be boosted to 3.3V.
    VCC on the left pin layout is 3.3, the 3.3-pin is same as battery.

    Booster output is 3.3V.
    I was unaware of the need for voltage regulator to the radio - since Iยดm going with 3.3 all the way I never realized this. Thatยดs probably the culprit right there.

    Iยดll try your suggestion tomorrow and see if it works out. Thank you for your time.

    @sundberg84 , det รคr OK, det รคr inte mitt fรถrstasprรฅk heller.. ๐Ÿ˜‰
    Tack fรถr ett bra nybรถrjarpaket - vรคldigt enkelt att fรฅ ihop en bra hobbysensor!
    Jag misstรคnker att det รคr som dbemowsk sรคger - att jag skulle haft en booster till radion ocksรฅ.


  • Hardware Contributor

    @ChrisW - Hi! (Writing in english so all can understand, รคven om det inte behรถvs ๐Ÿ™‚ )

    When you are using 3.3v pro mini and booster with BAT jumper it should not be 3.3v over the radio. This is because the booster generates alot of noice and the radio can handle down to 1.9v without any issues. This is how the PCB was designed due to learning by doing. The radio uses what comes raw from the batteries without booster. Evreything else on the PCB is boosted.

    If you are using 2xAA you should be able to run the it beteen 1.9V and 3V (which is most of the batteries since the voltage drops pretty fast below that).



  • @ChrisW said:

    I was unaware of the need for voltage regulator to the radio - since Iยดm going with 3.3 all the way I never realized this.

    That's what I was trying to explain. You do not need the regulator, but the board is set up to use one in the event that you might use a 5 volt nano. That is why I mentioned adding the jumper wire. That is to jumper the input and output pins of where the regulator would normally go IF you were using a 5 volt arduino.
    regulator jumper placement

    EDIT:
    @sundberg84 I think we were typing messages at the same time. I did not realize that the radio could run at that low of a voltage. My method jumps the boosted 3.3 volts over to the radio. Shouldn't adding the 0.1uf and 10uf caps attenuate the noise from the booster when jumping the regulator pins?


  • Hardware Contributor

    @dbemowsk - What I know the booster generates ALOT of noice and are really dependent of the quality of the booster. They are expensive as it is and if you buy the china ones its a big risk you get disturbance to the radio even if you use caps!

    I would not recommend to jump the boosted voltage to the radio. It might work in some cases (depending on the hardware) but there is a risk doing it.

    Some boosters even generate so much noice that even if you havent it connected directly to the radio it doesnt work.



  • Hiya Sundberg
    I think Im having boost converter noise issues from a dodgy ebay batch.
    I have soldered up 11 of your boards to date and two are real flaky.
    Aside from swapping out the boost converter is there a way to reduce the noise? 0.1UF cap across the radio power/gnd pins? Or across the GND and output pins of the booster itself?
    They are kind of expensive so dont want to bin them if I can bodge up a fix...
    Thanks,
    Matt


  • Hardware Contributor

    @Matt - Hi!
    This issues has been addressed in the thread before, see if you can find it.
    I have had luck with a 0,1 ceramic cap on the booster from out to GND. There is more advances methods to reduce noice which I haven't tried but you can read about them above in the thread somewhere. As you said they are a bit pricey but some boards have I just not been able to fix due to really bad booster and scrapped.



  • @sundberg84 Hiya yep found it, starts with your post 30th June 2016.
    To be honest its a bit over my head, inductors. ferrite beads etc. A picture of what to solder where would help.
    I did try to 0.1uf cap across OUT and GND but the things still only work for a minute then go silent.
    I will desolder existing booster then add a jumper from vin to vout to see how stable they are with a good solid battery supply.
    If they are reliable I will order some more boosters, but it seems a bit hit and miss as to reliability...
    Unless someone can post a pic or explain (for dummies) how to filter the booster effectively?
    I should pull out my scope, which involves tidying my workbench, not a task I undertake lightly....

    Thanks,
    Matt



  • Have been doing some investigation of the boost converters, just with my DMM, which doesnt have frequency function.
    However it can measure ac ripple. On the working boosters there is a ripple amplitude of around 0.02V. On the flaky ones its anything from 0.03 to 0.05V. So this makes it easy for me to test to converters before comitting them with solder.



  • @alexsh1 I know its a bit historical but could you post a pic or explain how you connect the lc-filter to the boost converter? Having issues here, 0.1uf cap didnt help...
    Thanks....


  • Hardware Contributor

    @Matt - It was some time ago now i experienced with this... but something like this:
    0_1480492998281_1.JPG and to be hones maybe it was from ground (middle pin) to vin (left pin)... try both, cant do any harm. As I said - in most cases it works... I buy 10 and 10 batches and around 7-8 works good enough.



  • @sundberg84 thanks, that is how I have soldered the 0.1uF cap but it hasnt improved things.
    I was hoping @alexsh1 would be happy to chip in here and show me how to solder the 220uf cap and 3.3uH choke?


  • Hero Member

    @Matt Take a look at link text



  • @AWI hey thanks! I especially like this
    0_1480738566004_lc-filter-circuit1-300x281.jpg

    Although.... Something tells me L should be in series on Vout, sureley if it was between BAT and 3.3 voltage weird things would happen....
    Might be time to finally try to figure out how to use that cheap old scope in my garage...
    Also, as it happens, am just getting in to RC stuff (well for my son, but you know...)


  • Hardware Contributor

    I have now updated this to Revision 9!

    • Bigger mounting holes 2.5mm
    • IRQ Jumper from Radio. This makes this trace disabled and D2 can be used for interupts unless jumper is connected.
    • BAT and REG jumpers changed positions for better tracing.
    • MysX 2,6
    • Text on voltage regulater (Vout/Vin/Gnd)
    • Bug with G on CAP now on the right side.
    • GND and VCC swapped - so you could use a 2 pin block for GND/RAW as well.
    • Capacitor to filter the booster output more (optional)

    Please wait for PCB house to update to new gerber files before ordering (It should say M.Rev 5 (Manufacturer rev 5) for lastest revision when selecting PCB house)
    I have not yet tested this rev... but no major changes so it should be pretty safe.
    If you want to be 100% sure, download and order Rev 8.



  • @sundberg84

    Been a while since I made sensors now - but so what.. ordered 10 pcs in order to try it out ๐Ÿ™‚



  • @sundberg84 said:

    • Bug with G on CAP now on the right side.
      Wait, what?
      Missed this. I am using v8 boards. Cant seem to figure out how to search individual threads and 247 posts is a bit much to go through tonight. Will get the DMM out and try to figure it out, but what cap is labelled wrong?

    Thanks,
    Matt


  • Hardware Contributor



  • @sundberg84 cheers, no problem on my boards, multimeter confirms this...



  • Hey I recently got a batch of ten pro 3.3v pro minis from ebay, I removed vreg + LED on two of them and they no longer work... Well, I cant upload. I have done this low power mod heaps of times, the boards are different from ones Ive seen before, has anyone here had this problem? Or am I just a problem magnet? Have yet to solder programming headers on a non modified board to see if its a bad batch... Maybe main power is routed through the vreg or LED regardless or something? I dont have the eyesight or mag abilities to play around...
    0_1482260686279_upload-22833514-2461-4622-9259-2d9e9fa6ed9b


  • Hardware Contributor

    @Matt - I have killed some when i tried to remove them led/reg with a knife (ie cutting). So i began desoldering them which workes nice. I have killed one because of a short circuit and one because i damaged the pad.

    Could be as you say another routing if its a new clone. Removing the led/resisotor led to being with should not affect this as it most likely only goes to ground.



  • @sundberg84
    Thanks for your reply. Given I've done six or seven to date without issue I am somewhat skeptical that I have borked two in a row. I use a fine tip hakko iron, solder sucker, wick + a tiny wee flathead screwdriver for the butchery.
    Maybe its time I invested in a magnifying glass heh.
    Is it necessary to remove the vreg as I would think its not doing anything anyway as we are powering via VCC rather than raw?


  • Hardware Contributor

    @Matt - Sounds strange. Magnifying glass is cheap and good ๐Ÿ‘



  • @sundberg84
    Yeah it is a bit. As I said, may yet be a bad batch, too busy with other things right now to test a third one.
    Mind you, just found this and as I suspected, there appears to be no point in removing the regulator if we are powering directly via vcc.



  • @Matt said:

    Hey I recently got a batch of ten pro 3.3v pro minis from ebay, I removed vreg + LED on two of them and they no longer work... Well, I cant upload.

    Did you try to use side pins for Vcc/Gnd connections from usb-ttl adapter? It is known for some clones that Vcc/Gnd pins on programming header do not work after regulator and led are removed and side pins must be used for uploading sketch...



  • @ferro ooh hey, didn't know that... Will have a go. Thanks!



  • @Matt said:

    @ferro ooh hey, didn't know that... Will have a go. Thanks!

    Nup, didn't work. Must have killed them somehow by removing the regulator. Have a third one running just fine, minus the LED.... Oh well.



  • Had further problems with intermittent sends. Sometimes on initial presentation it only sends the sketch name and not version number. Also sends are infrequent up to six hours apart. When it does send it often only sends one child_id when there are three to send.
    Previously I thought this was most likely an issue with a noisy boost converter. However I just tried replacing the 4.7uf cap on the radio with a 47uf one. Problem solved!
    Matt


  • Hardware Contributor

    @Matt - Nice to hear problem solved! Its again the sensitive radio and the booster might be the cause since changing the cap worked.
    One trick is also to add a delay(10) between the presentations if possible. Sometimes the radio cant keep up or something...



  • Gah! I ordered through the https://www.openhardware.io/order/4/PCB10X link from Itead but got the rev8 boards. Thought the "I always update the gerber files for sale" meant it was safe to order...


  • Mod

    @Efflon did the order say version m5 when you ordered? Which date did you place the order?



  • @mfalkvidd I ordered January 2 and can't remember what version was stated. I'm quite sure I picked Itead because it had a higher version numer (and a slightly higher price), honestly don't remember. All I know is that I didn't read this thread but rather just browsed through the page and clicked order. Afterwards I realized it wasn't clear if it was the 5V or 3.3V version but the order said 5x5cm. I also missed to choose color but "grรถnt รคr skรถnt".
    Guess what confused me most was the statement "It may say another rev. at the orderpage but this is not EasyPCB rev but the rev for manufacturer." causing me to be trigger happy ๐Ÿ˜„


  • Hardware Contributor

    @Efflon - sorry to hear you got rev 8 if you wanted rev 9.
    I wrote this notice just because itead was so slow updating to the right revision! I also spoke to hek about this a month ago according to my chat log.


  • Admin

    Sorry to hear... Checked the log. The order was for manufacturer revision 4 (which is what @sundberg84 call rev 8 ).

    The system automatically increments the revision number each time an author makes a new release. Each manufacturer must set price on each revision(which in some cases may take a while if they do this manually). Until they've done that, any older revision where they've set a price is still available for purchase.

    The revision is stated below the big order-button.



  • 0_1485115385923_IMG_1116.JPG
    Could anyone explain me, why position (polarity) of condensers 4.7uF on REV 8(blue) and REV 9 (red) are different?



  • @Amput said in ๐Ÿ’ฌ Easy/Newbie PCB for MySensors:

    Could anyone explain me, why position (polarity) of condensers 4.7uF on REV 8(blue) and REV 9 (red) are different?

    It's a bug in v8 fixed in v9, so v9 is correct, see link this post



  • @SUNDBERG84 - Do you have a board/design for the RFM69 radio ?

    Rergards,
    Martin



  • @martins - you can use NRF2RFM69 if you want to use RFM69 with Newbie PCB board. I'm using it too, works fine with 3.3V arduino. For 5V arduino you will need to add level logic converter too.



  • @ferro
    Pity because that would double the cost of the sensor board:

    Order PCBs for Easy/Newbie PCB for MySensors : $15
    Order PCBs for NRF2RFM69 : $15

    Thanks,
    Martin



  • @ferro said in ๐Ÿ’ฌ Easy/Newbie PCB for MySensors:

    @Amput said in ๐Ÿ’ฌ Easy/Newbie PCB for MySensors:

    Could anyone explain me, why position (polarity) of condensers 4.7uF on REV 8(blue) and REV 9 (red) are different?

    It's a bug in v8 fixed in v9, so v9 is correct, see link this post

    Thx for answer :-).


  • Hardware Contributor

    @martins - No, not at the moment. It has been asked before but I have never got my head around it.
    As i told before, you are happy to develop it yourself. I have some other things in my list but in the future maybe ๐Ÿ™‚



  • This post is deleted!


  • This post is deleted!


  • Hi
    I've tried to order the capaciter and voltage regulator from our local electronics supplier. The choice is too big. Could anyone please help a "newbie" to select the right parts for a raw powered 5V version

    • 4.7uF capacitor
    • voltage regulator
    • 0.1 and 10uF cap
      http://www.distrelec.ch/ can't select the parts because of missing size and especially for the voltage regulator the exact type.

  • Hardware Contributor

    @N00phi - I usually just select the ones at www.mysensors.org/store but if you have a specific site you wish to order from I can choose for you.



  • @sundberg84 It would be absolutely great if you could do so! I would order at http://www.distrelec.ch ...


  • Hardware Contributor

    @N00phi for the capacitors: http://www.distrelec.ch/search?q=electrolytic+capacitor&filter_Rated+voltage~~VDC=50&filter_Diameter+housing~~mm=4&filter_Diameter+housing~~mm=5 (choose the axial types which is the one with two legs).

    As for the voltage regulator I use LE33ACZ 5V-3.3V which i cant find on that site.



  • @sundberg84 said in ๐Ÿ’ฌ Easy/Newbie PCB for MySensors:

    choose the axial types which is the one with two legs

    Just for clarification, there is axial lead and radial lead components. The axial leads have both wires coming out of one side (as @sundberg84 mentions it looks like two legs). Radial leads have one wire coming out each side. I almost never use radial lead capacitors.



  • @sundberg84 Thank you! One more question.. on the photo, there is a flat broun capacitor, what are the specifications for that one? Is it 0,1uF? But thats not an aluminium electrolytic capacitor, is it?
    Oh, and the voltage regulator is available on aliexpress, found that one.


  • Hardware Contributor

    @N00phi said in ๐Ÿ’ฌ Easy/Newbie PCB for MySensors:

    @sundberg84 Thank you! One more question.. on the photo, there is a flat broun capacitor, what are the specifications for that one? Is it 0,1uF? But thats not an aluminium electrolytic capacitor, is it?
    Oh, and the voltage regulator is available on aliexpress, found that one.

    Yes it's the 0.1uF capacitor. It's a ceramic disc capacitor, but you won't have to search for the type of capacitor on aliexpress, low value capacitors are most of the time (always ?) ceramic disks if they are not of SMD type.



  • I would like to use this PCB with a 3.3V I2C sensor (data line and power must be <3.6V) and AC power. Is there a recommended way to accomplish this?


  • Hardware Contributor

    @cmrockwell - Sorry, Im not following...
    AC Power? You need some AC-DC converter then and this is not the intend of the PCB, sorry.



  • @sundberg84
    Sorry, I wasn't clear. I just meant running from a DC power supply, not batteries. It seems that the intended use is to have 5V Vcc when running from a power supply, but I would like a 3.3V Vcc. Thanks for your help. I have 10 of these PCBs in hand.


  • Hardware Contributor

    @cmrockwell You can use a 3.3V / 8MHz pro-mini board and power everything with 3.3V.


  • Hardware Contributor

    @cmrockwell - yes, the pcb is designed like @cmrockwell said. You can use either 3.3v or below (batteries) or a 5v regulated voltage. If you choose the 3.3v/bat version you need a 3.3v pro mini.



  • @sundberg84
    OK, I figured out how to do what I wanted. I am planning to connect a regulated power supply that provides ~3.3VDC. The main thing I had to figure out was how to configure the PCB when neither a battery booster nor a regulator are needed. I think either shorting the REG pin and shorting the regulator or shorting the BAT pin and shorting the battery booster would each achieve the desired result.


  • Hardware Contributor

    @cmrockwell - well done!
    Yes, digging deeper into it you can probably hack it many ways with jumpers and wires.


  • Mod

    If I want to use a mini pro 3.3v and a 18650 battery that I have lying around, should I use something like THIS or do you think there is a better/more efficient way?


  • Hardware Contributor

    @gohan - im not that good in efficiency in boosters and converting voltage. Im sure that would work! The main thing is 1) deliver correct voltage and 2) if they are to noicy they will interfere with the radio and make the communication fail.



  • I having trouble to order this board from DirtyPCB.
    Both the link in the beginning of this thread (Rev8) and the link in the OpenHarware page just directs me to an empty DirtyPCB order page, with no board preloaded. It wants me to upload files.
    Does anyone know how to order from DirtyPcb without uploading the boardfiles?


  • Hardware Contributor

    @popunonkok - the link to DirtyPCB is not posted or maintained by me. If you want the latest revisions please go to order under openhardware.io = https://www.openhardware.io/order/4/PCB10X. DirtyPCB is not an option there so if you want to use them you need to download the gerberfiles for the project = https://www.openhardware.io/view/4/EasyNewbie-PCB-for-MySensors#tabs-design and upload them according to their instructions = http://dirtypcbs.com/store/pcbs/about (see order)



  • Iv just orderd Rev8.

    I have a primary question, might have a couple more later on.
    In the info about the board it says:

    "BAT: Short this if you are using batteries as power supply. It will activate booster circuit and feed the radio directly from the batteries and not voltage regulator"

    It says about the same on the image of the board.

    My question is. Why would I want to powewr the radio directly from battery and not from the Booster? Wouldent that make the radio not to function like it sould when the voltage dropps?


  • Hardware Contributor

    @popunonkok - if you search the forum and this thread about noice in the boosters you will find a big search result. The boosters is, to be honest, pretty bad. They generate alot of noice which interfere with the radio which is pretty sensitive. By "learning by doing" we have figured out that if you are using a booster the best way is to provice power to the radio directly from the batteries to avoid the noice... the radio will pretty much fail if you dont.

    The radio can handle down to 1.9 v so this will be your minimum voltage for the circiut.



  • Hmmm... Ok...

    I had only read that the boosters helpt to drain the battery completely, had missed that they "messed" with the radio.

    It will be really interesting to see what kind of battery life I can get out of 2 or 4 AA batteries on different types of nodes.

    When I look at the Specs for the Pro Mini board the supply voltage is 3.35 - 12v.
    I guess that means that without a Booster 2 AA batteries wont be able to run the Pro mini for a long time at all.


  • Hardware Contributor

    @popunonkok - you are correct, they are good for they "suck all the juice" out of the batteries. Without modifications the Pro Mini 3.3v have a lowerst voltage of 2.8V (called Brown out detection) Because of that when you use 2xAA you need the booster to keep a stable 3.3v and most of the booster can convert everyhing down to 0.9v back to 3.3v. The radio can handle down to 1.9v and that will be your lowerst point.

    I have nodes reading temp and humidity with a dht22 every 15min, running this setup and they last around 1 year each.
    You need to search the forum and https://www.mysensors.org/build/battery for power saving with battery. The most common first step is to remove the voltage regulator and the led. Then you sleep the node when it isnt active.

    On this image you see the led removed (red arrow). I think its easier to remove the resistor (black circle, marked 102) but its the same result. Voltage regulater (red circle) is removed as well. Note that many sites say cut the trace but its much easier to desolder them.

    0_1488381852786_1.JPG

    Using the internal voltage regulator (3.35 - 12v) will kill the node in weeks/days if you run them on 2-4xAA because of the high current drain. My aim building a newbie/easy PCB is a sleepcurrent of 0,1mA or 100uA.



  • hi there,

    Thanks for the easypcb! I'm trying to build a small solar powered weather station (like these: https://forum.mysensors.org/topic/841/solar-powered-mini-weather-station), but just found that the battery that came with the solar panel only provides 1.2v. The booster works ok and I can power the arduino, but it's no enough for the radio :-(. Since powering the radio from the booster is not a option, I'm at a dead end. Or there's a way to still using this battery/solar panel?


  • Hardware Contributor

    @chrlyra - you need 1.9V minimum for the radio. There are more advanced boosters you could try which probably is better and less noice... but this PCB was not designed for that purpose so sorry, I cant help you.


  • Mod

    @chrlyra
    There is another project called solar harvester that uses a supercap to store energy



  • So a question I have always wondered about the voltage regulator is do you really need to desolder it if you connect your incoming power to the 3.3v pin and not the RAW pin? I would have thought the regulator would only drain power if it was converting the RAW power down to 3.3v.


  • Hardware Contributor

    @dbemowsk - your logic sounds right, but i think it will draw power anyway... only way to figure out is to measure or google ๐Ÿ™‚



  • I managed to change my PCB order, I saw that one of the updates to rev9 was the ability to use Pin 2 as GPIO instead of going to the Radio where it is unused. So now I have a order for Rev9 instead.

    I will try to desolder the led or resistor and the voltageregulator.

    Thanks for sharing your design.


  • Hardware Contributor

    @popunonkok Good luck - let me know if there is any other questions.


  • Hardware Contributor

    @dbemowsk in fact current is leaking through the regulator when its input is floating, you can check the "reverse leakage current" value on the data sheet of the linear regulator used on your promini boards then decide if you can accept it or not, depending on your circuit.



Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts