2.21.2011

To integrate with 4 mist machines

After the single machine circuit had worked out, I was going to integrate more mist machines together to the circuit. It is because one mist machine is not enough for my work. I have bought 3 more mist machines for my whole circuit uses.


Each mist machine needs AC 24V 1.2Amp. Hence, I need an AC 24V 4.8Amp adapter to give power to 4 mist machines. However, I cannot find an adapter with 5Amp. The maximum value of adapter that I have found is 3Amp only. So, I have bought 2 adapters for giving power to the whole circuit. It should be safe and stable.


 

1.28.2011

Have Interim Report Submission and Presentation TODAY!

Today FINISHED my FYP Interim Report Submission and Presentation!

yeh yeh yeh~ HAPPY NEW YEAR!!!

1.26.2011

Finished writing Interim Report

In this week, I mainly doing the Interim Report for the submission on 28 Jan.

Finally, I have finished writing the Interim Report today!

And Now, starting to prepare the presentation on Friday.


 

1.20.2011

Start on Software Part: Learning references on AS3.0

Besides doing the Interim Report, I am now thinking on the FLASH part. I am going to find the references about sound detection on Flash. I am spending time to read the references on Flash AS3.0 .



http://www.republicofcode.com/

1.17.2011

Start to do the Interim Report

I have dated Koala and Raymond to have Interim Report Submittion and Presentation on 28/1(Friday) at 5:30pm at Inno Center.

I think I have to start to do the Interim Report right now.

1.14.2011

Circuit SUCCESSFULLY DONE !

After a week time to integrate the circuit, I have faced a lot of difficulties. I keep read the book and the tutorials on the website and asked comments from my EE friend. Finally, it is perfectly DONE! 

VERY VERY POWERFUL .\_/.!!!




Here is the video about the operation of the whole circuit:
http://www.youtube.com/watch?v=46ybLdwXw1A

1.06.2011

Integrate the circuit

After I have add the programming code to the microcontroller, I need to test it. So that, I am going to integrate the whole circuit. I am following the circuit diagram that I have designed before. Hope I can be successful!






12.17.2010

Program on microcontroller

I have finished the programming part.

#include <avr/io.h>
#include <util/delay.h>

//Simple Wait Function
void Wait()
{
   uint8_t i;
   for(i=0;i<250;i++)
   {
      _delay_loop_2(0);
   }

}

void main(){
      DDRC = 0x00;         // Configure Port C as input port
    PORTC = 0xFF;         //enable internal pull-up
    DDRD = 0xF0;          // Configure Port D as input port
    PORTD = 0xFF;         //enable internal pull-up

    while(1){
        if(PINC==0xfe){                //pull key 1
            PORTD|=_BV(7);            //relay on
        }
        else if(PINC==0xfd){            //pull key 2
            PORTD&=~_BV(7);            //relay off
        }
        else{
            if((PIND & 0b00000001) == 0b00000001)    //get input
                PORTD&=~_BV(7);            //relay off   
            else{
                PORTD|=_BV(7);            //relay on
                Wait();                //5 second delay
            }
    }
    }
}

I have set:
when distance sensor get the signal, the mist machine would work after 5 seconds.

To add the programming to the microcontroller , an AVR-ISP programmer is needed.
Here is a programmer for me to transfer the program from the computer to the microcontroller .


Microcontroller



 AVR-ISP Programmer


12.13.2010

A updated detail Circuit Diagram

Oh yeah! I have finished all the exams in this semseter. But, still have some assignments...

After I have studied on the website and book, I made an updated detail circuit diagram for connecting to a single mist machine. The circuit includes a microcontroller, relay, op-amp, variable resistor, distance sensor, power supply and mist machine.


11.29.2010

Start on learning the C programming to operate with Microcontroller

I borrowed a book from my friend. It is about the C programming and the operation of Microcontroller



Actually, I have studied C programming from two CS courses, which are
CS2331        Problem Solving & Programming
CS2333        Object-Oriented Programming for Media
These 2 courses teach me the idea of C and C++ programming. And the course 
CS2114        Computer Organization for Media
, which introduces the logic and operation between hardware and software.
Hence, it is easier for me to read and understand the book. 
However, I have just learned the software part in school. 
I have never tried to operate with the hardware yet. So, it is very exciting!