We tried to do that by developing the Arduino code by using filter library and

We tried to do that by developing the arduino code by

This preview shows page 43 - 48 out of 55 pages.

range and measure the distance that dissipates the sound. We tried to do that by developing the Arduino code by using filter library and using any frequency as input and generates the frequency ultrasonic range but this was a little bit difficult to develop simulation other giving a pulse as frequency and again we haven’t the exact device that senses each frequency. Therefore this thesis will be developed for future by using exact device that senses any frequency as input for arduino microcontroller to produce a frequency in ultrasound range. FINAL THESIS REPORT
Image of page 43
Reference [1] A. Brouwer, M.P. Longnecker, L.S.Birnbaum, J. Cogliano, P. Kostyniak, J. Moore, S.Schantz and G. Winneke, “Characterization of Potential Endocrine Related Health Effects at Lowdose Levels of Exposure to PCBs. Environ Health Perspect”. 107, 1999. [2] Dr. S. Thangalakshmi, R. Ramanujan,“Electronic Trapping and Monitoring of Insect Pests troubling Agricultural Fields” International Journal of Emerging Engineering Research and technology, Vol. 3, Issue 8, pp. 206-213, August 2015. [3] Jhaver.S, Singh.R, Hiremani.T, Kumar G (2009), “Electronic Pest Repellent”, [Online] Available: [4] Dhaliwal GS, Jindal V, DhawanAK,“Insect pest problems and crop losses: changing trends” Indian Journal Ecology, Vol. 37, Issue1s, pp. 1–7, 2010 [5] S.Jhaveri,R.SinghandT.Hiremani,"ElectronicPestRepellent",.[Onlin e].Available:/wel45/public_html/edl09s/b01.pdf. [6] Nur Najiah Binti Mohd Nasir, "Design A Smart Insect Repeller Using Ultrasonic Sensor", Faculty Of Electrical & Electronics Engineering, Universiti Malaysia Pahang, 2012. [7] Syazwani Elya BtShaharuddin, 2009, Ultrasonic Bird repeller dept. of electrical engg, 2412- 266 [8] KhairulFadzly Bin Kushiar2011, Pest repeller system, Faculty of Electronic and Computer Engineering, UniversityTeknikal Malaysia Melaka. [9] Instruction manual QuadblasterQB 4 ultrasonic bird repeller, 1994 FINAL THESIS REPORT
Image of page 44
Appendix #include <LiquidCrystal.h> LiquidCrystal lcd (13,12,5,4,3,2); int trigger=9; int p=A0; int b=1; float xxx; int led= 8; int led1= 7; int led2= 6; void setup() { lcd.begin(16,2); lcd.print("repelled pest "); delay(1000); Serial.begin(9600);pinMode(11,INPUT);pinMode(10,OUTPUT); pinMode(trigger,OUTPUT); pinMode(led,OUTPUT); pinMode(led1,OUTPUT); pinMode(led2,OUTPUT); pinMode(b,INPUT); pinMode(A0,INPUT); TCCR1A = _BV(COM1A1) | _BV(COM1B1) ; TCCR1B=_BV(WGM13) |_BV(CS10); } void loop() { lcd.setCursor(0,0); digitalWrite(10,HIGH); delay(10);digitalWrite(10,LOW); int t=pulseIn(11,HIGH); int dist=t/58.2; FINAL THESIS REPORT
Image of page 45
dist=abs(dist); if(dist>0) Serial.println(dist); int X=analogRead(A0); if (analogRead(A0) <100) { digitalWrite(8,HIGH); digitalWrite(7,LOW); digitalWrite(6,LOW); lcd.clear(); //lcd.setCursor(1,1); lcd.print("weevil"); delay(10); } else if (analogRead(A0)<150) { ICR1 = 710; xxx = analogRead(A0); xxx = xxx * ICR1; xxx = xxx / 1023; OCR1A = int(xxx); digitalWrite(8,HIGH); digitalWrite(7,LOW); digitalWrite(6,LOW); lcd.clear(); //lcd.setCursor(1,1); lcd.print("weevil"); delay(10); } else if (analogRead(A0)< 200) { FINAL THESIS REPORT
Image of page 46
ICR1 = 639; xxx = analogRead(A0); xxx = xxx * ICR1; xxx = xxx / 1023; OCR1A = int(xxx); digitalWrite(8,HIGH); digitalWrite(7,LOW); digitalWrite(6,LOW); lcd.clear(); //lcd.setCursor(1,1); lcd.print("weevil"); delay(10); }
Image of page 47
Image of page 48

You've reached the end of your free preview.

Want to read all 55 pages?

  • Fall '19

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture