Skip to content
  • Current Monitoring - How?

    Hardware arduino current sketch sensor
    8
    0 Votes
    8 Posts
    5k Views
    P
    Any updates on how this turned out?
  • 2 Votes
    6 Posts
    3k Views
    hekH
    @destos Wow!
  • 0 Votes
    4 Posts
    4k Views
    V
    I built a trip wire for the post box that I'm connecting. It's however based on a mercury tilt sensor so I'm really not sure whether I think it's a great idea putting it to use (at least not with a sturdy case...). However, I can share my code: #define DIGITAL_INPUT_SENSOR 2 // 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) MyMessage msgTripped(CHILD_ID_TRIPPED, V_TRIPPED); void setup() { gw.sendSketchInfo("Postal", "1.0"); gw.present(CHILD_ID_TRIPPED, S_MOTION); pinMode(DIGITAL_INPUT_SENSOR, INPUT); // sets the motion sensor digital pin as input } void loop() { boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == LOW; if(tripped) { gw.send(msgTripped.set("1")); // Send tripped value to gw } gw.sleep(INTERRUPT,FALLING, SLEEP_TIME); }
  • Sample Door SW does not compile !

    Troubleshooting arduino rf24 compilation
    3
    0 Votes
    3 Posts
    2k Views
    m26872M
    I compile the example sketch fine with IDE 1.5.7. Do you have uncommented the #define SOFTSPI in RF24_config.h for some reason (eg programming your gateway)?. If so comment it back again.
  • 0 Votes
    13 Posts
    6k Views
    thermistor1T
    @BulldogLowell Yes, all is working, thanks. If you want to use this code for reference it is fully functional.
  • Garage Door opener

    Vera window control arduino vera3
    3
    0 Votes
    3 Posts
    3k Views
    D
    Never mind I updated to 1.4 and tweaked the code all is working fine.
  • Battery Level Measurement

    General Discussion arduino battery
    11
    0 Votes
    11 Posts
    12k Views
    funky81F
    Hi @tbowmo, do you mind to explain a bit about the design? I'm interested with your design. I will use these steps for removing voltage regulator, http://goo.gl/CsZaNg So the design will be battery > external step up regulator (http://goo.gl/PFt99R - to stabilize 3.3v) > vcc pin ? with these then I can use my first post design? Thanks
  • 0 Votes
    8 Posts
    5k Views
    daulagariD
    You should not typ "\n"! It means that you should press enter on your keyboard. On Linux I saw that I have to send "\r\n" instead of "\n". "\r\n" (Carriage return, Line feed) is the Windows return, "\n" only the Linux return.
  • Capacitive sensor w/ transceiver

    Development arduino capacitive touc nrf24l01+
    4
    0 Votes
    4 Posts
    2k Views
    C
    @BulldogLowell I just realized you hyperlinked the command. Disregard my previous message.
  • 0 Votes
    3 Posts
    3k Views
    epierreE
    a spark core wouldnbe the best in this case
  • Arduino (Fibaro Wall plug)

    Feature Requests fibaro arduino wall plug
    3
    0 Votes
    3 Posts
    3k Views
    M
    Sorry didn't know this.
  • 3 Way Switch with Relay Sensor

    Vera vera arduino switch realy
    10
    0 Votes
    10 Posts
    17k Views
    S
    Use a latching relay. Here is one I found on Amazon. https://www.amazon.com/dp/B015MRQNXS/?coliid=I3LXTGKX4GEPUR&colid=31WWM91JAUE22&psc=1&ref_=lv_ov_lig_dp_it If you are trying to use with existing 3 ways use https://www.amazon.com/dp/B015MSYQ8Q/?coliid=I3RP8X9OMYWU97&colid=31WWM91JAUE22&psc=1&ref_=lv_ov_lig_dp_it Use an optocoupler to indicate lamp status...see the last diagram in this post. https://forum.arduino.cc/index.php?topic=435506.0
  • 0 Votes
    9 Posts
    9k Views
    Catalina AlquingaC
    @AWI I 'm doing a similar project prodias help me make connections as your project and how to perform with I2C
  • Arduino & CC3000 Wifi & NRF24L01+ over SPI

    Hardware arduino spi
    8
    0 Votes
    8 Posts
    5k Views
    F
    @jesse said: I found the solution on this page: http://mathertel.blogspot.com/2013/04/using-spi-bus-with-ethernet-sd-card-and.html The key is setting the Chip Select (CS) line to be different for each module. For the CC3000... "#define ADAFRUIT_CC3000_CS 7" Pin 7 is being used exclusively to select the Wifi module. https://learn.adafruit.com/adafruit-cc3000-wifi/cc3000-breakout For the NRF24L01+... "RF24 radio(9,10);" Pin 9 is being used for Chip Enable (CE) and Pin 10 is Chip Select (CS). http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo http://maniacbug.github.io/RF24/classRF24.html The other SPI pins: CLK, MISO, MOSI, are shared by the two modules and get wired in parallel. Hi do you still have a Gateway code when using CC3000 and arduino Mega or UNO(if it fits)?
  • Arduino Mini Pro 5v - how to power

    Troubleshooting power arduino pro mini
    31
    0 Votes
    31 Posts
    28k Views
    Z
    @epierre said: Both need protection (internal or external) from excessive discharge (or excessive charge, and short circuits etc) That is where our new library to check battery level goes in, we could dream to have an internal mysensor security check of a LiPo battery ! they do so in 'copters I may pass on that. I'm not used to software glitches having quite so much potential impact, and I don't need to save every gram. But to each their own!
  • Lua Startup Failure (*SOLVED*)

    Vera arduino veralite
    31
    0 Votes
    31 Posts
    23k Views
    Donny152D
    I'll admit a newbie at this. but I"m about beyond frustrated. I've been trying to get my "Vera Edge" Serial gateway up and running. I had it working, using a nano ATmega328 w/FTDI chipset. So that was great! All your posts were very helpful! So I decided to move forward and start building my sensors. The first sensor I built was a motion sensor also using a nano ATmega328. So I got it up and running, communicating with the gateway, and than the Vera controller dropped it and I kept get the same error message, Device not ready, "LUA Startup Failure. If you all have any another ideas on what could be causing this I could sure use your help! Thanks
  • 0 Votes
    6 Posts
    5k Views
    epierreE
    @legeantvert said: On the same way, i dont understand how and where are stored the values inside the gateway if not used on each reception, are they stored somewhere to be able to answer them when serial request arrive? You could bypass this on some kind of events obviously ! Actually my perl gateway is acting as the server Vera is for the arduino gateway. So from there I can trigger external URL, store data in a sqlite3 database... and so on !

18

Online

11.7k

Users

11.2k

Topics

113.1k

Posts