All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
2answers
23 views

Encoder coupled with motor shaft.Encoder is giving larger redings than expected

I am a rookie and i dont have much experience on arduino. please help me. I intend to build a robot that will drive on a straight path even on nonuniform surfaces like the ones we see in agricultural ...
1
vote
0answers
31 views

How can I get the count of pulses of two encoders on the serial monitor?

I have two encoders; I connected them to pin 2 and 3 and I want to count the pulses of them to make two DC motors to work until it reaches a specified number of pulses, than stop working. I have ...
0
votes
1answer
257 views

Switch setting 'running' state boolean doesn't hold

I have a rotary encoder and I want to use the switch to stop the rest of my code running, essentially switching off what I have going on. I have this boolean running = true; void setup() { ...