Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.4k Posts
  • HLK-PM01 (Hi-Link) Eagel library

    2
    0 Votes
    2 Posts
    9k Views
    sundberg84S
    @sonu-kushwh - I have one im ny designfiles: HKLPM01.lbr https://www.openhardware.io/view/13/In-Wall-ACDC-Pcb-for-MySensors#tabs-design
  • Portable Power Meter

    9
    0 Votes
    9 Posts
    2k Views
    gohanG
    It depends on what your final setup will be, because you could load a custom firmware that sends data to mqtt or write your own code and use it as an esp8266 gateway with sensor attached. There is no universal solution, so if you would like to post your project we can give better suggestions.
  • RFM69H and RFM69HCW

    4
    0 Votes
    4 Posts
    2k Views
    mfalkviddM
    W means that the module is for the world market. Without W is for the Chinese market, with less stringent quality rules (and therefore cheaper). C means the module is using different pins. http://www.hoperf.com/faqs/410.html [image: 1487495173510-img_1606.jpg] Mixing H and HCW in the same network should work, provided the modules are wired differently (due to "C")
  • Band pass filter?

    1
    0 Votes
    1 Posts
    679 Views
    No one has replied
  • pro mini programming

    13
    0 Votes
    13 Posts
    4k Views
    gohanG
    China quality strikes again :-(
  • ESP8266 questions before buying

    esp8266
    8
    0 Votes
    8 Posts
    3k Views
    gohanG
    Does it work also with I2C stuff connected to it?
  • Mains energy meter node

    8
    0 Votes
    8 Posts
    3k Views
    gohanG
    That's one of the suggestions I was looking for! :smile: Given my setup with Domoticz + MQTT, what firmware would you suggest?
  • Odroid c1 as getaway?

    getaway raspberry odroid c1
    14
    0 Votes
    14 Posts
    4k Views
    D
    @pansen I have no oscilloscope near... Lets talk about it with Odroid community and hope someone could help me
  • Soldering RFM to Sensebender

    3
    0 Votes
    3 Posts
    1k Views
    C
    Many thanks @tbowmo I'll sit down tonight and fire up the iron, looking forward to freeing up another pro-mini back into the pool for more sensors!! :)
  • Distance Sensor with long range (8-10 meters) ?

    8
    0 Votes
    8 Posts
    3k Views
    qqlapralineQ
    No, I did not have the opportunity to test such a range. But between 20cm and 5m it was stable and accurate.
  • Need help due wireing Lan - GW RMF69 & W5500

    8
    0 Votes
    8 Posts
    3k Views
    SnobsS
    Actually I try this and it won`t be working :( /** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad <henrik.ekblad@mysensors.org> * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * REVISION HISTORY * Version 1.0 - Henrik EKblad * Contribution by a-lurker and Anticimex, * Contribution by Norbert Truchsess <norbert.truchsess@t-online.de> * Contribution by Tomas Hozza <thozza@gmail.com> * * * DESCRIPTION * The EthernetGateway sends data received from sensors to the ethernet link. * The gateway also accepts input on ethernet interface, which is then sent out to the radio network. * * The GW code is designed for Arduino 328p / 16MHz. ATmega168 does not have enough memory to run this program. * * LED purposes: * - To use the feature, uncomment MY_DEFAULT_xxx_LED_PIN in the sketch below * - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly * - ERR (red) - fast blink on error during transmission error or recieve crc error * * See http://www.mysensors.org/build/ethernet_gateway for wiring instructions. * */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached //#define MY_RADIO_NRF24 #define MY_RADIO_RFM69 #define MY_RF69_SPI_CS 3 // Enable gateway ethernet module type #define MY_GATEWAY_W5100 // W5100 Ethernet module SPI enable (optional if using a shield/module that manages SPI_EN signal) //#define MY_W5100_SPI_EN 4 // Enable Soft SPI for NRF radio (note different radio wiring is required) // The W5100 ethernet module seems to have a hard time co-operate with // radio on the same spi bus. #if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD) #define MY_SOFTSPI #define MY_SOFT_SPI_SCK_PIN 14 #define MY_SOFT_SPI_MISO_PIN 16 #define MY_SOFT_SPI_MOSI_PIN 15 #endif // When W5100 is connected we have to move CE/CSN pins for NRF radio #ifndef MY_RF24_CE_PIN #define MY_RF24_CE_PIN 5 #endif #ifndef MY_RF24_CS_PIN #define MY_RF24_CS_PIN 6 #endif // Enable to UDP //#define MY_USE_UDP #define MY_IP_ADDRESS 192,168,100,254 // If this is disabled, DHCP is used to retrieve address // Renewal period if using DHCP //#define MY_IP_RENEWAL_INTERVAL 60000 // The port to keep open on node server mode / or port to contact in client mode #define MY_PORT 5003 // Controller ip address. Enables client mode (default is "server" mode). // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere. //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254 // The MAC address can be anything you want but should be unique on your network. // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use. // Note that most of the Ardunio examples use "DEAD BEEF FEED" for the MAC address. #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED // Enable inclusion mode #define MY_INCLUSION_MODE_FEATURE // Enable Inclusion mode button on gateway //#define MY_INCLUSION_BUTTON_FEATURE // Set inclusion mode duration (in seconds) #define MY_INCLUSION_MODE_DURATION 60 // Digital pin used for inclusion mode button //#define MY_INCLUSION_MODE_BUTTON_PIN 3 // Set blinking period #define MY_DEFAULT_LED_BLINK_PERIOD 300 // Flash leds on rx/tx/err // Uncomment to override default HW configurations //#define MY_DEFAULT_ERR_LED_PIN 7 // Error led pin //#define MY_DEFAULT_RX_LED_PIN 8 // Receive led pin //#define MY_DEFAULT_TX_LED_PIN 9 // Transmit led pin #if defined(MY_USE_UDP) #include <EthernetUdp.h> #endif #include <Ethernet.h> #include <MySensors.h> void setup() { } void loop() { } PINs are : NANO W5100 RFM69 ------------------ GND GND GND 3.3V VCC 5V VCC 13 SCK SCK 6 NSS 12 MISO MISO 11 MOSI MOSI 10 SS/CS and the startup like this 0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.0 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 0;255;3;0;9;TSM:INIT:TSP OK 0;255;3;0;9;TSM:INIT:GW MODE 0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;MCO:REG:NOT NEEDED IP: 192.168.100.254 0;255;3;0;9;MCO:BGN:STP 0;25 Did somebody see my fault ? BR Sascha
  • D0/Rx and D1/Tx pins in Arduino as digital input

    2
    0 Votes
    2 Posts
    2k Views
    mfalkviddM
    @JareckiB12 yes that is possible, provided you don't use them for serial communication.
  • Bluetooth presence / proximity

    3
    0 Votes
    3 Posts
    1k Views
    gohanG
    I did look at the other topics like you suggested, but they were all quite old and the one you specified it looked not entirely relevant since it is detecting active beacons while I would like to scan for low energy devices, so I'm not entirely sure the hw is the same
  • Single layer PCB

    1
    0 Votes
    1 Posts
    830 Views
    No one has replied
  • Recommended setup for MQTT and RFM69

    5
    0 Votes
    5 Posts
    3k Views
    gohanG
    Can't you make an mqtt client ethernet gateway with w5100 shield on an Arduino Uno?
  • NExtion and I2C

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • MySensors Gatway dimmers & Home assistant

    21
    0 Votes
    21 Posts
    5k Views
    Richard van der PlasR
    @martinhjelmare Thanks for the input, when i arrive home ill update my code :)
  • Is there an easier way to compare the voltages of these two sensors?

    3
    0 Votes
    3 Posts
    1k Views
    hekH
    Above question comes from a spam bot. See: http://electronics.stackexchange.com/questions/235276/digital-circuit-to-compare-two-voltages/235279 (their bot seem to suck up questions from electronics.stackexchange.com, insert their links and post to forums) If we see any more questions with Kynix-links, I'll just delete the new accounts. The @longkke user will be kept and banned for reference. I hope this will help other forums identifying Kynix as a SPAM cooperation.
  • Driveway Alarm / Vehicle detection

    4
    0 Votes
    4 Posts
    4k Views
    enloE
    If you did not yet buy that chip: According to SparkFun, that sensor is retired. But they do suggest alternatives. I am not sure if that's SparkFuns definition or Honeywell
  • Serial gateway using Arduino Mega, how to set what serial to use ?

    5
    0 Votes
    5 Posts
    4k Views
    RedguyR
    Tried ir, but no change.. Serial0 was still used while serial1was defined

21

Online

11.7k

Users

11.2k

Topics

113.2k

Posts