Posts

230V LED

Image
Most of you asked about 230V LED circuit diagrams.Today I'm going to introduce you that circuit.I have attached this circuit for my door bell.So that at night I can easily see it.Not only that people can us this circuit to see whether electricity is there or not So use thi9s circuit and get fun.... # Note # you should be careful when you use this circuit.Because this circuit operates with 230V # This circuit is not suitable for kids # When you use electronic parts those parts should have correct values(like W and V) # Build this circuit on a pcb If the circuit doesn't work don't touch it.Firstly switch off the circuit.

Reparar Servo Dynamixel Ax-12+

Image
Existen varias formas de reparar un servo Dynamixel Ax-12+, si no recuerdas que ID y Baud Rate tiene configurado tu servo la solución es muy sencilla ya que el servo se puede reiniciar con el USB2Dynamixel y el Dynamixel Configurator, también se puede hacer esto mismo con un pequeño programa que he hecho con el Arduino, este programa regresa el servo o los servos conectados a un Baud Rate de 1Mbps y ID 1 y al terminar de ser reiniciado el servo se mueve en posiciones aleatorias con lo cual el servo ha sido reiniciado correctamente y esta listo para ser usado. El programa requiere tener instalada la Biblioteca Dynamixel que he publicado anteriormente. Descargar Biblioteca Dynamixel La siguiente forma de reiniciar un servo es un poco más difícil. El primer paso será abrir el servomotor hasta llegar al chip, no es necesario abrir la parte de los engranes, basta con abrir la tapa de atrás que da acceso a este. El siguiente paso será soldar cables a los pines VCC, GND, RESET, SCK, MISO y MO...

Network Analysis for Electric Circuits

Image
Network Analysis for electric circuits are the different useful techniques related to several currents , emfs , and resistance voltages in such circuit. This is somewhat the collection of techniques of finding the voltages and currents in every component of the network. Some of those techniques are already mentioned in this online tutorial of Electrical Engineering. Kirchhoff''s Voltage Law or KVL Kirchhoff''s Current Law or KCL There are six remaining useful techniques that we are going to learn. The practical example of each analysis will be given in my next post. This is for you to comprehend first what each theory is all about. So, let's begin the first useful technique in analyzing network.  Thevenin's Theorem Consider the figure below which schematically represents the two-terminal network of constant emf's and resistances; a high-resistance voltmeter, connected to the accessible terminals, will indicate the so called open circuit voltage v oc . If a...

What Is Electric Power?

Image
If we are going to recall our Physics subject, it is said that whenever a force is applied that causes motion the work is said to be done. Take a look on the illustration below:  Forces that work is done and  forces not doing work. The first figure shown above are combination of forces which work is done and forces which work is not done. (a)The picture in which the shelf is held under tension does not cause motion, thus work is not done. (b) The second picture in which the woman pushes the cart causes motion, thus the work is done. (c) The man applied tension in the string is not working since as there is no movement in the direction of the force. (d) The track applied horizontal force on the log is doing work. The potential difference between any two points in an  electric circuit , which gives rise to a voltage  and when connected causes electron to move and current to flow. This is one of a good example in which forces causing motion, thus causing work to be do...

Interfacing a DS18S20 with an AVR

Image
This can be a complete project on its own - a simple DIY digital thermometer with LCD display and only a handful of parts - ATMEGA88, DS18S20 and only a resistor running off a regulated 5v supply. Display type - LCD (can be 16x1, 16x2 or anything larger) Controller: ATMEGA88 Programming Language: BASIC Compiler: mikroBASIC PRO for AVR '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''...

Temperature sensor with PIC18 and MCP9700

Image
 This can be a complete project on its own - a simple DIY digital thermometer with LCD display and only a handful of parts - the PIC18F45K20, LM35 and a small number of resistors and capacitors running off a regulated 5v supply. Display type - LCD (can be 16x1, 16x2 or anything larger) Controller: PIC18F45K20 Programming Language: BASIC Compiler: mikroBASIC PRO for PIC v3.20 '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''...

Example of how to generate PWM in mikroC using the CCP module

//Program to generate 40kHz output at RC2(CCP1) pin //Microcontroller: Microchip PIC18452 //Language: C //Compiler: mikroC v8.20 //Programmer: Tahmid void main (void){      TRISC = 0;      PORTC = 0;      ADCON1 = 7;      T2CON = 0;      TMR2 = 0;      PWM1_Init(40000); //40kHz      PWM1_Change_Duty(128); //50% duty cycle // Choose Duty cycle as such: // PWM_Change_Duty(x); // x = ( (Duty Cycle in %) / 100) * 255      PWM1_Start(); //Start PWM      while (1){ //Loop forever // Whatever else might be needed to be done while PWM is running      } } In mikroC, you set the duty cycle by using the function PWM1_Change_duty(x). The value you put within the parentheses (x) has to be between 0 and 255. 0 means 0 duty cycle, 255 means 100% duty cycle, so 128 means 50%. You get PWM output at RC2 (pin...