(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
==''Make Noise with Buzzer''==
 
==''Make Noise with Buzzer''==
 
    
 
    
   The objectif here is to make different types of noise on a timing
+
   '''Aim:''' Here the objectif is to make different types of noise on a timing
 
   
 
   
  
Line 19: Line 19:
  
 
Our experiment can be resume as :
 
Our experiment can be resume as :
  when '''Button''' is clicked a message '''start''' is sent to the program.
+
  when '''Button''' is clicked, '''(start)''' is '''broadcasted'''.
  when the program receives  ('''start''') , '''digital 13''' receives the signal through the buzzer  
+
  when the program receives  ('''start''') , the signal is received through'''digital 13''' , the buzzer then
  which emits  a beep sound for '''1 sec'''  and stop for '''1 sec''' for '''5 times '''  
+
  emits  a beep sound for '''1 sec'''  and stop for '''1 sec''' during '''5 times '''  
 
  then change the beep sound with the delay time at '''0.5 sec ''' for also '''5 times'''.
 
  then change the beep sound with the delay time at '''0.5 sec ''' for also '''5 times'''.
 
  again change it at '''0.1 sec''' for ''' 11 time''' so and so ...
 
  again change it at '''0.1 sec''' for ''' 11 time''' so and so ...

Latest revision as of 18:44, 12 January 2015


Make Noise with Buzzer

  1. Aim: Here the objectif is to make different types of noise on a timing
  2.  

Arduino Interface buzzer.JPG


  1. digital 13 is the output port for the buzzer in our board in this experiment
  1. wait is the delay time given


caption


Our experiment can be resume as :

  1. when Button is clicked, (start) is broadcasted.
  2. when the program receives (start) , the signal is received throughdigital 13 , the buzzer then
  3. emits a beep sound for 1 sec and stop for 1 sec during 5 times
  4. then change the beep sound with the delay time at 0.5 sec for also 5 times.
  5. again change it at 0.1 sec for 11 time so and so ...
  6. etc...
  7. Till the total repeating time has elapse.
  1. while the program is executing if the key s is press the program stop
  1. when a is press again start is broadcast to the program.