Go Down

Topic: Self balancing robot help adding potentiometers for pid (Read 413 times) previous topic - next topic

rwcan42

Have built the robot using nano and it balances fairly well setting pid in  the code.
Want to add pots for pid, but do not no how to wire them or program them.
Any help appreciated
I am not a programmer.


rwcan42

Thanks. I understand pots to control simple output.
Need to know for  pid manual adjust where to insert the pot in the wiring and code.

jremington

Please read and follow the directions in the "How to use this forum" post.

rwcan42

I am signed in and have read how to use this forum.
Please advise where I have erred in my questions.

jremington

#5
Aug 20, 2017, 11:23 pm Last Edit: Aug 20, 2017, 11:24 pm by jremington
Quote
Need to know for  pid manual adjust where to insert the pot in the wiring and code.
Post the code and wiring diagrams properly, as described in the instructions.

MarkT

Have you got the AnalogInput example working in 03.Analog section of the examples?  A place to start.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]

PaulS

Quote
Need to know for  pid manual adjust
Manual adjust of what?

Wiring in a potentiometer is a no-brainer.
Reading a potentiometer is a no-brainer.

Using the data from the potentiometer is NOT a no-brainer
The art of getting good answers lies in asking good questions.

Go Up