Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
D

DenisJ

@DenisJ
About
Posts
63
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Battery life calculator
    D DenisJ

    @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

    Hardware

  • GWT:TPC:CONNECTING
    D DenisJ

    @electrik said in GWT:TPC:CONNECTING:

    2.3.2 release

    I can't believe... IT'S WOOOOOOORK !!!
    Thanks a lot @electrik !!!

    I don't know why, and I don't understand... but with 2.3.2 release it's work if I make that modify in the MyGatewayTransportMQTTClient.cpp file.
    Also I don't like that I must modify that time... but for now it's ok.
    Also I don't understand why 2 days ago it's change same hardware and same soft,
    from work to no work (I don't know haw to tell this in english) :-)

    Thanks so much again :-)
    Denis

    Troubleshooting

  • 💬 Building a WiFi Gateway using ESP8266
    D DenisJ

    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

    Announcements

  • What really sleep() do please ?
    D DenisJ

    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

    Development

  • What I must buy in order to measure mAh please
    D DenisJ

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

    Hardware

  • What I must buy in order to measure mAh please
    D DenisJ

    @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

    Hardware

  • What I must buy in order to measure mAh please
    D DenisJ

    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

    Hardware

  • New simply node sensor project - please some advise
    D DenisJ

    @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 ?

    Hardware
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular