Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.3k Posts
  • 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
    3k 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
    752 Views
    No one has replied
  • Recommended setup for MQTT and RFM69

    5
    0 Votes
    5 Posts
    2k 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
    3k 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
    3k Views
    RedguyR
    Tried ir, but no change.. Serial0 was still used while serial1was defined
  • IKEA trådfri

    tradfri ikea trådfri
    13
    0 Votes
    13 Posts
    16k Views
    YveauxY
    @nikgru extensive teardown of the lamp (German, but you know how to translate) : https://m.heise.de/make/artikel/Ikea-Tradfri-Das-steckt-im-Smart-Home-aus-dem-Moebelhaus-3597295.html?wt_ref=http%3A%2F%2Fhackaday.com%2Fblog%2F&wt_t=1486396685063
  • Low power display from electronic shelf label (ESL)

    3
    2 Votes
    3 Posts
    3k Views
    solaS
    Thanks for the link. Still not cheap (1.44" for $12) but at least not outrageous like the Adafruit.
  • Connect Serial Gateway to Openwrt routers TX RX pins

    12
    0 Votes
    12 Posts
    4k Views
    J
    @derrij The console paramter needs to be removed completely. You cannot use the uart for domoticz and as serial console at the same time. https://wiki.openwrt.org/doc/recipes/terminate.console.on.serial
  • RFM98PW / RFM95PW new LoRa modems

    4
    1 Votes
    4 Posts
    2k Views
    M
    They're an interesting option in special use cases. Eg. I mounted a sensor on my flat building janitor's storage room. I wanted to know if she comes daily as agreed and if so, how long does it take for her to clean the staircase. The RFM69 modules didn't worked so I switched to RFM96 which struggles to get the signal through 2 floors and on the other side of the building where I placed my gateway. And this while using RFM95_BW31_25CR48SF512. It works, but if I were at the 3rd floor, I'm sure it wouldn't have worked. Next thing I want to monitor the status of the water pumps that are in a special room beneath ground and also on the opposite side of the building. And I'm pretty sure that the RFM95 will not make it there unless directional antennas or repeaters are involved.
  • Battery alternative for DS3231 ?

    9
    0 Votes
    9 Posts
    11k Views
    mfalkviddM
    I desoldered the 201 resistor, found that easier than cutting the trace. Works great.

19

Online

11.7k

Users

11.2k

Topics

113.1k

Posts