Project
12mm capacitive sensor, 2 wire capacitive proximity sensor, 2 wire dc capacitive sensor, 2d capacitive sensor, 3 axis capacitive tactile sensor, 30mm capacitive sensor, 5 field capacitive sensor, 8mm capacitive sensor, a capacitive soil moisture sensor, baxter larry k. capacitive sensors, building a capacitive liquid sensor, building a reliable capacitive-sensor interface, capacitive 3d sensor, capacitive gap sensor, capacitive gauge sensor, capacitive humidity sensor 555, capacitive occupancy sensor, capacitive oil quality sensor, capacitive pressure sensor uses, capacitive pressure sensor using comsol, capacitive proximity sensor application note, capacitive proximity sensor noise, capacitive proximity sensor uses, capacitive proximity sensor using 555, capacitive sensor, capacitive sensor 04.zip, capacitive sensor 2 wire, capacitive sensor 3d printer, capacitive sensor 50mm, capacitive sensor 555, capacitive sensor 5mm, capacitive sensor 5v, capacitive sensor accuracy, capacitive sensor adafruit, capacitive sensor advantages, capacitive sensor advantages and disadvantages, capacitive sensor aluminium, capacitive sensor analog output, capacitive sensor animation, capacitive sensor application, capacitive sensor application note, capacitive sensor arduino, capacitive sensor arduino uno, capacitive sensor array, capacitive sensor balluff, capacitive sensor bandwidth, capacitive sensor basics, capacitive sensor baxter, capacitive sensor block diagram, capacitive sensor board, capacitive sensor book, capacitive sensor bridge, capacitive sensor button, capacitive sensor buy, capacitive sensor calibration, capacitive sensor carlo gavazzi, capacitive sensor characteristics, capacitive sensor chip, capacitive sensor circuit, capacitive sensor circuit diagram, capacitive sensor comsol, capacitive sensor construction, capacitive sensor controller, capacitive sensor cost, capacitive sensor datalogic, capacitive sensor datasheet, capacitive sensor definition, capacitive sensor design, capacitive sensor design and application, capacitive sensor disadvantages, capacitive sensor distance, capacitive sensor distance measurement, capacitive sensor diy, capacitive sensor does not name a type, capacitive sensor ebay, capacitive sensor ecg, capacitive sensor electrode, capacitive sensor electronics, capacitive sensor element, capacitive sensor equation, capacitive sensor example, capacitive sensor excitation, capacitive sensor explained, capacitive sensor explosion proof, capacitive sensor festo, capacitive sensor for distance measurement, capacitive sensor for humidity, capacitive sensor for level measurement, capacitive sensor for liquid level, capacitive sensor for plastic, capacitive sensor for water level measurement, capacitive sensor formula, capacitive sensor fuel level, capacitive sensor function, capacitive sensor gas, capacitive sensor geometry, capacitive sensor gesture, capacitive sensor glass, capacitive sensor grid, capacitive sensor ground, capacitive sensor guard, capacitive sensor guard electrode, capacitive sensor h, capacitive sensor heart rate, capacitive sensor high resolution, capacitive sensor high temperature, capacitive sensor history, capacitive sensor homemade, capacitive sensor how it works, capacitive sensor human, capacitive sensor human body, capacitive sensor humidity, capacitive sensor ic, capacitive sensor ifm, capacitive sensor impedance, capacitive sensor india, capacitive sensor installation, capacitive sensor instructables, capacitive sensor integrated circuit, capacitive sensor interface, capacitive sensor introduction, capacitive sensor ipad, capacitive sensor journal, capacitive sensor kas, capacitive sensor keyboard, capacitive sensor keyence, capacitive sensor keys, capacitive sensor kit, capacitive sensor kopen, capacitive sensor layout, capacitive sensor led, capacitive sensor level, capacitive sensor level detection, capacitive sensor level measurement, capacitive sensor library, capacitive sensor linearity, capacitive sensor liquid, capacitive sensor liquid level, capacitive sensor long range, capacitive sensor m8, capacitive sensor manufacturer, capacitive sensor material, capacitive sensor matrix, capacitive sensor meaning, capacitive sensor medical, capacitive sensor microchip, capacitive sensor microcontroller, capacitive sensor microsoft band, capacitive sensor module, capacitive sensor no ground, capacitive sensor noise, capacitive sensor npn, capacitive sensor nxp, capacitive sensor oil level, capacitive sensor omron, capacitive sensor op amp, capacitive sensor operating principle, capacitive sensor operation, capacitive sensor operation and optimization, capacitive sensor oscillator, capacitive sensor oscillator circuit, capacitive sensor output, capacitive sensor pad, capacitive sensor pcb, capacitive sensor pdf, capacitive sensor ppt, capacitive sensor pressure, capacitive sensor price, capacitive sensor principle, capacitive sensor probe, capacitive sensor problems, capacitive sensor proximity, capacitive sensor range, capacitive sensor raspberry pi, capacitive sensor readout, capacitive sensor readout circuit, capacitive sensor rechner, capacitive sensor reprap, capacitive sensor resolution, capacitive sensor review, capacitive sensor ring, capacitive sensor rs, capacitive sensor schematic, capacitive sensor sensitivity, capacitive sensor sensitivity equation, capacitive sensor shielding, capacitive sensor sketch, capacitive sensor sparkfun, capacitive sensor specification, capacitive sensor strip, capacitive sensor switch, capacitive sensor symbol, capacitive sensor technology, capacitive sensor temperature compensation, capacitive sensor theory, capacitive sensor thickness measurement, capacitive sensor through glass, capacitive sensor to detect plastic, capacitive sensor touch, capacitive sensor turck, capacitive sensor tutorial, capacitive sensor types, capacitive sensor usage, capacitive sensor uses, capacitive sensor vacuum, capacitive sensor value, capacitive sensor vibration, capacitive sensor vibration measurement, capacitive sensor video, capacitive sensor voltage, capacitive sensor vs inductive sensor, capacitive sensor vs resistive sensor, capacitive sensor water, capacitive sensor water detection, capacitive sensor wheatstone bridge, capacitive sensor wiki, capacitive sensor wiring diagram, capacitive sensor with 555, capacitive sensor with analog output, capacitive sensor with arduino, capacitive sensor working, capacitive sensor working principle, capacitive sensor working principle pdf, capacitive sensor youtube, capacitive sensors design and applications, capacitive sensors design and applications pdf, capacitive touch key sensor, capacitive touch sensor 555, capacitive touch sensor keyboard, capacitive touch sensor kit, capacitive touch sensor nxp, capacitive touch sensor uk, capacitive touch sensor using 555, capacitive touch sensor using pic, capacitive touch sensor youtube, capacitive ultrasonic sensor, capacitive voltage sensor schematic, capacitive volume sensor, capacitive yarn sensor, capacitor high voltage sensor, construction of a capacitive sensor, design a capacitive sensor, designing a capacitive sensor using comsol, Handmade LED and DC motor control with capacitive sensor, how a capacitive sensor works, inductive vs capacitive sensor, koyo capacitive sensor, make a capacitive sensor, making a capacitive touch sensor, ms 45 r capacitive sensor, namur capacitive sensor, operation of a capacitive sensor, p&f capacitive sensor, quantum capacitive sensor, quasar capacitive sensor, resistive vs capacitive sensor, zmd capacitive sensor
Amisha
0 Comments
Handmade LED and DC motor control with capacitive sensor
Handmade LED and DC motor control with capacitive sensor
You made my handmade capacitive sensor with the number of LEDs and DC motor’s direction of rotation set up projects if they offer. our first project to know a little bit today.
Two the number of capacitive sensor LEDs, if you close the number of LEDs by sliding on without touching the sensor of your hand, reducing If you want to maintain control two if you press your hand to the capacitive sensor engine tab t the hands of the right sensor tab, right engine, the engine returns to the left side if you close the left sensor of your hand.
Used materials
- Arduino UNO R3
- Breadboard
- Aluminium foil
- Patch cable
- Resistance (4 units of 220 ohms, 2 units of 140 kilohms)
- 4 units LEDs
- LCD display 16 × 2
- DC Motors
- Integrated with L293d
- Potentiometer
Capacitive sensors are Made
Aluminium foil, as shown in the photos of 110mm x 110 mm in size cut cables are sticking to a hard surface foil. We’re doing the same thing in the two sensors.
If you wish, you can change the size of the sensor, but may need to change the size of the resistor is connected to the sensor.
Circuit diagramÂ
I did one circuit diagram 2 As you can see above, I draw for the whole circuit would be too complicated to set up than a photo thought you halves
Resistors; LEDs connected to 220 ohms, and the resistance value of which is connected to the sensor 140kohm.
Arduino code
#
include
<CapacitiveSensor.h>
#
include
<LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
const
int LED4=A1 ;
const
int LED1=A0 ;
const
int LED2=7 ;
const
int LED3=10 ;
const
int motorpin1=A3 ;
const
int motorpin2=A2 ;
int sayici ;
int first ;
CapacitiveSensor  cs_4_2 = CapacitiveSensor(6,9);
CapacitiveSensor  cs_4_3 = CapacitiveSensor(13,8);
void setup()
{
lcd.begin(16, 2);
cs_4_2.set_CS_AutocaL_Millis(0xFFFFFFFF);
Serial.begin(9600);
pinMode(motorpin1,OUTPUT);
pinMode(motorpin2,OUTPUT);
pinMode(LED1,OUTPUT);
pinMode(LED2,OUTPUT);
pinMode(LED3,OUTPUT);
pinMode(LED4,OUTPUT);
}
void loop()
{
long total1 =Â cs_4_2.capacitiveSensor(100);
long total2 =Â cs_4_3.capacitiveSensor(100);
delay(50) ;
lcd.setCursor(1,1) ;
lcd.
print
(sayici);
lcd.setCursor(5,1) ;
lcd.
print
(first);
Serial.println(total2);
Serial.println(total1);
Serial.println(
"\t"
);
if
(Â Â total1<40 && total2<40Â )
first=0;
if
( first==0 && total1>50 && total2<50 && sayici!=4Â )
first=2;
if
( first==0 &&Â total1<50 && total2>50 && sayici!=0)
first=1;
if
(first==2 && total1>50 && total2>50 && sayici<4 && sayici>=0 )
{
++sayici ;
first=3 ;
}
if
(first==1 && total1>50 && total2>50 && sayici<=4 && sayici>0 )
{
--sayici ;
first=3;
}
if
(total1>150 && total2>150 && first!=5 )
{
if
(sayici==9)
{
sayici=0 ;
first=5;
analogWrite(motorpin1,0);
analogWrite(motorpin2,0);
}
else
if
(sayici!=9)
sayici=9 ;
first=5 ;
}
switch
(sayici)
{
case
0 :
lcd.setCursor(0,0) ;
lcd.
print
(
"led sekmesi"
);
digitalWrite(LED2,LOW) ;
analogWrite(LED1,LOW) ;
digitalWrite(LED3,LOW) ;
analogWrite(LED4,LOW) ;
break
;
case
1 :
digitalWrite(LED2,LOW) ;
analogWrite(LED1,255) ;
digitalWrite(LED3,LOW) ;
analogWrite(LED4,0) ;
break
;
case
2 :
digitalWrite(LED2,HIGH) ;
analogWrite(LED1,255) ;
digitalWrite(LED3,LOW) ;
analogWrite(LED4,0) ;
break
;
case
3 :
digitalWrite(LED2,HIGH) ;
analogWrite(LED1,255) ;
digitalWrite(LED3,HIGH) ;
analogWrite(LED4,0) ;
break
;
case
4 :
digitalWrite(LED2,HIGH) ;
analogWrite(LED1,255) ;
digitalWrite(LED3,HIGH) ;
analogWrite(LED4,255) ;
break
;
case
9 :
lcd.setCursor(0,0) ;
lcd.
print
(
"motor sekmesi"
);
if
(total1>50 && total2<50)
{
analogWrite(motorpin1,300);
analogWrite(motorpin2,0);
}
if
(total2>50 && total1<50)
{
analogWrite(motorpin1,0);
analogWrite(motorpin2,300);
}
else
if
(total2<50 && total1<50)
{
analogWrite(motorpin1,0);
analogWrite(motorpin2,0);
}
default
:
break
;
}
}
Post Comment
You must be logged in to post a comment.