Monday, 6 August 2012

Drive Servo using Servo.write

Coding Arrangement Circuit Board ...

Sunday, 5 August 2012

Getting Started

Tutorial analogRead reading analog value The goal of this example is to read an analog value. Based on the value read, a led will blink faster or slower. WHAT DO YOU NEED SCHEMATIC BOARD In the schema you need a variable resistor connected to pin 15 and to 5V and GND.SOFTWARE // test blink with Pinguino #define PIC18F4550 // pin where the led is connected#define LED 0 void setup() { pinMode(LED,OUTPUT); } void loop() T { digitalWrite(LED,HIGH); delay(300+analogRead(15));digitalWrite(LED,LOW); delay(300+analogRead(15)); } As this it's not the first pinguino example, we are going to suppose that you know what means the setup and loop functions, and why appears the #define PIC18F4550 directive.In...

Saturday, 4 August 2012

Capacitor for voltage regulator

The capacitor is required. Inside the regulator is a high gain amplifier, always monitoring the difference in output voltage with an internal reference supply. Like most amplifiers, it can become unstable if variations in supply voltage cause a change in output voltage. Given the battery has quite a high internal resistance, it is very likely it's voltage will vary if the load changes. You should always connect a capacitor of more than 100nF and preferably in the region of 1 to 10uF across the input terminal and ground with the wiring as short as possible. A capacitor on the output is less important but it is preferable to have one close to the output and ground pins as well. If you make the output capacitor too big, it has a detrimental...

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews