LaserLarry Admin

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #2880
    LaserLarry Admin
    Keymaster

    I do my best to make that happen.

    #2084
    LaserLarry Admin
    Keymaster
    // reading pulse output of the YF-S201 flow sensor 
    
    volatile int flowSignal; //measuring the rising edges of the signal                              
    int hallsensor = 2;   //The pin location of the sensor
    byte statusRelay = 3;    // flow is active
    byte alarmPin = 4;    // the number of the alarm pin
    
        void flow ()     //This is the function that the interupt calls 
        { 
        flowSignal++;  //This function measures the rising and falling edge of the hall effect sensors signal
        } 
    
            // The setup() method runs once, when the sketch starts
            void setup() //
            { 
             pinMode(hallsensor, INPUT); //initializes digital pin 2 as an input
             pinMode(alarmPin, OUTPUT); //initializes digital pin 4 as an output
             pinMode(statusRelay, OUTPUT); //initializes digital pin 3 as an output
             digitalWrite(statusRelay, LOW); //initializes digital pin 3 low
             attachInterrupt(0, flow, RISING); //interrupt is attached
            } 
               // the loop() method runs over and over again,
               // as long as the Arduino has power
               void loop ()    
               {
               flowSignal = 0;      //Set flowSignal to 0 ready for sensing pulses
               sei();            //Enables interrupts
               delay (500);      //Wait .5 second
               cli();            //Disable interrupts
    
                  { 
                  //read counts and outputs status:
                  if (flowSignal < 1) {
                  digitalWrite (statusRelay, LOW); //ouput low, relay off
                  } else {
                  digitalWrite (statusRelay, HIGH); // ouput high, relay on
                  }
     
                  }
                
                //read counts and alarm if counts less than 1:
                if (flowSignal <  1) {
                digitalWrite (alarmPin, HIGH); //ouput high if no flowSignal
                } else {
                digitalWrite (alarmPin, LOW); // ouput low if flowSignal present
                }
                }
    
    #1255
    LaserLarry Admin
    Keymaster
    #1398
    LaserLarry Admin
    Keymaster

    I think it is amazing that it actually works.

    #1397
    LaserLarry Admin
    Keymaster

    Yes you can post all the pictures you want!

    #1421
    LaserLarry Admin
    Keymaster

    Hi Brian,

    Glad to see you here and look forward to your contributions!

    #1405
    LaserLarry Admin
    Keymaster

    Wow! Thank you for finding that spelling error.
    In the spirit of transparency, I’m going to leave this post to let everyone know you found the error.

    #1340
    LaserLarry Admin
    Keymaster

    I wanted to update this post to say yes, I did purchase the software even though LightBurn is hosted on this forum.

    When I first purchased the software, Oz offered a year free due to issues with the USB connection on the Rudia Controllers. I opted to still purchase the software knowing it had issues. Supporting the people who work hard to make it easy for the rest of us is why we have such a great product and support.

    #1379
    LaserLarry Admin
    Keymaster

    Lightburn and the smoothie board make a great combination.

    #1387
    LaserLarry Admin
    Keymaster

    Welcome!

    Looking forward to seeing your progress and some of your creations!

    #1376
    LaserLarry Admin
    Keymaster

    No one has heard from Scott in awhile. I have called and emailed without an answer. His website is also no longer live.

    #1334
    LaserLarry Admin
    Keymaster

    Hi Lumpy,

    Yes that milliamp meter will work but an analog meter responds faster and is actually more accurate when quickly changing current.

    #1317
    LaserLarry Admin
    Keymaster

    That looks great! The tree wears it well! 😉

    Let us know when it posts so we can vote for you.

    #1253
    LaserLarry Admin
    Keymaster

    tealvince said First of all, thanks for creating this forum.

    You are very welcome! Please spread the word.

    Larry

    #1240
    LaserLarry Admin
    Keymaster

    Thanks for the tip! The plugin has been added. Most of all thanks for stopping by!

Viewing 15 posts - 1 through 15 (of 15 total)