Showing posts sorted by relevance for query arduino-0-1-pin. Sort by date Show all posts
Showing posts sorted by relevance for query arduino-0-1-pin. Sort by date Show all posts

Monday 14 October 2013

INTERUPSI INTERNAL DENGAN MODE FALLING


Pada Kesempatan kali ini, saya akan memposting bagaimana cara menginterupsi, khususnya mode interupsi falling. Pada percobaan kali ini kita akan menggunakan dua buah switch yang akan di hubungan dengan pin interupsi 0 (INT0) dan pin interupsi 1 (INT1). Penekanan switch akan menimbulkan program menginterupsi program utama (yang berada pada fungsi loop), dan memaksa secara terus menerus program interupsi yang telah di inisialisasikan dari program.

Langkah-langkahnya adalah :

  1. Rangkailah rangkaian di bawah ini dengan menggunakan ISIS 7.
  2. Tuliskan sintaks program di bawah ini dengan menggunakan IDE, compile dan upload sintaks tersebut ke sistem minimum arduino.

  3. Saat kondisi salah satu switch di tekan / OFF .
  4. Saat kondisi kedua switch di tekan / ON. 
Interupsi ini terjadi ketika, saat inputan dalam kondisi HIGHmenuju ke LOW. Perubahan kondisi tersebut ( HIGH menuju LOW) di sebut Interupsi Falling. Dapat kita lihat pada pin 2 dan pin 3 telah bernilai 1 karena dalam kondisi Pull Up, sebelum switch di tekan. Dan pada saat Switch di tekan terjadilah perubahan nilai dari 1 ke 0 (Falling) di karenakan Switch terhubung dengan ground. Saat terjadinya peristiwa falling program akan mengeksekusi program interupsi tersebut. Dan setalah program menginterupsi, maka program akan melanjutkan program utama kembali (Count Loop) secara terus menerus.

    Tuesday 4 August 2015

    RIDIKC INDUSTRIES



    RIDIKC INDUSTRIES

    Ridikc Indutries Melayai Jasa Pembuatan Program, Software Dan Hardware Untuk Penunjang Kegiatan Kerja Untuk Tugas Mahasiswa, Perorangan, Perusahaan, Maupun Organisasi. Dengan Layanan Full Costumize Dimana Program, Software Dan Hardware Yang Kami Buat Dapat Disesuaikan Dengan Alur dan Proses Bisnis Di Perusahaan Atau Organisasi Maupun Tugas Akhir Kampus Yang Menggunakan Program Atau Software Tersebut. Sehingga Tidak Terjadi Kasus Seperti Perusahaan Yang Harus mengikuti Alur Kerja Namun Kami yang akan menyesuaikan, dan itulah yang menjadi salah satu kelebihan kami dibanding jasa pembuatan program software dan jasa pembuatan hardware microcontroller lain.

    Website Ini Merupakan Blog Dari Website Resmi Ridikc Industries | www.fajar-el-ridikc.com

    YANG KAMI KERJAKAN

    Kami Adalah para programmer dan enginner seniman, dimana yang kami buat bukan sekedar jadi dan kami kirim, namun yang kami kerjakan dituntut untuk sesuai yang dipesan bahkan lebih, dengan unsur keindahan seni yang kami tampilkan, yang kami kerjakan bukan hanya software melainkan juga hardware, Yang kami Produksi Antara Lain :

    Kategori Software Management :
    1.   Software Management Kantor
    2.   Software Klinik
    3.   Software Pendidikan/Sekolah
    4.   Software Restaurant
    5.   Software Managemen Gedung
    6.   Software Laundry
    7.   Software HRD & Payrool
    8.   Software Online Education
    9.   Software Test Online
    10. Software Pengarsipan & E-Filing
    11. Software Manufacture
    12. Software Showroom
    13. Software Export Import
    14. Software Perhotelan
    15. Software Travel Agent
    16. Software Administrasi
    17. Software Koperasi
    18. Software Perpustakaan
    19. Software Billing
    20. Software Tecnical Analyst
    21. Software Management Aset
    22. Software Point Of Sales
    23. Software Inventory
    24. Software Akuntansi / Accounting
    25. Software ERP
    26. Software CRM
    27. Software Sistem Produksi
    28. Software Management Proyek
    29. Software Perkebunan
    30. Software Rumah Sakit
    31. Dll.. (Sesuai Pesanan)

    Kategori Software Kreatif :
    1.   Software pendeteksi Wajah (Face Detection)
    2.   Software Barcode
    3.   Software Sound Analyzer
    3.   Software Hacking (Tidak Dianjurkan)
    4.   Software Promosi (Auto Posting Jaringan Sosial, Auto Sms, Auto Email,Dll..)
    5.   Software Pendeteksi Jari (fingerprint)
    6.   Software Pendeteksi Gerakan
    7.   Software Autologin
    8.   Software Sms Gateway
    9.   Software Keamanan Komputer
    10. Software Keamanan Rumah/ Kantor
    11. Software Berbasis Bluetooth
    12. Software Berbasis Wifi
    13. Software Berbasis Infrared
    14. Software Berbasis Internet
    15. Software Berbasis Lan
    16. Software Berbasis Microcontroler
    17. Software Berbasis Bluetooth 
    18. Semua Software yang menggunakan sensor dan pencitraan maupun microcontroler
    19. Dll.. (Sesuai Pesanan)

    Kategori Website :
    1. Website Profil
    2. Website Magazine / Portal Informasi
    3. Website Kecerdasan Buatan (Ai) / Sistem Pakar
    4. Website E-Learning
    5. Website Toko Online
    6. Website Aplikasi
    7. Website Blog
    8. Dll.. (Sesuai Pesanan)

    Kategori Hardware :
    1. Control Relay (lampu,tv,pagar elekronik dll..) dengan bluetooth Berbasis Microcontroler
    2. Control Relay (lampu,tv,pagar elekronik dll..) dengan Wifi Berbasis Microcontroler
    3. Control Relay (lampu,tv,pagar elekronik dll..) dengan  Finger Print Berbasis Microcontroler
    4. Control Relay (lampu,tv,pagar elekronik dll..) dengan  Keypad Berbasis Microcontroler
    5. Control Relay (lampu,tv,pagar elekronik dll..) dengan  Finger Print Microcontroler
    6. Control Relay (lampu,tv,pagar elekronik dll..) dengan  Finger Print Microcontroler
    7. Tekhnologi Aurdurino (Arduino Kreasi Sendiri)
    8. Tekhnologi Rasbarry
    9. Tekhnologi Intel Galileo
    10. Semua Sistem Keamanan dan Absensi
    11. Dll.. (Sesuai Pesanan)


    YANG KAMI KUASAI
    1. Bahasa Pemrograman Desktop VB6.0
    2. Bahasa Pemrograman Desktop VB.NET
    3. Bahasa Pemrograman Desktop JAVA
    4. Bahasa Pemrograman Desktop DELPHI
    5. Bahasa Pemrograman Desktop VISUAL C++
    6. Bahasa Pemrograman Desktop FLASH
    7. Bahasa Pemrograman Desktop C#
    8. Bahasa Pemrograman Desktop JAVA
    9. Bahasa Pemrograman Desktop PYTHON
    10. Bahasa Pemrograman Mobile JAVA
    11. Bahasa Pemrograman Mobile FLASH AC3
    12. Bahasa Pemrograman Web PHP
    13. Bahasa Pemrograman Web HTML
    14. Bahasa Pemrograman Web JAVASCRIPT
    15. Bahasa Pemrograman Web CSS
    16. Bahasa Pemrograman Web ASP
    17. Bahasa Pemrograman Rakitan C++
    18. Bahasa Pemrograman Rakitan ASSAMBLER
    19. Bahasa Pemrograman Rakitan BASIC

    YANG KAMI TAWARKAN
    1. Program Yang kami buat Berdasarkan Alur bisnis perusahaan
    2. User Friendly
    3. Multi Akses
    4. Support Client Server
    5. Garansi Perawatan
    6. Manual Book Dan Dokumentasi Software
    7. Penjelasan dan keterangan Menggunakan VIDEO
    8. Layanan Backup Software
    9. Dukungan 24 Jam


    TAHAPAN PEMBUATAN PROGRAM
    Tahap awal dari proses pembuatan program adalah analisa alur dari program atau software tersebut, kemudian kami mengumpulkan berkas" yang akan di letakkan pada software baik logo gambar maupun fasilitas lainnya, kami membuatkan konsep dari software yang sesuai, membuat dan mengirim 1/4 program dengan ditandai pembayaran DP, Tahap Pengerjaan dan terakhir Pengiriman Software Lengkap dengan Video Dan Manual Book beserta komponen" tambahan (+SOURCE CODE jika digunakan untuk mahasiswa) yang dibutuhkan disertai pembayaran sisa dari jasa pembuatan program software maupun hardware.

    MEKANISME PEMBAYARAN 
    1. Hubungi kami melalui form Contact atau melalui Telpon dan Email.
    2. pembahasan mengenai program yang akan dibuat berupa alur (Flowchart), Hak akses, Platform program, dan lain-lain Melalui Email/Tlp jika wilayah jambi Staff kami akan datang ke lokasi anda untuk melakukan Pembahasan.
    3. Jika Kantor, Penerbitan SPK (Surat Perintah Kerja) , Penandatanganan perjanjian dan kontrak kerja. (Abaikan Jika Pribadi Atau Mahasiswa).
    4. Jika Diluar Wilayah Jambi Pengiriman ¼ program kemudian Pembayaran uang muka sebesar 50% dari total harga yang telah disepakati
    5. Proses pengerjaan dan konsultasi.
    6. Setelah program selesai dan terinstal maka pelanggan wajib membayar sisa pembayaran sebesar 50% dari total harga yang telah disepakati.

    FORM CONTACT-US
    Alamat : Pasir Putih, Kota JAMBI
    Tlp : 085369237896
    E-Mail : Fajarudinsidik@gmail.com
    BB Pin : 573D59DA

    BIAYA PEMBUATAN PROGRAM
    Harga yang untuk pembuatan program dan alat elektronik ini sangatlah ekonomis namun tetap disesuaikan dengan apa yang dipesan dan diinginkan, Kami menspesialkan mahasiswa karena sebagian besar tenaga ahli adalah mahasiswa yang telah diarahkan Dan prefesional. 

    NOTE :: TIDAK HANYA MEMBUAT SOFTWARE KAMI JUGA MENJUAL BERAGAM SOURCE CODE DENGAN BERAGAM BAHASA PEMROGRAMANNYA.


    NOTE :: TIDAK HANYA MEMBUAT DAN MENJUAL KAMI JUGA MENYEDIAKAN PELATIHAN PRIVATE KURSUS PEMROGRAMAN DAN MESIN.




    # Dan Yang telah Mengikiti Privat Diberi Kesempatan Untuk Bekerja Sama dan Diberi Pekerjaan Apabila Ada pekerjaan Yang memadai dan Telah Dirasa Mampu untuk mengerjakan, 

    # MAJU BERSAMA MENCERDASKAN BANGSA..




    Saturday 28 September 2013

    PEMOGRAMAN DIGITAL OUTPUT MENGGUNAKAN LIBRARY ARDUINO



    Baiklah sobat pembaca blog saya yang setia, kali ini saya akan membagi sedikit bagaimana cara memprogram 6 buah LED yang mana 3 LED akan di program menyala, dan 3 LED lagi di program mati menggunakan IDE. Langsung saja saya akan menjelaskan step by step cara memprogram nya.

    1. Rangkailah rangkaian seperti pada gambar ini pada software ISIS 7:
    2. Tulislah sintaks program ini pada IDE anda, lalu kompilasi dan upload pada sitem minimum arduino sobat pembaca.
    3. Amati kondisi ke-enam LED yang terhubung ke arduino sobat. Maka kondisinya kurang lebih akan seperti tabel di bawah ini :
    Maksud program di atas adalah pin 8, 9, 10, 11, 12 dan 13 adalah inputan. Jadi, ketika inputan bernilai 1. Maka, ouput akan menyala, teapi pin 11, 12, dan 13 akan mati. Dikarenakan, sintaks looping pada pin 11, 12, dan 13 bernilai 0 atau LOW.

      Wednesday 21 October 2015

      PROPELLER :: PROPELLER(ROTATING) LED DISPLAY





      People often use ARDUINO platforms and other microcontrollers (pic, avr ) for making a propeller led display. If you are from a rural area like me it will be a little difficult to have such good hardware.I am trying to make one using AT89S52 microcontroller (which is very cheep).

      i'm using a 11.0592MHz crystal and a 7805 for power supply leds are connected to the PORT0 of the MCU. 8 LED's are used for displaying letters. I used 7 red and 1 blue led to make it look good. you can connect LEDs to the microcontroller in two ways
      1. ACTIVE HIGH (logic '1' on MCU pin will make the LED glow)
      2. ACTIVE LOW (logic '0' on MCU pin will make the LED glow)

      It is better to connect the leds in active low configuration(cathode to MCU pin and anode to Vcc through 220ohm resister for current limiting.

      The whole arrangement is placed in a wheel using foam plaster so the it sticks on both sides
      the wheel is attached to 6mm shaft and 1000RPM metal gare motor.




      Keep the arrangement as strong as possible. So that it won't fall out of the high speed rotating platform.Try to make it stable to suppress the vibrations at high speed. I attached the 9V battery using a tape to the circuit board of MCU .It means  I am using "ON BOARD" power supply.

      I arranged the LEDs on a separate PCB and connected them to the pinheads and an eight pin female connector is used to connect the 8 LEDs to connect to PORT0 of AT89S52.

      I used the KIEL software to program the microcontroller. i prefer to work with C rather than assembly. I am using a USB based programmer to burn the AT89S52 MCU.

       try to make your code flexible so that you can easily modify to display any word
      at first every thing was a bit messy
      watch the video


         
              looks nice is isn't it.
      I'm trying to make a single stand still display. calculation of proper delay is very important in making this project.because speed of  any two motors is not equal.calculate delay as per your motor.motor speed should not be less than 1000.

       for displaying each letter make a standard notation.I'm following 5*7 notation



      if your motor is rotating in clock wise direction then the corresponding code will be as follows.
       leds are connected to PORT0 of AT89S52 so the logic will be
                      P0=0x81; delay( );//define this function as per your motor
      P0=0x6f;  delay( ); 
       P0=0x6f;  delay( );
       P0=0x6f;  delay( );
         P0=0x81;  delay( ); 
                                    P0=0xff;  delay( );// to make one column gap between letters 
      if it is anti clock wise then
      same code in the reverse order
      in this example im using the letter "A" which is symetrical
      for other letters you need to follow from down to top of the code algorithm discussed above
                                                                     P0=0xff;    delay( );// to make one column gap between letters
      P0=0x81;  delay( ); 
      P0=0x6f;  delay( );  
      P0=0x6f;  delay( ); 
      P0=0x6f;  delay( ); 
      P0=0x81;  delay( );
      similarly for active high the following notation must be followed
        so the code will be:

      led=0x7e;delay();
      led=0x90;delay();
      led=0x90;delay();
      led=0x90;delay();
      led=0x7e;delay();
                                                  led=0x00;delay();column gap betwwn 2 letters
      so that you can display any word on your moving display

      but the question is how much delay we need to use after each and every colum
      follow theses calculations..
      DELAY CALCULATIONS 
      motor speed===1000 RPM
      time for one rotation===60 milli seconds
      radious =30cm
      peremeter=2*3.414*30=204.84~205
      width of led column=0.5cm ( this indicated the duration of led glow in terms of length of display)
      total num of columns(leds)=205/0.5=410
      410 leds=60 milli seconds
      one led(column)time=146 micro seconds// 
      columns for each letter=6
      time for a letter=6*146=876 micro seconds
      length for letter=6*0.5=3
      total leters=205/3=68
      THE CALCULATIONS VARIES ACCORDING  TO THE GLOW TIME OF LED AND RADIUS OF THE ROTATING ARM 
      motor speed===1000 RPM
      time for one rotation===60 milli seconds
      radius =30cm
      peremeter=2*3.414*30=204.84~205
      width of led column=1cm( this indicated the duration of led glow in terms of length of display)
      total num of columns(leds)=205
      205 leds=60 milli seconds
      one led(column)time=292 micro seconds
      columns for each letter=6
      time for a letter=6*292=1752 micro seconds
      length for letter=6
      total leters=205/6=34
      THESE ARE ROUGH CALCULATIONS BECAUSE THE MOTOR SPEED IS NOT ALWAYS CONSTANT 
      BUT THEY HELP IN APROXIMATING THE DELAY



       if you are a bit good at it
      TRY WITH  "RGB" LEDS
      ALL THE BEST   
      EXAMPLE PROGRAM     
      circuit diagram using 8051 
      //THIS PROGRAM IS FOR 8051
      // in this code i did not used lookup tables for reducing the complexity                                                      
      // i just gave code logic for one letter'A' and space ' '                                                                               

      #include<reg51.h> 

                                                                                                                                  
      #define led P0 //port0 will be connected to leds 
                                       
      unsigned int del=50//variable to control delay
                                                                                                 
      void delay(void)
      {
       unsigned int i,j;
      for(i=0;i<del;i++)
      for(j=0;j<1275;j++);

      }
      void display(unsigned char car); // declaration of a function 

      void main()
      {
       while(1)
      {
        display('A'); // this displays a continious rotating"A  A  A  A"
        display(' '); 
      //try to change the del value as per your motor until you get a perfect
      //display once you got it then write your code for remaining letters 
      //once you did this it will be very easy you can do your own fonts
      //like "smily" ,"heart" etc 
      //but the main logic is to achieve perfect "delay".once if you refer to the
       //delay calculations you will get it
      //direction of rotation is also one important thing(clock wise or anti clock) 
      // this "A" is simetrical so works on both directions.
      }

      }

      void display(car)
      {
        
        switch(car)

        case 'A' : // letter A
         
         {
          led=0x81;  delay( ); 

          led=0x6f;  delay( );  

          led=0x6f;  delay( ); 

          led=0x6f;  delay( ); 

          led=0x81;  delay( ); 

          led=0xff;  delay( );// to make one column gap between letters  
         } 
          break;
        
         case ' '  : // space
         
         {
          led=0xff;  delay( );

          led=0xff;  delay( ); 

          led=0xff;  delay( );  

          led=0xff;  delay( ); 

          led=0xff;  delay( ); 

          led=0xff;  delay( ); 
          
          led=0xff;  delay( );// to make one column gap between letters 
        
         } break;
        default:
         led=0xfe;
      }
      // END of program

      =======================================================================================



                                                   //THIS PROGRAM IS FOR AVR

      // in this code i did not used lookup tables for reducing the complexity                                                      
      // i just gave code logic for one letter'A' and sapace ' '                                                                              

      #include<avr/io.h> 
      #define F_CPU 8000000 // crystal frequency used in the circuit this helps in calibration of delay as per your frequency 
      #include<util/delay.h> header file for generating delay for
                                                                                                                                  
       DDRD=0xff;     //declaring portD as out put  
       #define led PORTD   // the word "led" will be replaced by PORTD at compile time                                                                       
      unsigned int del=50 //variable to control delay
                                                                                                

      //the delay function is ther as default in util package of winavr so use:  _delay_us( );
      void delay(void)
      {
       _delay_us(del);
       _delay_us(del);
       _delay_us(del);
       _delay_us(del);
      }
       //remaining logic will be same for all microcontroller units

      void display(unsigned char car);

      void main()
      {
       while(1)
      {
        display('A'); // this displays a continious rotating"A  A  A  A"
        display(' ');
      //try to change the del value as per your motor until you get a perfect
      //display once you got it then write your code for remaining letters
      //once you did this it will be very easy you can do your own fonts
      //like "smily" ,"heart" etc
      //but the main logic is to achieve perfect "delay".once if you refer to the
       //delay calculations you will get it
      //direction of rotation is also one important thing(clock wise or anti clock)
      // this "A" is simetrical so works on both directions.
      }

      }

      void display(car)
      {

        switch(car)

        case 'A' : // letter A
        
         {
          led=0x81;  delay( );

          led=0x6f;  delay( ); 

          led=0x6f;  delay( );

          led=0x6f;  delay( );

          led=0x81;  delay( );

          led=0xff;  delay( );// to make one column gap between letters 
         }
          break;

         case ' '  : // space
        
         {
          led=0xff;  delay( );

          led=0xff;  delay( );

          led=0xff;  delay( ); 

          led=0xff;  delay( );

          led=0xff;  delay( );

          led=0xff;  delay( );
         
          led=0xff;  delay( );// to make one column gap between letters

         } break;

       default:
         led=0xfe;
       // gives an underline when no letter to display blue line in the code
      }
      // END of program

      =======================================================================================
      i m giving  the example for understanding the logic of this project.you can extend the code by adding number of "switch cases" i made it for active low logic means logic zero indicates led glowing and one indicates off.
      with this technique you can make your own custom designs like "heart " "smile"
      by changing the "del" variable value you can change the width of a letter.because no two motors are alike.
      i prefer you to go for 1000 RPMmotor from vegarobokits. Which will be around 145 Rs


      This propeller LED display can be made stable using an interrupt source. An IR sensor can be used to make it stable. Better to use a IR slot sensor as shown in the picture it will be a faster compared to an LM358 based sensor. if your motor is faster than 1500 rpm then this sensor is the best.





      observe this video carefully.... you will find a small yellow paper on the base ground which comes in between the slot sensor pins and triggers the display. So your display always starts from a particular point

      propeller LED display on sealing fan

      in the above pic the fan is shaking due to weight imbalance.

      this is due to improper delay between the letters.



      the video:





      Bluetooth controlled rotating POV LED display 



                                        ALL THE BEST

                +++++++++++++++++++++++++++++++++++++++++++++

      =============================================

      NOTE: 


        DON'T JUST ASK FOR THE ENTIRE CODE.  


      TRY TO


       DEVELOP IT FOR YOUR SELF 


           GO THROUGH THE ARTICLE ONCE AGAIN


       YOU 


      WILL FIND EVERY THING  

      +++++++++++++++++++++++++++++++++++++++++++++

      =============================================

                                                                                                                                       

      =========================================================================
      =========================================================================  


      FOR THOSE WHO WANT TO BUY THE KIT:

      FREE SHIPPING ALL OVER INDIA


      MAIL US AT
      vaabrobotics@gmail.com