Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.3k Posts
  • How does MySensors work?

    4
    0 Votes
    4 Posts
    2k Views
    J
    See http://forum.mysensors.org/topic/1194/tutorial-openhab-with-serial-gateway/23
  • arduino pro 3.3 + nrf24l01 smd onboard + On board 4K-Bit Flash memory

    11
    0 Votes
    11 Posts
    6k Views
    M
    No I decide that price is to high. in this price I can buy 2 pro and 2 nrf smd version.
  • Power bus

    7
    0 Votes
    7 Posts
    2k Views
    O
    Thanks for the hints :-) Yes, RS485 would be a very interesting option, but is not implemented yet - and I am modifying my house right now. I think I will add some pins to the power wires for future use...
  • RFID - presence and car

    1
    0 Votes
    1 Posts
    902 Views
    No one has replied
  • Better reception with nrf LPA?

    2
    1 Votes
    2 Posts
    1k Views
    D
    it also amplifies received signals, which works very well. I cover my whole flat (100m²)with this version for the gateway (and only the gateway, rest ist normal nrf24l01 modules) The non PA/LNA was not able to get into all corners of the flat. AFAIK PA stands for Power Amplifier (meant for TX) and LNA for Low Noise Amplifier ( meant for RX).
  • Nice PCB with ATMEGA328P with NRF24L01 & DHT11

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Camera as a sensor

    42
    0 Votes
    42 Posts
    23k Views
    Moshe LivneM
    @Mickey Thanks. will give it a try!
  • help newbie: MEGA2560 + Ethernet Shield = always fails

    6
    0 Votes
    6 Posts
    4k Views
    HeinzH
    Hi ruslan, sorry for delay. I am not sure but I think I did not change anything in RF_Config.h but found out that the radio needs to be connected to those pins 50, 51, 52. Have a look at the mega pinout sheet. It tells you that 50=miso, 51=mosi, 52=sck. So I connected the radio to those pins and it worked. That configuration runs on a sensor without ethernet shield. I believe that it has nothing to do with the shield but more with that special mega pinout. Could you simply remove the shield, attach the radio and download a sensor sketch to make sure that the mega and the radio work together. After that step attach the shield and try again with a gateway sketch.
  • Arduino Pro Mini (Deek robot) with power consumption and led.

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Battery life of a relay actuator

    11
    0 Votes
    11 Posts
    4k Views
    Moshe LivneM
    @Sparkman ended up ordering http://www.aliexpress.com/item/Passive-Bistable-Latching-DPDT-8-Amp-Power-Relay-Module-5V-Version-RT424F05/2003476647.html as form factor is not really an issue where these relays will be but convenience is. I think it includes the diodes but not the transistor. Thanks!!!!
  • Arduino Options

    6
    1 Votes
    6 Posts
    4k Views
    J
    @gregl I know its been a year+ from your post, but I figured out a way around 'the waiting' ....I order stuff every few days from China that I might/probably will need for another upcoming project & that way have a series of things coming in over a couple of months. Sometimes they screw me up & deliver too fast, but I can live with that!!!!! Now I have a good inventory of 'cheap' items to draw from for projects and of course I continue to order.
  • MySensor lib doesn't work with an chip nrfl24l01/SE8R01

    4
    0 Votes
    4 Posts
    3k Views
    tbowmoT
    @fc31 According to this site, se8r01 uses another onair format, and is NOT compatible with nrf24l01(+). So I don't think that you'll get any success including it in your existing network with nrf24 modules. If you used an se8r01 as gateway, together with sensors that uses the same transciever, you might have some luck.
  • Piezo Buzzer

    3
    0 Votes
    3 Posts
    3k Views
    bjornhallbergB
    I've only tried this module so far for prototyping. Worked as intended using the default code. Haven't made any measurements on it. But it ran fine in a 3,3V circuit. Certainly loud enough. Some current limiting would probably not be a bad idea. Edit: The module I have is of course passive. Not sure if that is what you want or not. Active vs Passive.
  • allow sensors to operate on voltage lower than 2.7v

    3
    2 Votes
    3 Posts
    2k Views
    m26872M
    @Mickey Any progress to share? Do you experience any issues with short battery life due to CR2032s high internal resistance, like reported here ?
  • MySensor Moteino Gateway board for Raspberry PI2

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • nRF24 radio reliability

    5
    0 Votes
    5 Posts
    3k Views
    pliniosenioreP
    @tbowmo Sure, but be able to clone an IC means that they have a structure and manufacturing equipments, I guess they can found better way to get income. Dario.
  • Hall effect sensor wiring?

    13
    0 Votes
    13 Posts
    6k Views
    Moshe LivneM
    @Sparkman it say 3144 415 so its the a3144 i think. found a you tube video https://www.youtube.com/watch?v=1ZkX1-gJYjQ (i think the guy there misses the part that it gives 2.5v and goes up or down according to the polarity but its good enough for me...) will give it a try later and see how sensitive it is
  • Motion (PIR), actuator and Temp sensor

    7
    0 Votes
    7 Posts
    4k Views
    H
    Ok, finally got it to work with this: // Example sketch showing how to control physical relays. // This example will remember relay state even after power failure. #include <MySensor.h> #include <SPI.h> #include <DallasTemperature.h> #include <OneWire.h> #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected #define MAX_ATTACHED_DS18B20 16 OneWire oneWire(ONE_WIRE_BUS); DallasTemperature sensors(&oneWire); float lastTemperature[MAX_ATTACHED_DS18B20]; int numSensors=0; //boolean receivedConfig = false; boolean metric = true; #define RELAY_1 5 // Arduino Digital I/O pin number for first relay (second on pin+1 etc) #define RELAY_2 6 #define RELAY_ON 1 // GPIO value to write to turn on attached relay #define RELAY_OFF 0 // GPIO value to write to turn off attached relay // Motion sensor defs unsigned long SLEEP_TIME = 10000; // Sleep time between reports (in milliseconds) #define DIGITAL_INPUT_SENSOR 4 // The digital input you attached your motion sensor. (Only 2 and 3 generates interrupt!) //#define INTERRUPT DIGITAL_INPUT_SENSOR-2 // Usually the interrupt = pin -2 (on uno/nano anyway) #define CHILD_ID 3 // Id of the sensor child boolean lastTrippedState; MySensor gw; // MyMessage msgTemp(0, V_TEMP); MyMessage msgRelay2(2, V_LIGHT); MyMessage msgMotion(3, V_TRIPPED); void setup() { gw.begin(incomingMessage, AUTO, true); gw.sendSketchInfo("Temp/Relay/Motion Sensor", "1.0"); // gw.present(1, S_LIGHT); pinMode(RELAY_1, OUTPUT); // gw.present(2, S_LIGHT); pinMode(RELAY_2, OUTPUT); digitalWrite(RELAY_1, gw.loadState(1)? RELAY_ON : RELAY_OFF); digitalWrite(RELAY_2, gw.loadState(1)? RELAY_ON : RELAY_OFF); pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input // gw.present(CHILD_ID, S_MOTION); // Fetch the number of attached temperature sensors //numSensors = sensors.getDeviceCount(); // Present all sensors to controller //for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { gw.present(0, S_TEMP); //} } // void loop() { gw.process(); boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH; if (tripped != lastTrippedState) { Serial.println(tripped? "tripped" : "not tripped"); gw.send(msgMotion.set(tripped?"1":"0")); // Send tripped value to gw// //digitalWrite(RELAY_1, tripped? 1 : 0); } lastTrippedState = tripped; // Fetch temperatures from Dallas sensors sensors.requestTemperatures(); // Read temperatures and send them to controller //for (int i=0; i<numSensors && i<MAX_ATTACHED_DS18B20; i++) { // Fetch and round temperature to one decimal float temperature = static_cast<float>(static_cast<int>((gw.getConfig().isMetric?sensors.getTempCByIndex(0):sensors.getTempFByIndex(0)) * 10.)) / 10.; // Only send data if temperature has changed more then 1 degC and no error if (int(lastTemperature[0]) != int(temperature) && temperature != -127.00) { //added integer // Send in the new temperature gw.send(msgTemp.setSensor(0).set(temperature,1)); lastTemperature[0]=temperature; } //} } void incomingMessage(const MyMessage &message) { // if (message.type==V_LIGHT && message.sensor == 2) { // Change relay state digitalWrite(RELAY_2, message.getBool()?RELAY_ON:RELAY_OFF); // Store state in eeprom gw.saveState(message.sensor, message.getBool()); // Write some debug info Serial.print("Incoming change for sensor:"); Serial.print(message.sensor); Serial.print(", New status: "); Serial.println(message.getBool()); } }
  • Device Similar Vera

    3
    0 Votes
    3 Posts
    1k Views
    D
    Hmm,Okay I willmake a ethernet getway, but I don't understand how I sync the sensr with her eheh
  • Power source for relay actuator

    5
    0 Votes
    5 Posts
    2k Views
    M
    @Cory said: I usually search for "ac usb" on ebay and get good results. So far i have been happy to find chargers like these. They support up to 240V and are small enough to fit into electrical boxes with the case on. http://www.ebay.com/itm/New-US-Plug-USB-AC-Wall-Charger-Adapter-For-Samsung-iPad-iPhon-White-f20-/281681762352?pt=LH_DefaultDomain_0&hash=item41958a9830 I typically get them for ~$0.70 each but have also won some bids for less. those modules not so safe to be inside a 220v box without ventilation they can burst in flames (its rare but imagine it happen once in 220v box and the all house could burn...) I open one once to see how can they fit in so small box and they just cut the PCB on half and connect one half to another with ribbon cable and fold the 2 pieces on on another with a thin foam to protect the capacitors...

9

Online

11.7k

Users

11.2k

Topics

113.0k

Posts