joystick and servomotor

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
kalmar79
Posts: 45
Joined: Sun Aug 20, 2017 8:18 pm
Been thanked: 4 times
Contact:

joystick and servomotor

Post by kalmar79 »

Hello I need to make a flowchart that use a mini joystick and a servomotor, please in arduino !!
Attachments
20180406_171929.jpg
20180406_171929.jpg (103.05 KiB) Viewed 4864 times
20180406_171910.jpg
(108.62 KiB) Downloaded 2020 times

kalmar79
Posts: 45
Joined: Sun Aug 20, 2017 8:18 pm
Been thanked: 4 times
Contact:

Re: joystick and servomotor

Post by kalmar79 »

This joystick use two potentiometers I believe I only need to use one of them potentiometers.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: joystick and servomotor

Post by kersing »

Use one ADC component in your flowchart.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: joystick and servomotor

Post by Benj »

Unless I'm missing something this sounds pretty straight forward.

Here is a very simple program that will do the job.
PotAndServo.fcfx
(7.21 KiB) Downloaded 299 times
What exactly are you struggling with?

kalmar79
Posts: 45
Joined: Sun Aug 20, 2017 8:18 pm
Been thanked: 4 times
Contact:

Re: joystick and servomotor

Post by kalmar79 »

Thank you for answering my question, I am starting as a robotics teacher for children and I want to teach you how to program a little. In this case I want to control a servomotor by means of a joystick.

kalmar79
Posts: 45
Joined: Sun Aug 20, 2017 8:18 pm
Been thanked: 4 times
Contact:

Re: joystick and servomotor

Post by kalmar79 »

I'm sorry, I wanted to say that I want to teach children how to program a little.

Post Reply