Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by guil

  1. G

    Dimming Tri-color LED + shift register

    Hi, I am troubled of how can I make my tri-color LED dim. I have a 595 shift register where my tri-color RGB LED was connected. My goal is to dim it so I can have a different color. How should I do it in Keil C51 code? Should I use Timer interrupt? Hardware pwm? BTW, I successfully light/blink...
  2. G

    How to control 5 servos in 1 Timer interrupt?

    Hi, I wanted to control 5 servos in 1 Timer(Timer0). My Timer0 interrupt at 0.5ms and this will be supplied to 5 servos as PWM source. But, I have a hard time figuring the easy way I can control the 5 servos. Such as, holding 1 servo to a desired position while controlling the other and...
  3. G

    Ultrasonic Sample Code Explanation

    Thank you btbass. So quick! Yes, I know it was the average of the 10 samples in .1sec period approximately. But he should not averaging it unless the buffer gets full (buf[0...9] filled up). Right? And he will not displaying it until averaging is complete. Although, 10ms is fast enough for human...
  4. G

    Ultrasonic Sample Code Explanation

    Hi, Can somebody explain to me the sample code here -> link. Particularly in this line: for(i = 0 ; i < BUFSIZE ; i++) // for all samples in buffer { cm += buf[i] ; // add to sum } cm /= BUFSIZE ; // average samples Why he divide it by 10? I am confused. And also in...

Part and Inventory Search

Back
Top