Timer V2.0 Redesign Timer V2.0 Redesign

After some modifications on my UV exposure box (scanner) for better UV expose, i desided that a better pcb must me designed for switch timer. The old one had over drilled holes and it was designed and built on my very fist steps. Also the high voltage side from the low voltage wasn't seperated as it needed to be safe. 

So i redesigned it in a more compact and easier to use pcb. The firmware has been also updated and now you can program the timmer by using the two buttons. The time is calculated by timer interrupt triggering using a 32.768KHz RTC Crystal with better accuracy. The display update also has been changed from static to dynamic.

The board is homeprinted at my exposure box.

Here is the schematic in pieces.

For 5V supply used for AVR, 7-segments etc, has been used a full bridge rectifier, a big decoupling capacitor and LM7805 :

The two seven segments are connected in parallel and are updated using mutliplexing. Current protection resistors are used for each segment. Q2 & Q3 are switching each display.

Here is the relay drived by Q1 witch switches on/off the relay. On the one side of the relay is connected the AC Mains and on the other the lamps.

The AVR ATmega8. A buzzer has been used to indicate when timer is on/off and when a button is pressed. Here you can also see the RTC crystal 32.768 used to trigger the timing counter.

 

DOWNLOAD HERE

 

Related Posts

22 thoughts on “Switch Timer V2.0

  1. Χάρη πρέπει να κάνω εγγραφή στο github για να κατεβάσω τα αρχεία;Ευχαριστώ!

    1. Οχι μπορείς απλά να πατήσεις το κουμπί ZIP και θα σου τα κατεβάσει σε συμπιεσμένη μορφή.

  2. μια χαρά,μια ερώτηση:

    πόσο χρόνο χρειάζεται μια πλακέτα της bungard(10cm X 70cm) στον uv θάλαμο ώστε να εμφανιστεί πλήρως το τυπωμένο;

    Ο δικός μου θάλαμος αποτελείται από 4 λάμπες UV των 8 watt η κάθε μία,τύπος F8T5/BLB,ευχαριστώ.

     

    1. Ανάλογα το θάλαμο. Δηλαδή έχει να κάνει με το πόση απόσταση απέχουν οι λάμπες από τη πλακέτα και το πόσα watt. Αν δε κάνω λάθος κ εμένα ο θάλαμος 4 λάμπες των 8 watt έχει και αφήνω τη πλακέτα 10 λεπτά. 

  3. όντως το θέμα χρὀνου κατα την έκθεση παίζει ρόλο,απλά εμένα δεν εμφανίστηκαν κανα δύο τρείς πίστες χαλκού μάλλον ο χρονος δεν ήταν επαρκείς..

  4. Κατ' αρχάς ,Μπράβο!!!  Οι κατασκευές σου είναι απίστευτες….

    Μιά ερώτηση : Στό σχηματικό έχεις  2 αντιστάσεις σε σύνδεση με τα push buttons ενώ στην πλακέτα τις έχεις καταργήσει και  χρησιμοποιείς μονο την γείωση.   Ποιό είναι το σωστό ?

    Σ'ευχαριστώ εκ των προτέρων

    Γιώργος                                                                       

     

    1. Σ ευχαριστώ για τα καλά σου λόγια. 

      Αυτές είναι οι λεγόμενς pull-ups. Μπορείς είτε να τις βάλεις είτε να ενεργοποιήσεις τις εσωτερικές του μικροελεγκτή.

      1. Χαρη καλησπέρα. Εγώ πρόσθεσα στην πλακέτα που έφτιαξα τις εν λόγω αντιστάσεις. Αυτό σημαίνει ότι πρέπει να απενεργοποιήσω στον κώδικα τις εσωτερικές pull-up ? Στο firmware που έχεις γράψει τις έχει ενεργές (γραμμές 285, 289) ή κάνω λάθος?

        Btw: το exposure box δουλεύει επιτυχώς εδώ και μερικούς μήνες (προφανώς χωρίς το χρονομετρο του).

        1. ΟΚ. Μην δώσεις σημασία στην παραπάνω ερώτηση. Είχα λάθος ρυθμισμένα Fuses στην mcu και τα βρήκα όλα στο Makefile. Τα σωστά fuses είναι :
          -U hfuse:w:0xd9:m -U lfuse:w:0x24:m

          Ο μετρητής έχει μέγιστο τα 10 λεπτά σωστά?

          1. Μην δώσεις σημασία ούτε σε αυτή την ερώτηση… LOL 🙂
            Απλά δεν έχω καταλάβει την λειτουργιά των κομβίων (πςςς ζωγραφίζω των buttons εννοώ)…
            Κατάφερα και έθεσα τον μετρητή στα 12 λεπτά που είναι το ιδανικό exposure time για το δικό μου κουτί.

    1. Όπως μπορείς να δεις από το σχηματικό είναι κοινής καθόδου.

  5. Hello Haris.

     

    Maybe you can help me with a problem regarding Atmega8-16PU (bought on ebay – china).

     

    I'm beginner to AVR microcontrollers – maybe I'm doing something wrong.

     

    I need a 2 LED timer, so I found your project on Internet.

     

    We all know that new microcontroller's fusses are set to internal RC oscillator 1MHz.

    I need to change that to Low frequency osc and when I do that Extreme Burner AVR says that writing to the atmega was successful. But when I try to read atmega again (of course with connected 32.768kHz crystal) it FAIL's. Atmega becomes unreadable.

    I tried some other CKSEL settings for external 3-8Mhz crystal or 1MHz and above, and it works. I tried to change internal osc frequency and that also works.

    Everything works except Low frequency.

     

    Can you help me with that problem?

     

    Tnx

  6. The files aren't working! Please, re-upload them in archive!

    Best regards and thanks for the nice project! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *