1. We are currently experiencing issues with viewing and uploading images, our team is working on the issue.
    Dismiss Notice

Raspberry Pi Dawn/Dusk Light Control

Discussion in 'Do It Yourself' started by DeMoNeye, Oct 23, 2016.

  1.  
    DeMoNeye

    DeMoNeye Well-Known Member

    Just started work on a single channel LED light control that will include dawn and dusk fades... Got a digital potentiometer working that fades 0 to 100k under code control. Found it much easier to understand than PWM.

    _20161023_211557.JPG

     
    VegasWinner likes this.
  2.  
    DeMoNeye

    DeMoNeye Well-Known Member

    Real time clock added to the Pi and configured...

    IMG-20161025-WA0000.jpeg
     
    VegasWinner likes this.
  3.  
    Nugachino

    Nugachino Well-Known Member

    What version of pi is that one?
     
  4.  
    DeMoNeye

    DeMoNeye Well-Known Member

    B+ V1.2

    I've now added 3 relays and waiting on a 16x2 display to start the coding!
     
  5.  
    Nugachino

    Nugachino Well-Known Member

    I think mine only has 256Mb memory.
     

    Attached Files:

  6.  
    DeMoNeye

    DeMoNeye Well-Known Member

    Yeah, looks like version 1 - will still do all I'm intended to do, I was just gifted the Pi from a friend.
     
  7.  
    Nugachino

    Nugachino Well-Known Member

    I got mine from the local techie for nix because we used to play on Steam together.
     
    DeMoNeye likes this.
  8.  
    VegasWinner

    VegasWinner Well-Known Member

    Nice
     
    DeMoNeye likes this.
  9.  
    DeMoNeye

    DeMoNeye Well-Known Member

    Waiting a 16x2 display and button kit then I'll have everything to start - got a 5v/3a PSU to run it all.

    Set 3 variables (start time, day length, dawn/dusk minutes) and the code is virtually there - display will allow me to box it all up...
     
    Nugachino likes this.
  10.  
    VegasWinner

    VegasWinner Well-Known Member

    Sounds nice. I did a diy Arduino version with six channels. Lcd, buttons, rtc. Check out the code you might find something of use.
     
    DeMoNeye and Nugachino like this.
  11.  
    DeMoNeye

    DeMoNeye Well-Known Member

    Would be very interested to look at the code please - can you attach? Pretty sure the code won't be too hard, just need to get my head round date/time handling in Python and should be good to go.
     
    Nugachino likes this.
  12.  
    VegasWinner

    VegasWinner Well-Known Member

    DeMoNeye likes this.
  13.  
    DeMoNeye

    DeMoNeye Well-Known Member

Share This Page