Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
iotearoaI

iotearoa

@iotearoa
About
Posts
17
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Different Lux reading when using MySensors compared to BH1750.h
    iotearoaI iotearoa

    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

    Troubleshooting

  • Different Lux reading when using MySensors compared to BH1750.h
    iotearoaI iotearoa

    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!

    Troubleshooting

  • Still not going well for me.
    iotearoaI iotearoa

    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? :)

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    @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.

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    @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!

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    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

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    @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.

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    @gohan copy pasted the one from here

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

    thank you

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    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

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    @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.

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

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

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    @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

    Troubleshooting

  • UNO R3 + Prototyping Breadboard + W5100 Shield
    iotearoaI iotearoa

    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

    Troubleshooting

  • Not getting correct value from BH1750
    iotearoaI iotearoa

    Thanks @Nca78 ! That worked!

    Troubleshooting

  • Not getting correct value from BH1750
    iotearoaI iotearoa

    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

    Troubleshooting

  • Very simple client gateway for newbs
    iotearoaI iotearoa

    Thanks that's exactly what I need! :)

    General Discussion

  • Very simple client gateway for newbs
    iotearoaI iotearoa

    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!

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular