Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. DenisJ
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    DenisJ

    @DenisJ

    8
    Reputation
    39
    Posts
    11
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    DenisJ Follow

    Best posts made by DenisJ

    • RE: Battery life calculator

      @BearWithBeard said in Battery life calculator:

      Did you measure the wake time of 2s?

      No... I have inserted a wrong wake time,
      cause now I have misure the wake time using millis() from initial LOOP
      until before sleep command, and and I have only about 600 millis (sometime 300 sometime 900).

      Then I send the data only when the temp have a difference of 0.3°C.
      And the humidity only at 5% difference.
      Also I put 2 minutes (really 128 sec because of 8s X 16 in order to use only thw WDT of 8Sec)

      And now the tabel is like this:
      fb385738-4d2f-4592-9916-b045c04505d5-image.png

      But it give me only:
      c1e44958-5795-417d-b0c5-ca4650e70dc6-image.png

      Yes... I have blinking LEDs as RX/TX but now I'll take off it and I'll blink only one time at every 2 minutes.
      I'll see the measurements.

      I will not discharge the batts too much because I dont buster for the voltage.
      The 2 batts (3V) it's go directly to the Atmel and all the rest.
      But I use an internal clock of 4mHz and If I understand correctly this will discharge the batts. until 1.8V of total.

      Here I paste is the prototipe (cause I know you all like the pictures:-)
      4c290bae-0f33-49b6-b88b-5ff30673b478-image.png

      Thanks a lot
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • What really sleep() do please ?

      Hi there all,
      I just finish a simple node using a barebone Atmega328p.
      I program the bootloader MiniCore at 8Mhz internal clock.
      I use a BME280 for temp/humidity and RFM69HC for radio.
      All work great šŸ™‚
      78414ba3-313d-4fa0-bd9e-a77072b610d7-image.png

      Now I'm on the software part of sleep.
      I just use Sleep(30000) in order to test it.
      What I receive in the log(parser) is:

      Sleep node, duration 30000 ms, SmartSleep=0, Int1=255, Mode1=255, Int2=255, Mode2=255
      Set transport to sleep
      Node woke-up, reason/IRQ=-1 (-2=not possible, -1=timer, >=0 IRQ)
      Set transport to standby
      Sent Message ...etc...
      

      So I wonder what sleep() do please ? ...it use a watchdog internal timer in order to wake up ?
      I have try to use a "LowPower.h" lib but the compiler give me an error:

      multiple definition of `__vector_6'
      

      ...like already have this piece of code in the MySensor lib.

      So if I understand the watchdog internal timer is the best solution to make sleep all strange thinks inside Atmega328p.
      Is I still understand it can't do it more than 8sec.

      Can anyone please help me to understand ?

      Thanks a lot
      Denis

      posted in Development
      DenisJ
      DenisJ
    • RE: šŸ’¬ Building a WiFi Gateway using ESP8266

      I finally understand with was the problem...
      My WiFi Mesh LAN accepted only 802.11.g+n radio... now that I have set 802.11.b+g+n it's ok
      Strange this think cause an all other WiFi Arduino schetch the 802.11.g+n radio was always accepted.

      Anyway... now it's work šŸ™‚
      Denis

      posted in Announcements
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      I just retry with the newone and it give me about 9,1 uAmp šŸ™‚
      f5f6aeb3-a73d-4b79-ae44-3ffd6f33d22b-image.png
      Thanks all

      posted in Hardware
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      @Nca78 said in What I must buy in order to misure mAh please:

      you have to unplug/re-plug before the nodes gets out of sleep and obviously this will make measurement impossible.

      I use the multimeters in this mode:
      -first I musure the work mA in the work session, with the switch on mA... this give me about 19 mA
      -then I put the switch on uA but I also put a direct wire that is in paralel to the multimeters in order to have suficient current
      ...when the Arduino go in sleep mode, I take out the direct wire and the remained wire of multimeter will misure the uA šŸ™‚

      Thanks a lot for the answer.
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      Yes now I know šŸ™‚
      But the tester that I had before this one,
      when it was switching from mA to uA, it was reseting the board.

      Now all is greate šŸ™‚
      Thanks a lot

      posted in Hardware
      DenisJ
      DenisJ
    • RE: New simply node sensor project - please some advise

      @skywatch said in New simply node sensor project - please some advise:

      Measure the current drawn by the radio module in transmit. Small batteries may not last long if it is too high (say more than 20-30mA).2,
      Do not use tantalum caps. They can have high ESR and have an ability to fail as a short circuit. Try ceramic SMD caps instead.

      I just misure the power consume of the RFM69 radio and it's around 15mA max:
      1e5d1c8c-e215-442a-9109-736ea5fb4f46-image.png
      So you think it's ok ?
      This is the develop project and here I use the 1000uF electrolytic capacitor (don't know if in this case help the radio power)

      So for the cap please tell me... I must put a ceramic with out polarization ?
      If yes, do you think this one it's ok please ? ...they have no disponibility for bigger than 220uF

      Thanks a lot for your help
      Denis

      p.s. in the mean time I found this one that have only 7 mΩ MSR
      Do you think it's ok please ?

      posted in Hardware
      DenisJ
      DenisJ

    Latest posts made by DenisJ

    • RE: Pir AS 312 with 2 rechargeable AAA battery. Boost needed?

      I don't know... the link it's work on my side.
      Anyway here is the pic:
      2a967941-5544-49c4-82d9-056c13e4d596-image.png

      Yes, I think will be ok... I hope šŸ™‚

      Thanks a lot
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: Pir AS 312 with 2 rechargeable AAA battery. Boost needed?

      Thanks a lot Franz... I have buy this one... maybe is more little

      Thanks again
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: New simply node sensor project - please some advise

      Oh boys... a lot of information here.
      Thanks so much... but I've already place the pcb order... I have make an order for 10 pieces. šŸ˜ž
      Bun in the mean time I'll experiment and modify the schema thanks to you all šŸ™‚

      Anyway I have placed there this capacitor ... I hope will be ok for this time.

      Thanks so much for all information

      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: New simply node sensor project - please some advise

      @skywatch said in New simply node sensor project - please some advise:

      Measure the current drawn by the radio module in transmit. Small batteries may not last long if it is too high (say more than 20-30mA).2,
      Do not use tantalum caps. They can have high ESR and have an ability to fail as a short circuit. Try ceramic SMD caps instead.

      I just misure the power consume of the RFM69 radio and it's around 15mA max:
      1e5d1c8c-e215-442a-9109-736ea5fb4f46-image.png
      So you think it's ok ?
      This is the develop project and here I use the 1000uF electrolytic capacitor (don't know if in this case help the radio power)

      So for the cap please tell me... I must put a ceramic with out polarization ?
      If yes, do you think this one it's ok please ? ...they have no disponibility for bigger than 220uF

      Thanks a lot for your help
      Denis

      p.s. in the mean time I found this one that have only 7 mΩ MSR
      Do you think it's ok please ?

      posted in Hardware
      DenisJ
      DenisJ
    • New simply node sensor project - please some advise

      Hi there all,
      because I love a lot this great project MySensor, I begin to work on a simply node sensor
      in order to have my one and make as I like.

      Thi sensor will be a BME280 Temp/Humidity/Pressure sensor,
      will work on ATMEGA328P and will transmit via RFM69 (cause I need big distances).
      All will be power by 2 X 1.5 AAA battery, so I write the bootloader at 4 mHz in order to
      suck more power from batts.
      So I don't put a buster on this sensor.

      Here I paste the sensor at this point:
      78dc9308-08dd-4021-b12a-30ef6104c247-image.png

      And here is the schema:
      d68f9d5d-2c50-45e4-9520-43229efeebf7-image.png

      Because I'm beginner, in Arduino, in Kicad and all this thinks,
      I want to ask you all to give me some advise on this minimal hardware.

      For example... I tested the sensor with a 10uF electrolytic capacitor
      and I went at about 120 mt outside from my home. (gateway inside home)
      Then I put a 1000uF (I have no other) capacitor and it work at about 150-170 mt.
      So it'k ok the C1 at 470uF (!tantalum) on my schema ?
      I also have read in some place that if the capacitor is bigger,
      the sensor can use better the battery power every time that will wake up.

      So please tell me if I can make some change before sending to Jlcpcb to make and assembly the pieces.

      Thanks all in advance
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: Pir AS 312 with 2 rechargeable AAA battery. Boost needed?

      @franz-unix
      This is wonderful work... thanks for inspiring me šŸ™‚
      I know that this is an old thread,
      but can you give me a link of the AAA battery holder please ?

      I just make a node sensor and I want to use it.
      Thanks a lot
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: Battery life calculator

      @BearWithBeard said in Battery life calculator:

      you'd wake up every 30 seconds instead of once every 2 minutes.

      Whoawwww... I had entered wrong times šŸ™‚
      Now I take 409 days... great !!!

      Thanks a lot again
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: Battery life calculator

      @BearWithBeard said in Battery life calculator:

      Did you measure the wake time of 2s?

      No... I have inserted a wrong wake time,
      cause now I have misure the wake time using millis() from initial LOOP
      until before sleep command, and and I have only about 600 millis (sometime 300 sometime 900).

      Then I send the data only when the temp have a difference of 0.3°C.
      And the humidity only at 5% difference.
      Also I put 2 minutes (really 128 sec because of 8s X 16 in order to use only thw WDT of 8Sec)

      And now the tabel is like this:
      fb385738-4d2f-4592-9916-b045c04505d5-image.png

      But it give me only:
      c1e44958-5795-417d-b0c5-ca4650e70dc6-image.png

      Yes... I have blinking LEDs as RX/TX but now I'll take off it and I'll blink only one time at every 2 minutes.
      I'll see the measurements.

      I will not discharge the batts too much because I dont buster for the voltage.
      The 2 batts (3V) it's go directly to the Atmel and all the rest.
      But I use an internal clock of 4mHz and If I understand correctly this will discharge the batts. until 1.8V of total.

      Here I paste is the prototipe (cause I know you all like the pictures:-)
      4c290bae-0f33-49b6-b88b-5ff30673b478-image.png

      Thanks a lot
      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: Battery life calculator

      No... I must use 2 X AAA battery because of all project.
      Thanks for the suggestion šŸ™‚

      Denis

      posted in Hardware
      DenisJ
      DenisJ
    • RE: What I must buy in order to measure mAh please

      I already have something like this, but this one have no misurement in uAh
      Thanks a lot
      Denis

      posted in Hardware
      DenisJ
      DenisJ