Home Forum Hardware KIT1 Feedback

This topic contains 68 replies, has 17 voices, and was last updated by  Radu Motisan 1 year, 9 months ago.

Viewing 9 posts - 61 through 69 (of 69 total)
  • Author
    Posts
  • #4015

    Moran
    Participant

    Hi Radhoo,

    I have swapped out the 10nF 1Kv capacitors and the unit is generating 380v again!

    Will leave it for a week to make sure its stable them I may tackle the firmware upgrade to enable BME280

    Thanks,
    Moran.

    #4022

    ecloud
    Participant

    No, it’s still resetting periodically. Rarely, I can get the local webserver on the device to serve up one page, then it stops responding again. Likewise sometimes I can ping it, sometimes not.

    I just merged some patches from Malte Pöggel on github, which fixed some issues, but not that one.

    I wrote my first Go program, to poll the model A2 that I won, and post the data into InfluxDB. https://github.com/ec1oud/uradmonitor-influxdb-inserter I might make it into a daemon, but for now I just have it run from a cron job once per minute. Even better would be if I get the firmware to do this… it’s quite simple to use InfluxDB, just an HTTP POST. So I’ll be able to generate some graphs locally.

    But the A2 is giving me temperature readings at least 10C too high. Right now it says 4C, and a simple mechanical thermometer on the same wall says -7C, while an online weather report says -9C. I can believe it’s not quite as cold as -9C, mounted on a wall outside, compared to a proper weather station in open air. But I figure either the A2 has a voltage regulator which is warming it up, or else it needs some calibration in firmware?

    Malte built the firmware for me, and it works! Only difference is compiler version: I have avr-gcc 6.3.0 and he has 6.2.0.

    But I ended up with a different ID, despite having set the ID in config.h (and Malte built it for me with that config.h). 13000208 instead of 51000053.

    #4023

    ecloud
    Participant

    Downgrading my compiler to 6.2.0 didn’t fix it.

    Will keep poking around.

    #4027

    Radu Motisan
    Keymaster

    Yes, with the Github code, the unit will use a dynamic ID. Make sure the fuses are set to preserve EEPROM, or you will loose your ID on every firmware upgrade (does EEPROM clean).

    The A2 temperature can be affected by internal ENC28J60 and might need a linear compensation. We’ll take care of it.

    Need to check what you guys did on github and merge the code. Please give me some time for that.

    #4483

    Wolferl
    Moderator

    Hi folks,

    I managed to compile the code from Radu’s repository (version 115), since I wanted to add BME280 support to it.
    That worked after a day of tinkering around (I had to rebuild the EEPROM memory though, and my USBasp programmer had a cold solder joint…), it displays correct temperatures, pressures and humidity values. YES!!!

    But the networking doesn’t work. Like ecloud’s unit, it connects, but data can’t be retrieved from the unit. Any ideas how to get that fixed?

    These are my compiler options (I used AVR toolchain 3.5.3.90 for Windows):

    -D__AVR_ATmega328P -DF_CPU=8000000UL -Os -funsigned-char -ffreestanding -fshort-enums -fpack-struct -funsigned-bitfields -Wno-write-strings

    Have a nice day,
    Wolferl

    #4486

    Radu Motisan
    Keymaster

    Hi Wolferl,

    Here are the full compiler options:
    avr-g++ -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields -fno-exceptions -mmcu=atmega328p -DF_CPU=8000000UL -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -c -o "$@" "$<"

    #4733

    Radu Motisan
    Keymaster

    A new firmware version has been released on Github: https://github.com/radhoo/uradmonitor_kit1 , closing some of the open issues.

    #4739

    Moran
    Participant

    Cool 🙂
    I finally had a chance to tackle the upgrade after spending a couple of hours on Win 10 I ended up using a Win 7 32 bit machine to build and load the firmware.

    Now my unit is measuring Temperature, Pressure, and Humidity 🙂

    #4740

    Radu Motisan
    Keymaster

    Hi @moran that’s great. Don’t forget to post a few pictures, and if you have a few tips on how to get it going, it might help others.

Viewing 9 posts - 61 through 69 (of 69 total)

You must be logged in to reply to this topic.