Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. iotearoa
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by iotearoa

    • RE: Different Lux reading when using MySensors compared to BH1750.h

      0_1486109455419_LightReading.JPG

      Miles away...

      When my reading in BH1750.h library is at 529 lux
      My reading in MySensors is at 34-39 lux

      So I'm not sure why.... I'm guessing maybe it's the resolution mode in MySensors?

      Here's my serial print. Please disregard the Buf label, its just my sloppy labelling. 🙂

      0_1486109793472_LightReading COM.JPG

      posted in Troubleshooting
      iotearoa
      iotearoa
    • Different Lux reading when using MySensors compared to BH1750.h

      I noticed that the readings are completely different between MySensors and BH1750 library or perhaps I'm misinterpreting the lux values?

      I've used the sample sketch in both in the BH1750 library and MySensors.

      Any ideas why?

      Thank you!

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: Still not going well for me.

      Have you tried using 10uf? That fixes the problem for me.
      You can use between 4.7 upto 47uf. Most people I've read the 10uf fixes it.

      As stipulate at mysensors:
      0_1484820424349_47uf.JPG

      Maybe, Mysensors should really highlight that? 🙂

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      @gohan

      I'm measuring ambient lighting and motion sensor (Its directly using a 12v PIR ) at the moment in my room and using a

      Mosquitto+Paho+MongoDB+SlamData for some analytics. I'm curious what analytics I'll get with this setup. Who knows right? 🙂

      Then you'll notice there's an OLED. It's just simply a replacement for the serial() so I can see the debug than plugging the USB all the time.

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      @sundberg84 @gohan its solved. Thanks for the help! Bad, 4.7uf, poor wiring and not to mention "a man look" on which pins I've used 🙂

      Thanks again!

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      Found out that my W5100 clone is having serious auto-negotiation issues with my linksys switch. I jumped it earlier like this

      0_1484724441863_Jump this.png

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      @sundberg84

      Hmm... no good.. I've basically moved a known working breadboard + 4.7uf from my other prototype below. I'm still getting the same error.

      0_1484724261024__MG_0085.JPG

      I'll triple check the wiring and replace all of them just in case.

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      @gohan copy pasted the one from here

      https://raw.githubusercontent.com/mysensors/MySensors/master/examples/GatewayW5100/GatewayW5100.ino

      thank you

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      It turns out the W5100 ethernet is working after using the sample sketch from Arduino.
      Now plumbed NRF directly on the W5100 shield:

      0_1484722470375__MG_0086.JPG

      Now I'm getting this:
      0_1484722335196_RE-INIT FAIL.JPG

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      @sundberg84 it was blank. I'll start with just simply the ethernet shield and use the DhcpChatServer sketch to rule out it's not the shield then move my way to the NRF. Thanks for the rapid response. I'm testing it now.

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      Unfortunately no, I'll check if its the clone shield is at fault and let you know

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: UNO R3 + Prototyping Breadboard + W5100 Shield

      @joe.k

      That's good to know that it works! are you able to share your sketch to me? Or did you use the same one from the tutorials?

      I'm still quite new to this exciting world.

      Thank you

      posted in Troubleshooting
      iotearoa
      iotearoa
    • UNO R3 + Prototyping Breadboard + W5100 Shield

      I've spent a whole day trying to get this setup working. I'm definitely doing something wrong and I'm lost. I've followed the same pinouts as the Ethernet tutorial but I think since I've got a breadboard, the pin out would be different (I believe).

      I've attached the shields I'm using.

      0_1484457467473__MG_0084.JPG

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: Not getting correct value from BH1750

      Thanks @Nca78 ! That worked!

      posted in Troubleshooting
      iotearoa
      iotearoa
    • Not getting correct value from BH1750

      I managed to get all three of these working:

      • NRFL as client
      • OLED SPI 128x64
      • BM1750

      My C programming is a bit rusty I hope someone could help me. I'm planning to use the OLED screen as a "serial console" rather than plugging in a USB all the time. However, when I use the readLightLeve() from BH1750 libraries, on my SPI I'm getting gibberish characters. I suspect because the u8g.print() anticipates a char

      Any ideas how do I fix this? Here's the draw() function I used within the loop

      void draw(void) {
      uint16_t lux;
      lux = lightMeter.readLightLevel();
      u8g.drawBitmapP( 76, 5, 6, 50, logo);
      u8g.setFont(u8g_font_unifont);
      u8g.drawStr(0, 30, "Lux: ");
      u8g.setPrintPos(44, 30);
      u8g.print( lux , 0);
      }

      0_1483416685920__MG_0084_small.JPG

      posted in Troubleshooting
      iotearoa
      iotearoa
    • RE: Very simple client gateway for newbs

      Thanks that's exactly what I need! 🙂

      posted in General Discussion
      iotearoa
      iotearoa
    • Very simple client gateway for newbs

      Hi,

      I've got two sets of NRF24LOI and Arduino UNO. I'm extremely new with these radios and I've been searching around how to build a very simple client <-> gateway, just want to see this two doing a "ping/pong" via the radios.

      I've already gone through the Serial gateway but I'm stuck after that.

      Thanks in advance!

      posted in General Discussion
      iotearoa
      iotearoa