Posts

Showing posts from August, 2018

OLED display interface with Arduino

Image
Hello friends........! How to interface OLED display with Arduino......? here is simple hello world program here  is what you need ............:- Arduino Uno OLED display ( i use 0.96inch) breadboard  jumper wires here is circuit diagram :- NOTE THIS :- A4  =  SDA (I2C pin) A5  =  SCL (I2Cpin) now download LIBRARY from here U8glib for code hello world click here Enjoy........

H-BRIDGE DC MOTOR CONTROL

Image
HELLO FRIENDS, Let's know about H - bridge. here is basic circuit of h-bridge.(image 1) (image 1) there are four switches use in h-bridge. cause 1 :- now if we turn on switch 1  and  4   then current will flow (see image 2) :-  VCC-switch 1-load- switch 4-GND  So here for load left side terminal is positive(+) and right side terminal is negative(-). (image 2) cause 2 :- now if we turn on switch   2   and   3   then current will flow (see image 3) :-  VCC-switch 2-load- switch 3-GND  So here for load left side terminal is negative(-) and right side terminal is positive(+). (image 3) now consider, here load is motor and during cause 1 motor rotating clockwise direction, than other cause(cause 2) motor will rotate anticlockwise direction. Here as a switch we can use BJT, MOSFET, IGBT.... i use MOSFET as a switch. (see image 4) what you need :-...

basic knowledge about VOLTAGE, CURRENT, and OHM'S LAW

Image
basic knowledge about VOLTAGE, CURRENT, and OHM'S LAW  What is VOLTAGE......!?     Electric potential difference between two point, called voltage. For more understand see picture. In picture you can see point A have charge and point B have no charge. So potential difference create between point A and point B.         - Voltage is also know as Electric tension or Electric pressure or Electric potential difference.           now how potential difference create? electric potential is cased by....... Static electric field Electric current though magnetic field  or Time varying  magnetic fields Volt came from  Italian  physicist ,  chemist , and a pioneer of  electricity  and  power  , Alessandro Giuseppe Antonio Anastasio Volta. SI unit of voltage is v. What is CURRENT..........!? Simply  Current is flow of charge in electric circuit. Here mostly...

test bldc motor using arduino

Image
Hello friends, test BLDC motor using arduino. what you need :-  BLDC motor ( i use 1400kv motor) 30A esc(any esc you can use) Arduino UNO power supply ( i use atx power supply) 10K potentiometer  And breadboard  circuit diagram is here code is here #include <Servo.h>//Using servo library to control ESC Servo esc; //Creating a servo class with name as esc void setup() { esc.attach(8); //Specify the esc signal pin,Here as D8 esc.writeMicroseconds(1000); //initialize the signal to 1000 Serial.begin(9600); } void loop() { int val; //Creating a variable val val= analogRead(A1); //Read input from analog pin a0 and store in val val= map(val, 0, 1023,1000,2000); //mapping val to minimum and maximum(Change if needed)  esc.writeMicroseconds(val); //using val as the signal to esc }