Navigation

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

    brianc1969

    @brianc1969

    0
    Reputation
    4
    Posts
    425
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    brianc1969 Follow

    Best posts made by brianc1969

    This user hasn't posted anything yet.

    Latest posts made by brianc1969

    • RE: Water level code

      I was wanting to do something like this as well. Are you using some sort of op-amp or transistor amplifier in the circuit, or just the bolts and wires to the micro?

      Please share your hardware info.

      I think @jkandasa has the right idea for the mySensors portion.

      posted in Development
      brianc1969
      brianc1969
    • RE: Battery operated actuator

      I haven't done this yet, but my plan was to have the remote sensor act just like any other transmit only node, except that it would request status from the controller for the light or whatever it is controlling, and wait a short time for a reply.

      This would also introduce delays in activating said device, but would allow the node to sleep and just wait a short time for a reply rather than waiting for an asynchronous command. It would also not require any synchronization of clocks nor continuous retransmission.

      Basically, the actuator polls the controller whenever it desires to see if a change in state has been requested.

      posted in Development
      brianc1969
      brianc1969
    • RE: Sketch works on Uno, but not pro mini

      For power, I'm using an LP2950 3.3v. I'm using a separate LP2950 5v to power the arduino and LCD. The 3.3v rail only powers the radio.

      Short answer, yes, I've tried radios both with and without the capacitor.

      Funny thing though... with my power arrangement, the power from the USB adapter provides the 5v rail, but not the 3.3v rail. Your answer made me think about that.

      So, I tried both the radio with the capacitor, and plugging in my external power supply. But never did both together. In this application, the external power was necessary to power the 3.3v rail, and the capacitor was also necessary.

      Thanks so much for guiding my thoughts in the right direction!

      To clear up any ambiguities: The capacitor was the key to solving this problem. That and the external power. The project now works as expected (minus any debugging I might still need to do).

      posted in Development
      brianc1969
      brianc1969
    • Sketch works on Uno, but not pro mini

      Hi all. I'm not entirely new to the MySensors library, I've used it successfully for sending temp data to a gateway, then logging it to a database.

      My problem now: I'm trying to build a node which can both send and receive data. The node has a 16x2 LCD attached via I2C, two DS18B20 temp sensors, two relays, and of course the radio.

      I prototyped the node with an Uno and breadboarded the sensors and relays. The code successfully sends data to the gateway.

      My final intended form factor is a pro-mini with a proto board I put together with connections for everything. Connecting the Uno to the pins where the pro-mini would be sitting, everything still works as expected.

      Now, plug in the pro-mini and download the sketch. During the initialization, the call to node.begin(xxx, xxx) never returns. I followed it all the way down until I hit the RF24 library. The MySensors library tries to find a parent node by sending a message. The RF24::write function is called, but never returns.

      I also tried this on a breadboarded bare bones 8Mhz arduino with the same failing results as the pro-mini. I've tried a different pro-mini, from a different manufacturer with the same failing results. I tried my older Duemilanove with a 328 and it works like the Uno.

      Bottom line: The sketch works great on a full size arduino, but fails on a mini and breadboarded 8Mhz chip.

      Final note: Both pro-minis were running at 5v, 16Mhz, just as the Uno. The code is right around 24k when compiled.

      Anyone have any thoughts for this weird problem?

      posted in Development
      brianc1969
      brianc1969