Navigation

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

    chamroeun ou

    @chamroeun ou

    2
    Reputation
    11
    Posts
    4
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    chamroeun ou Follow

    Best posts made by chamroeun ou

    • Integrate with ThingsBoard

      I have deployed Thingsboard(Communitiy edition) and use it with a few sensors, I find it's very feature-rich and mature. But hard to customize the code, lack of scheduling and reporting(only Professional edition have them). My problem with it now is it seems to lack the sensor level code or maybe due to my limited knowledge of it.

      So I want to use Mysensors with it by passing the data to thingsboard via Mysensors MQTT gateway. The question here is either to customize the Mysensors MQTT Payload format or use another tools in between.

      Thanks for your suggestion or anyone have tried this before?

      posted in Development
      chamroeun ou
      chamroeun ou
    • RE: A tiny BME node - BME280 on ATtiny85

      @BearWithBeard said in A tiny BME node - BME280 on ATtiny85:

      Overview page

      @BearWithBeard thanks, now i got my Attiny167+Sht30 working with Mysensors and Mysensor gateway. Next step will be formatting the data for Thingsboard cloud.

      posted in My Project
      chamroeun ou
      chamroeun ou

    Latest posts made by chamroeun ou

    • Orange Pi Stability

      Re: 💬 Building a Orange Pi Gateway

      Hello,
      I tested my Orange Pi 2G-iOT. Based on its price(11$), it's a very interesting gateway to try, especially with the 2G support which is very important for my Farming iOT projects.
      But it's very unstable and I don't know if it's my mistake or what. Many people blaming the unstable power supply issue.

      Here're the annoying problems, I got.

      1. Sometimes, I need to reset power a few times to get to the login prompt.
      2. Get stuck after keying in the password, which I have to wait for the password timeout and I try again and it normally work.
      3. May get stuck at any moment during the usage if I install some package...
      4. Its GPRS data rate is only around 4 to 10kbps, which is much slower than Huawei 2G modem.
      posted in Hardware
      chamroeun ou
      chamroeun ou
    • RE: Battery-powered irrigation controller

      @user2684 I am also planning to build latching valve controller. But my valve is 2" to 4" and Its coil specifications are as follow:
      V: 6-20Volt DC (optimal is above 9volt)
      Capacitance Required: 4700uF
      Coil inductance: 90mH
      Pulse duration: 20 to 200mili seconds.

      Do you think h-bridge will work or do you have a better suggestion for this? My goal is also to run the controller on battery and place in farm so it must be waterproof.

      posted in My Project
      chamroeun ou
      chamroeun ou
    • RE: A tiny BME node - BME280 on ATtiny85

      @BearWithBeard said in A tiny BME node - BME280 on ATtiny85:

      Overview page

      @BearWithBeard thanks, now i got my Attiny167+Sht30 working with Mysensors and Mysensor gateway. Next step will be formatting the data for Thingsboard cloud.

      posted in My Project
      chamroeun ou
      chamroeun ou
    • RE: Integrate with ThingsBoard

      My idea is to customize the MySensor gateway and push data directly to Thingsboard cloud server.
      If I use Thingsboard gateway, I will have to deploy Mysensors gateway anyway in order to intercept the incoming RF24 data, right?

      What i have done so far is using my ESP32 to send sensors data(Not using Mysensors) to my cloud THingsboard using MQTT

      posted in Development
      chamroeun ou
      chamroeun ou
    • RE: A tiny BME node - BME280 on ATtiny85

      @BearWithBeard How do you get it compiled using Mysensors? which code you based on? I got many compiled errors:

      In function 'void hwPowerDown(uint8_t)':
      ../MySensors/hal/architecture/AVR/MyHwAVR.cpp:93:26: error: 'WDTCSR' was not declared in this scope
      const uint8_t WDTsave = WDTCSR;
      ^~~~~~
      
      /../MySensors/hal/architecture/AVR/MyHwAVR.cpp: In function 'uint16_t hwCPUFrequency()':
      /../MySensors/hal/architecture/AVR/MyHwAVR.cpp:305:26: error: 'WDTCSR' was not declared in this scope
      const uint8_t WDTsave = WDTCSR;
      ^~~~~~
      ..MySensors/hal/architecture/AVR/MyMainAVR.cpp: In function 'int main()':
      Arduino/libraries/MySensors/hal/architecture/AVR/MyMainAVR.cpp:34:7: error: 'serialEventRun' was not declared in this scope
      if (serialEventRun) {`
      

      For your question on SPI+IIC on Attiny85, someone has done it successfully by using NRF24 3 PIN so it's left with 2 PIN and use SoftWire library to force BME t use those two PINs.

      Another sketch that I come across is like this: https://github.com/chaeplin/esp8266_and_arduino/tree/master/_51-attiny85-nrf24-lcd-getntp
      But I can't get it to work maybe due to some pullup resistor or something.

      posted in My Project
      chamroeun ou
      chamroeun ou
    • RE: Integrate with ThingsBoard

      @mfalkvidd , What is your suggestion for mapping Mysensors gateway to Thingsboard mqtt format? I have to update the Mysensors gateway code or override it or other smarter solution?

      posted in Development
      chamroeun ou
      chamroeun ou
    • Integrate with ThingsBoard

      I have deployed Thingsboard(Communitiy edition) and use it with a few sensors, I find it's very feature-rich and mature. But hard to customize the code, lack of scheduling and reporting(only Professional edition have them). My problem with it now is it seems to lack the sensor level code or maybe due to my limited knowledge of it.

      So I want to use Mysensors with it by passing the data to thingsboard via Mysensors MQTT gateway. The question here is either to customize the Mysensors MQTT Payload format or use another tools in between.

      Thanks for your suggestion or anyone have tried this before?

      posted in Development
      chamroeun ou
      chamroeun ou
    • RE: A tiny BME node - BME280 on ATtiny85

      @BearWithBeard , it's not my code. it is based on @fabyte 's code. Actually, I want to use SHT30 I2C but space is the biggest challenge.

      There's a NRFLite(https://github.com/dparson55/NRFLite) which I think it may save space and can also work with 2 PIN for NRF24 as its created for Attiny but it may not work MySensors without code change.

      My decision now is to use Attiny167 instead but the problem now is it's not working on Mysensors. I try this approach but not work https://github.com/mysensors/MySensors/pull/1485.

      slyons created this issue in mysensors/MySensors

      closed Enabling AVR support for certain ATTiny devices #1485

      posted in My Project
      chamroeun ou
      chamroeun ou
    • RE: A tiny BME node - BME280 on ATtiny85

      To use Attiny, i think there's a need to optimize Mysensor for it as Mysensor consumes the most space of the 8K.

      posted in My Project
      chamroeun ou
      chamroeun ou
    • RE: A tiny BME node - BME280 on ATtiny85

      Ok, now it works with your BME-i2c code. not enough memory maybe due to update in AttinyCore which is bigger than your version. I think memory limit is the challenge.

      posted in My Project
      chamroeun ou
      chamroeun ou