Skip to main content

Posts

Showing posts from January, 2016

Servo Motor Controlling with Flex Sensors

Hi everyone, Our works continuing from analog control units like potentiometer to another one flex sensors. Main concept of the flex sensor is same as the potentiometer, different positions is different resistance values. We will read these resistance values using analog pins of Arduino, and of course analog read command. Today we will control the servo motor with another way, flex sensor. As you can see on picture above, at left there are flex sensor with protection resistor. After reading the flex sensor we will control the servo motor at right side of picture. For the flex sensor, it have very small resistance value at upright position, if the slope will increase resistance will be increase depending on gradual shape of own. On the other hand, flex sensor is work at one direction. This means if you bend it other side, it will not work. For this reason, you should use it straight. Another subject is price of this sensor, because of the high price you can manufactu

Make a Ventilator with Arduino

Hello again, We have done some practice with Arduino about controlling servo motors and brushless dc motors. In this work, we will try to connect these two practice and we will produce own blower ventilator. Necessary materials: Power Supply Brushless Dc Motor Servo Electronic Speed Controller (ESC) Potentiometer (2) Jumper Cables Arduino  After these materials, we can continue with connect the system.  Hint : For the ventilator mechanism, you also need screws and some peace of wood. After this part we will continue with Arduino code, as I said before we are just getting together two project which servo control and brushless dc motor control with Arduino. Here is the our code : You can reach the code directly : //Ventilator Project //M.Furkan BAHAT #include // Servo kütüphanesiniekliyoruz. const int pot=A1; // Servo kontrol potunu bağlayacağımız analog giriş. const int potpin = A0; //Motor kontrol potunu bağlayacağımız analog giriş.