joystick and servomotor

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

Moderator: Benj

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

joystick and servomotor

Postby kalmar79 » Sat Apr 07, 2018 12:46 am

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 1897 times
20180406_171910.jpg
20180406_171910.jpg (108.62 KiB) Viewed 1897 times

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

Re: joystick and servomotor

Postby kalmar79 » Sat Apr 07, 2018 12:53 am

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

kersing
Valued Contributor
Valued Contributor
Posts: 1906
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 552 times
Been thanked: 1064 times
Contact:

Re: joystick and servomotor

Postby kersing » Sat Apr 07, 2018 8:38 am

Use one ADC component in your flowchart.
These users thanked the author kersing for the post (total 2):
EtsDriver (Sat Apr 07, 2018 1:00 pm) • medelec35 (Sat Apr 07, 2018 2:36 pm)
Rating: 10%
 
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

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

Re: joystick and servomotor

Postby Benj » Mon Apr 09, 2018 12:55 pm

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 111 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

Postby kalmar79 » Sun Apr 15, 2018 10:56 pm

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.
These users thanked the author kalmar79 for the post:
Benj (Tue Apr 17, 2018 4:52 pm)
Rating: 5%
 

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

Re: joystick and servomotor

Postby kalmar79 » Mon Apr 16, 2018 4:13 am

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