Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

sloz1664

Members
  • Posts

    4,385
  • Joined

  • Last visited

Posts posted by sloz1664

  1. I agree with Steve. Fully regulated fixed 13.8 volts dc supply from Maplins, I have two and they have never faltered. Although I do have voltmeters indicating the relevant voltage sources.

     

    Steve 

     

    • Like 1
  2. 40 minutes ago, steppenwolf said:

    I have had both an EQ6 and a Mesu 200 in my Pulsar Observatory and I aimed for a central pier - this has worked well for me.

    Thanks Steve. Central it is :)

    Btw I will be looking at fully automating the Pulsar when I retire in July. I may need a little help :icon_biggrin::icon_biggrin:

     

    Steve

  3. I'm about to collect a Pulsar 2.2 metre Dome and was just wondering. Do I position the Pier central to the Dome or do I need to offset it to compensate for my EQ6 mount. I know it would differ if I upgraded to a Mesu 200...... One of those 2 am wide awake moments :help: 

    Diy build photos to follow :)

     

     

    Steve

  4. post-12560-0-42941800-1441461185_thumb.j

    I hardly believe the code is the problem... if you use the latest code on hdutton's github, it should work.
    What kind of hardware do you use? Maybe you have the links to the supplier?

    Your cloud and rain sensor behaves exactly as mine, when there was i wire connected wrong, or some sensor not responded etc. 
    Can you take a picture of your hardware?

    I actually got mine working again, even though it was totally drenched in water. i have now sealed the box even more (wish me luck) and it is up and running again :)

    Hi Daniel

    The components I purchased were these:-

    MLX 90614 - http://www.ebay.co.uk/itm/MLX90614-Contactless-IR-infrared-Close-Temperature-Sensor-Module-for-Arduino-/262011525748?

    Rain Detector - http://www.ebay.co.uk/itm/171823749829

    DS18B20 - http://www.ebay.co.uk/itm/DS18B20-Waterproof-Digital-Probe-Temperature-Sensor-Thermometer-Thermal-Module-/281392057533?hash=item4184460cbd

    Rain Sensor:  R1,R2 connected to board. VCC (red wire) to 5v. GND (brown wire) connected to GND. A0 (grey wire) to A0.

    DS18B20:  Signal to D10 (coupled with 4k7 resistor to 5v. GND wire to GND. VCC to 5v.

    I have also connected it in parasitic mode VCC + GND to GND. Signal to D10 (coupled with 4k7 resistor to 5v).

    I know the DS18B20 works as I connected it in the AAF2 Focuser circuit and it's registering temp.

    MLX 90614:  GND (black wire) to GND. VCC (grey wire) to 3v. SDA (yellow wire) to A4. SCL (red wire) to AS.

    BTW. I find covering everything in clear silicon stops any rain getting in.... but if you need to get access to any of the internal components  :eek:

    Steve

  5. Ok Howard,

    Tried to get back to this last night but a family gathering curtailed that....

    Inputted the following yellow text. 

      // gather data from sensors once a second
      if ((now%1000==0) && (last!=now)) {
        Serial.print(".");

     

        last=now; // blocks calling more than once during the same msOk inputted 

    opened the searal monitor, typed :IP# and pressed send.

    feed back from serial monitor

    Init.Done.

    .

    cheers

    It returned with:-

  6. Hi Howard,

    Did you try adding that line println() as shown below, need this to see if we returned from the init_MLX90614();  function:

     

    void setup(void)
    {
      Serial.begin(9600);

      init_DS18B20();
      init_MLX90614();


      Serial.println("Init. Done.");
    }

     

    Init. Done  - feed back from serial monitor

     

    Sorry Howard, how do I   put a Serial.print("."); within the main loop so it prints once a second to see that the processor made it there.

     

    Steve

  7. Did you try adding that line println() as shown below, need this to see if we returned from the init_MLX90614();  function:

    void setup(void)

    {

      Serial.begin(9600);

      init_DS18B20();

      init_MLX90614();

      Serial.println("Init. Done.");

    }

    My next step would be to put a Serial.print("."); within the main loop so it prints once a second to see that the processor made it there.

    It can take persistence, but there is a reason why it's working and it can be found, if taken step by step.

    Hi Howard,

    i'll try the setup when I get back home from work and let you know the results.

    Just try and change the SDA and SCL, it doesn't damage anything and takes a second... And you have the 3V and ground connected right i assume.

    /Daniel

    Hi Daniel,

    I've tried the sda / scl swop. It's connected to 3v and I'll check continuity on all connections. Also, units led power is on.

    Steve

  8. Well, so much for my first guess.  There was an obvious potential for an infinite loop in the DS18B20 init. code.

    Next guess would be one of these lines:

        ds18b20_celsius = read_DS18B20();

        MLX90614_celsius = read_MLX90614();

    If you could add // before both of these lines to comment them out and run again.  You'll have send :IP# to see if it's working.  If it works then try them one at a time to see which one did it.

    Hi Howard,

    Both OK

       ds18b20_celsius = read_DS18B20();

    // MLX90614_celsius = read_MLX90614();  OK

    // ds18b20_celsius = read_DS18B20();

       MLX90614_celsius = read_MLX90614();  Nothing.......

    Steve

  9. Ok, so we now know that something's wrong with the Nano/hardware/firmware somewhere.  I'm assuming that it's compiling correctly...

    It's probably getting hung up in initialization somewhere....

    You could do some spying on what's going on by un-commenting the following lines in CloudSensorEvoPlus:

    //  Serial.println("Initializing DS18B20 sensor...");

    //  Serial.println("Initializing MLX90614 sensor...");

    Just remove the // part and upload again.  You can't use my ASCOM driver when these lines are enabled but they will provide some feedback from the serial monitor.  For, example if the DS18B20 message comes up but not the MLX90614 then it's getting stuck trying to find the DS18B20 (my guess.)

    Howard

    Hi Howard,

    Got the following feedback from the serial monitor

    Initializing DS18B20 sensor...
    Initializing MLX90614 sensor...
    Steve
  10. Hi Daniel,


    Sorted the ic2master issue now hit with this:-  :embarassed:  :embarassed:  :embarassed:



    Arduino: 1.6.5 (Windows 7), Board: "Arduino Nano, ATmega328"


    CloudSensorEvoPlus.ino: In function 'void loop()':

    CloudSensorEvoPlus:114: error: 'processCommands' was not declared in this scope


    Any help would be really appreciated to this arduino novice.


    BTW your finished cloud sensor looks amazing and very professionally completed.


    Steve

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.