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
H

hexenmeister

@hexenmeister
About
Posts
13
Topics
1
Shares
0
Groups
0
Followers
2
Following
0

Posts

Recent Best Controversial

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    Are you suggesting you have a specific range that the reading ends at? If so what's the range? BTW, What controller are you using?

    My Lib read approximately (fast, not accurate), the light intensity. This select the area (dark, normal, bright) and than retrieve brightness accurate. The range is 0.11 lux to about 190,000 lux (not very precise at end of range).

    My controller software ist FHEM on a Cubietruck.

    My Project

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    @Rasenheizung

    Hi Matthias!
    The value of the capacitor is not really critical. I currently use no capacitor, because the power supply is good enough.
    I buy my parts on AliExpress and eBay. Recently, for example, this:
    http://de.aliexpress.com/item/Free-Ship-10PCS-LOT-HCSR501-HC-SR501-NEW-Adjust-Infrared-IR-PIR-Motion-Sensor-Detector-Module/519751367.html
    http://de.aliexpress.com/item/1pcs-DHT22-digital-temperature-and-humidity-sensor-Temperature-and-humidity-module-AM2302-replace-SHT11-SHT15-Free/1059369726.html
    http://de.aliexpress.com/item/Free-Shipping-new-version-5pcs-lot-QFN-Pro-Mini-328-Mini-ATMEGA328-ATMEGA328P-MU-3-3V/1966712135.html
    http://de.aliexpress.com/item/Free-shiping-best-prices-10pcs-lot-NRF24L01-NRF24L01-Wireless-Module-2-4G-Wireless-Communication-Module/674686536.html
    http://www.ebay.de/itm/321664442040
    MySensors homepage also contains a good selection is available.

    Attention! My PCB is designed for an Arduino with 3.3V power regulator.

    How many PCBs do you need? I think, I would have to let new manufacture. It would also be important to know how you want to supply the power. Send me a PN / mail.

    Regards

    My Project

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    @jeylites
    I thought about using the device as a kind of status display. On the PCB only one LED remains. Currently, these lights when movement is detected.

    BH1750 is much more precise than LDR. And it's cheap enough.

    I would like to have a universal Sketch that recognizes the sensors equipping on the PCB. This works good for DHT22 and BH1750.

    BH1750 can detect the light intensity in dark areas from 0.11 lux, as well as the bright sun with over 100,000 lux. But not over the entire range. The range must be specifically selected. That makes my Lib automatically.

    I had problems with stability of Ethernet Gateway. So I enabled hardware watchdog of the ATmega. Not a good solution, but effective. However, the Bootloader of Arduino Pro Mini needs to be replaced (I use Opti boat).

    Regards

    My Project

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    @mainali
    I could not find these libraries also. Therefore, I have created this themselves.
    Look into my GutGub repository:
    https://github.com/hexenmeister/MySensors_MyDevices/tree/master/Schematic/lbr

    My Project

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    @jeylites
    Yes of course.
    I use my own library for BH1750 (with automatic selection of sensitivity).
    I've implemented partially autodetection of sensors. And I have limits defined for max. / min. time between transmissions and a minimum value change for sending the value immediately.
    What exactly do you want to know?

    My Project

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    There is already a line for my one wire bus. There are also 5 volts. The PCB can be assembled differently and are supplied with up to 15V.

    My Project

  • Motion detector with measurement of light intensity, temperature and humidity in the flush box.
    H hexenmeister

    Hello,
    I have found many interesting projects here. Now I would like to introduce my own project.

    Since my experiments with MySensors were quite successful on the breadboard, I decided to design a productive device with it.

    It should be a motion detector with light intensity measurement.
    Schemata

    Building prototype.
    building prototype
    building prototype
    building prototype
    building prototype
    building prototype
    building prototype
    building prototype
    building prototype

    I have permanently installed the unit in a flush box.
    building prototype

    After some time, the whole thing has worked well. I have decided to equip other rooms with these devices. However, it should be a bit more professional.
    Therefore, I have designed my own PCB with Eagle CAD.

    eagle schemata
    eagle board

    gerber top
    gerber bottom

    The PCBs were manufactured by ITead.
    pcbs

    pcbs
    pcbs

    Step by step assembly of the device.
    assembling
    assembling

    assembling
    assembling

    assembling
    assembling

    The Eagle and the firmware files for the modules can be found in my Github: https://github.com/hexenmeister/MySensors_MyDevices

    regards,

    Alexander

    My Project

  • Errors compiling EthernetGateway with <UIPEternet.h>
    H hexenmeister

    The FHEM module by @ntruchsess works well.
    Tested with humidity- and relay sketch (with serial gateway). I'm still testing. ;)

    Bug Reports

  • Issue with temperature units
    H hexenmeister

    My mistake. Was unfortunately cost few hours time for the search. For that I have won something overview in MySensors Code :)

    Vera

  • Issue with temperature units
    H hexenmeister

    Thanks for the quick reply.
    I've downloaded the source here: https://github.com/mysensors/CodeBender/blob/master/MySensor.cpp
    Since it is still old.

    Now I see that https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.cpp would be better.

    Vera

  • Issue with temperature units
    H hexenmeister

    hello,

    I must confess I have not read this thread completely. Too much for my bad english)

    We try MySensors support for FHEM (www.fhem.de) to impementieren. I noticed that when the I_CONFIG message is answered correctly with 'M' for metric, then the sensor sends in Imperial. Is not surprising, everything is interpreted as a string from Gateway, but also byte checked. My solution proposal: In MySensors.cpp:
    (isMetric = msg.getString()[0] == 'M' ; instead of isMetric = msg.getByte() == 'M' ;)

    			} else if (type == I_CONFIG) {
    				// Pick up configuration from controller (currently only metric/imperial)
    				// and store it in eeprom if changed
    				//isMetric = msg.getByte() == 'M' ;
    				isMetric = msg.getString()[0] == 'M' ;
    				if (cc.isMetric != isMetric) {
    					cc.isMetric = isMetric;
    					eeprom_write_byte((uint8_t*)EEPROM_CONTROLLER_CONFIG_ADDRESS, isMetric);
    					//eeprom_write_block((const void*)&cc, (uint8_t*)EEPROM_CONTROLLER_CONFIG_ADDRESS, sizeof(ControllerConfig));
    				}
    			} else if (type == I_CHILDREN) {
    

    Best regards,

    Alexander

    Vera
  • Login

  • Don't have an account? Register

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