This transistor acts as a switch that controls this dc motor now lets see the code. Here are the devices we use to control with arduino using this flex sensor here is an led connected to pin number 11 to output to have analog output, and here is a transistor connected to pin number nine. This pin is connected to ground, and this pin is connected to vcc five volts of arduino through a resistor, and this resistor will see its value in operation and here that same pin connected to analog input on arduino. Its called here flex sensor and tinkercad simulation, and we can connect it as follows. First, we see that flex sensor its a kind of potentiometer and it senses bending in this sensor, so it can be used as an input to arduino and then to control other devices. We see how we can connect the flex sensor to arduino to control any devices. ![]() ![]() So, if you are new to this channel, please subscribe to this channel to get the latest videos here.
0 Comments
Leave a Reply. |