web-archive-net.com » NET » E » ENGINEERBLOGS.NET

Total: 180

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • arduino solar tracker - Engineer Blogs
    down when the servo rotates Now attach the whole setup Servo motor along with the triangular base and Solar panel on a stationary base I had used an cardboard box as its base left some place on the base to place the breadboard to make the connections for the servo sensors and Arduino Step 3 Connecting the circuit The following picture shows you the connections for the photo resistors and Servo motor with the Arduino Step 4 Programming the Arduino Now its time to write some code for the Arduino to make it work Here is the simple code for the Arduino micro controller I tried to make the code as simple as possible Code include Servo h Servo myservo create servo object to control a servo int sensorOne 2 digital pin 2 has connected to the resistor of first sensor int sensorTwo 3 digital pin 3 has connected to the resistor of second sensor int inputOne 0 variable to store the values from the analog pin 0 int inputTwo 1 variable to store the values form the analog pin1 int currPos 0 variable to store the servo position void setup pinMode sensorOne OUTPUT initialize the digital pin as output pinMode sensorTwo OUTPUT initialize the digital pin as output digitalWrite sensorOne HIGH digitalWrite sensorTwo HIGH myservo attach 9 attaches the servo on pin 9 to the servo object myservo write currPos tell servo to go to position in variable pos void loop int valueOne analogRead inputOne reads the value from the right sensor int valueTwo analogRead inputTwo reads the value from the left sensor int diff valueOne valueTwo difference of two values from the sensors if valueOne 950 valueTwo 950 if light is present if diff 100 if light source is towards right currPos currPos 2 myservo write currPos tell servo to go to position in variable pos delay 30 waits 30ms for the servo to reach the position else if diff 100 if light source is towards left currPos currPos 2 myservo write currPos tell servo to go to position in variable pos delay 30 waits 30ms for the servo to reach the position end of inner if block end of main if block end of void loop method Now upload the code into the Arduino by using the Arduino IDE It will take only few seconds Make sure that you have selected the correct Arduino board and the chip used on your Arduino board My board is Arduino UNO with ATmega328 chip How the code works In the above program the main if block if value One 950 value Two 950 executes only when light is present The inner if else is used to know in which side the sun is present right side or left side If the sun is present towards the right side of the solar panel the servo moves the solar panel towards the right side in steps of two degrees until the difference of the values from two sensors is less than 100

    Original URL path: http://www.engineerblogs.net/2014/03/24/arduino-solar-tracker/?replytocom=12523 (2016-04-27)
    Open archived version from archive

  • arduino solar tracker - Engineer Blogs
    down when the servo rotates Now attach the whole setup Servo motor along with the triangular base and Solar panel on a stationary base I had used an cardboard box as its base left some place on the base to place the breadboard to make the connections for the servo sensors and Arduino Step 3 Connecting the circuit The following picture shows you the connections for the photo resistors and Servo motor with the Arduino Step 4 Programming the Arduino Now its time to write some code for the Arduino to make it work Here is the simple code for the Arduino micro controller I tried to make the code as simple as possible Code include Servo h Servo myservo create servo object to control a servo int sensorOne 2 digital pin 2 has connected to the resistor of first sensor int sensorTwo 3 digital pin 3 has connected to the resistor of second sensor int inputOne 0 variable to store the values from the analog pin 0 int inputTwo 1 variable to store the values form the analog pin1 int currPos 0 variable to store the servo position void setup pinMode sensorOne OUTPUT initialize the digital pin as output pinMode sensorTwo OUTPUT initialize the digital pin as output digitalWrite sensorOne HIGH digitalWrite sensorTwo HIGH myservo attach 9 attaches the servo on pin 9 to the servo object myservo write currPos tell servo to go to position in variable pos void loop int valueOne analogRead inputOne reads the value from the right sensor int valueTwo analogRead inputTwo reads the value from the left sensor int diff valueOne valueTwo difference of two values from the sensors if valueOne 950 valueTwo 950 if light is present if diff 100 if light source is towards right currPos currPos 2 myservo write currPos tell servo to go to position in variable pos delay 30 waits 30ms for the servo to reach the position else if diff 100 if light source is towards left currPos currPos 2 myservo write currPos tell servo to go to position in variable pos delay 30 waits 30ms for the servo to reach the position end of inner if block end of main if block end of void loop method Now upload the code into the Arduino by using the Arduino IDE It will take only few seconds Make sure that you have selected the correct Arduino board and the chip used on your Arduino board My board is Arduino UNO with ATmega328 chip How the code works In the above program the main if block if value One 950 value Two 950 executes only when light is present The inner if else is used to know in which side the sun is present right side or left side If the sun is present towards the right side of the solar panel the servo moves the solar panel towards the right side in steps of two degrees until the difference of the values from two sensors is less than 100

    Original URL path: http://www.engineerblogs.net/2014/03/24/arduino-solar-tracker/?replytocom=12565 (2016-04-27)
    Open archived version from archive

  • Power Systems Engineering - Engineer Blogs
    faults power system controls economic operation of power systems optimal power flow deregulation and restructuring of electricity markets Electrical Power System Protection EE 5223 Textbook Protective Relaying Principles and Applications J Lewis Blackburn Tomas J Domin 4th Ed CRC Press 2014 Lecture Notes Homework Useful Web links Topics Review system protection philosophies system grounding circuit breakers fuses Relay input sources VTs CTs CVTs CCVTs optical voltage and current transducers Fundamental protection concepts time inverse differential directional impedance etc Generator protection differential negative sequence loss of excitation out of step Motor protection ground fault locked rotor undervoltage phase rotation etc Bus reactor capacitor bank protection Transformer protection differential sudden pressure over temperature low oil etc Line protection directional comparison blocking unblocking transfer trip System stability reclosing and load shedding Communications pilot wire power line carrier microwave fiber optics SCADA Intro overview of Smart Grid technologies and possibilities Related posts Power Electronics Industrial Applications of Electricity Communications Systems Mechanical Engineering One Comment Bogdan January 27 2014 at 9 41 am What about a Pareto based approach like this http www mdpi com 1996 1073 6 3 1439 pdf Reply Leave a Reply Cancel reply Your email address will not be published Required

    Original URL path: http://www.engineerblogs.net/course-categories/power-systems-engineering/ (2016-04-27)
    Open archived version from archive

  • Applied Feedback Control - Engineer Blogs
    Notch Lecture 4 Intro to Bode Lecture 5 Bode Design Lecture 6 Nyquist Lecture 7 Intro to Digital Lecture 8 Tustin Transformation Lecture 9 Z plane Lecture 10 ZOH equivalent Lecture 11 Digital Wrap up Lecture 12 Intro to State Space Lecture 13 State Space Control Lecture 14 Estimators Lecture 15 LQR control Lecture 16 State Augmentation Lecture 17 Reference Inputs Lecture 18 Reduced Order Estimators Midterm Review Nov 2010 Final Review Dec 2010 Homework Homework 1 Dynamic Response Homework 2 Root Locus Homework 3 Bode Design Homework 4 Bode Root Locus co Design Homework 5 Intro to Digital Homework 6 Z plane design Homework 7 Satellite Design Lab Homework 8 Satellite Design Lab con t Homework 9 State Space Basics Homework 10 State Space Control Simulink Files for HW 7 and HW 8 Exams Practice Midterm Practice Final Class Presentation Slides The presentation files are in the CSD format and you will need to download Presenter to view them Presenter can be downloaded free from here Lecture 0 Introduction and Dynamic Response Lecture 1 Stability and Specifications Lecture 2 Root Locus Lecture 3 Lead Lag and Notch Lecture 4 Intro to Bode Lecture 5 Bode Design Lecture 6 Nyquist Lecture 7 Intro to Digital Lecture 8 Tustin Transformations Lecture 9 Z plane roots dBode dBode plots Lecture 10 ZOH equivalent Lecture 11 Digital Wrap up Lecture 12 Intro to State Space Lecture 13 State Space Control Lecture 14 Estimators Lecture 15 LQR Control Lecture 16 State Augmentation Lecture 17 Reference Inputs Lecture 18 Reduced Order Estimators note that there was a problem with Presenter that caused it to lose the first 3 4 of the slides Midterm Review 04 Nov 10 Final Review 03 Dec 10 Textbooks Feedback Control of Dynamic Systems 5th Edition by Gene Franklin J D Powell Abbas Emami Naeini Prentice Hall 6th edition October 3 2009 ISBN 0136019692 Reference Applied Feedback Control Theory of computation Text Book Introduction to the Theory of Computation Michel Sipser 2nd Ed slides Lectures Notes Exam Solution fundamental mathematical models of computation inherent capabilities and limitations of these computational models relationships with formal languages Rigorous arguments and proofs of correctness Finite automata regular languages and regular grammars Deterministic and nondeterministic computations on various automata Context free grammars languages and pushdown automata Turing machines Church s thesis and undecidable problems Administrivia overview motivation Discrete math Strings and languages countability uncountability undecidable lang exist Languages machines deterministic finite automata JFLAP is a tool to manipulate automata Check it out Product Construction Intersction and Union of Regular Languages Closure of reg lang under complement Nondet finite automata Closure of reg lang under concat Kleene reversal formal proof of the constructions in the lecture notes Equivalence of NFAs and DFAs Equivalence of RegExp and NFAs Suffix languages DFA minimization Myhill Nerode theorem Proving non regularity using Myhill Nerode thm and the pumping lemma Read lecture notes for MNT technique read Sipser lecture notes for Pumping Lemma Algorithms on DFAs emptiness infiniteness minimization etc Turing

    Original URL path: http://www.engineerblogs.net/course-categories/applied-feedback-control/ (2016-04-27)
    Open archived version from archive

  • Optimal Control - Engineer Blogs
    on Newton s method and additional material lecture 9 b on mean value theorem Lecture 10 a on Newton s method and rate of convergence and Lecture 10 b on iterative minimization Lecture 11 a on second order necessary conditions Lecture 11 b on Taylor s theorem Lecture 11 c on second order necessary conditions in the calculus of variations Legendre Lecture 12 on maximum principle Lecture 13 on Hamilton Jacobi Bellman Equation Lecture Notes by Professor Andre L Tits Homework Assignments Problem Set 1 Problem Set 2 Problem Set 3 Problem Set 4 Problem Set 5 Problem Set 6 Problem Set 7 Problem Set 8 Optimal Control University of Illinois at Urbana Champaign Texts Book Dimitri P Bertsekas Dynamic Programming and Optimal Control Volume I 3rd edition Athena Scientific 2005 M Athans and P L Falb Optimal Control McGraw Hill 2007 paper back I M Gel fand and S V Fomin Calculus of Variations Dover Publications 2000 Homework Lectures Notes Course Outline I Introduction Formulation of optimal control problems Parameter optimization versus path optimization Local and global optima general conditions on existence and uniquenes Some basic facts from finite dimensional optimization II The Calculus of Variations The Euler Lagrange equation Path optimization subject to constraints Weak and strong extrema III The Minimum Maximum Principle and the Hamilton Jacobi Theory Pontryagin s minimum principle Optimal control with state and control constraints Time optimal control Singular solutions Hamilton Jacobi Bellman HJB equation and dynamical programming Viscosity solutions to HJB IV Linear Quadratic Gaussian LQG Problems Finite time and infinite time state or output regulators Riccati equation and its properties Tracking and disturbance rejection Kalman filter and duality The LQG design V Nonholonomic System Optimal Control VI Game Theoretic Optimal Control Design Related posts Applied Linear Algebra Leave a Reply Cancel reply

    Original URL path: http://www.engineerblogs.net/course-categories/optimal-control/ (2016-04-27)
    Open archived version from archive

  • Analog Electronics - Engineer Blogs
    Bias Equation Small Signal Analysis Examples Common Source Amplifier Example Mathcad 7 Example Common Gate Amplifier Basic Circuit DC Bias Equation Small Signal Analysis Examples Common Gate Amplifier Example Mathcad 7 Example Common Drain Amplifier Common Drain Amplifier Example Basic Circuit DC Bias Equation Small Signal Analysis Examples MOSFET Differential Amplifier Basic Circuit DC Bias Analysis Small Signal Analysis Common Mode Rejection Ratio The Diff Amp with Current Mirror Load Examples MOSFET Differential Amplifier Example Mathcad 7 Example MOSFET Current Mirror Circuits Common Source Amplifier with Current Mirror Load Common Gate Amplifier with Current Mirror Load Common Drain Amplifier with Current Mirror Load Differential Amplifier with Current Mirror Load Analog Building Blocks Single Transistor Current Sources Complementary Common Collector Amplifier Operational Amplifier Circuits TL071 Op Amp Ideal Operational Amplifier Op Amp Circuits Frequency Response of Circuits Transfer Functions and Bode Plots Useful RC Impedance Theorems Frequency Response of Non Ideal Op Amps Wien Bridge and Phase Shift Oscillators Frequency Response of Common Emitter Amplifier Numerical Example of Common Emitter Amplifier Frequency Response Feedback Amplifiers Negative Feedback Amplifiers Collection of Solved Negative Feedback Amplifier Problems Active Filters Active Filter Potpourri More course notes Homework Quiz Solutions Useful Diagrams and more click her ANALOG ELECTRONICS Lectures Notes Text Book D B Rutledge The Electronics of Radio Cambridge Fundamental analog elecronics is studied in this course The course is structured on a scenario of designing and constructing a HF radio transceiver Topics in analog electronics in the frequency range D C to 30 MHz range are covered Block diagram concept Passive electronic components R L C diode crystals etc and integrated circuits as active devices are discussed Filters power supplies audio amplifiers speakers microphones radio amplifiers oscillators mixers and antennas are progressively introduced towards the construction of the transceiver Minimum mathematical background and

    Original URL path: http://www.engineerblogs.net/course-categories/analog-electronics/ (2016-04-27)
    Open archived version from archive

  • Communications Systems - Engineer Blogs
    radio channel Information Theory and Coding 8 DSP Implementation of modems including synchronization other courses Satellite communications and navigation Related posts Satellite Communications and Navigation Electronics and Communication Engineering Distributed Operating Systems Fundamentals of Telecommunication Systems Leave a Reply Cancel reply Your email address will not be published Required fields are marked Comment Name Email Website Notify me of follow up comments by email Notify me of new posts by

    Original URL path: http://www.engineerblogs.net/course-categories/communications-systems/ (2016-04-27)
    Open archived version from archive

  • Mobile and Wireless Networks _engineerblogs - Engineer Blogs
    Physics Other courses ContactMe Mobile Data Networks Mobile and Wireless Networks engineerblogs Mobile Data Networks Mobile and Wireless Networks engineerblogs Full size is 517 718 pixels 0 Bookmark Wireless LANS and PANS wireless WANS AND MANS Wireless Internet Ad Hoc Wireless Networks MAC Protocols for Ad Hoc Wireless Networks Transport Layer and Security Protocols for Ad Hoc Wireless Networks Hybrid Wireless Networks Recent Advances in Wireless Networks Next image Leave

    Original URL path: http://www.engineerblogs.net/other-courses/mobile-data-networks/mobile-and-wireless-networks-_engineerblogs/ (2016-04-27)
    Open archived version from archive



  •