How to use 9g micro servo motors with actuator training board

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

Moderator: Benj

Post Reply
j.zielinski1999
Posts: 7
Joined: Mon Jan 21, 2019 7:21 pm
Has thanked: 1 time
Contact:

How to use 9g micro servo motors with actuator training board

Post by j.zielinski1999 »

Hi, I'm making a small robot arm for my project as part of my HNC course in
engineering. I have used flowcode 7 and the pic16f1937 microcontroller
before in my previous studies but have never used the servo motor
capability. I have purchased some 9g micro servo motors which will be
connected to the actuator training panel as this provides me with the
ability to use multiple servers I think. I have produced a program in
flowcode 7 and this works for the simulation but I cannot workout how to
control the micro servos using the potentiometer on the main board. Is
there any advice you could provide please?

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by medelec35 »

Hi j.zielinski1999,
Welcome to the Matrix forums.
It's always helpful if you can post the flowchart you have developed so far.
Martin

j.zielinski1999
Posts: 7
Joined: Mon Jan 21, 2019 7:21 pm
Has thanked: 1 time
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by j.zielinski1999 »

Hi, thanks for getting back to me. Yes I can do that. Do you want me to upload it as a flowcode file or just a screenshot of the flowchart?

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by medelec35 »

It's always best to post the actual flowchart than an image of it.
Martin

j.zielinski1999
Posts: 7
Joined: Mon Jan 21, 2019 7:21 pm
Has thanked: 1 time
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by j.zielinski1999 »

Hi, here is the file as requested. Thanks.
Attachments
Micro servo program.fcfx
(14.48 KiB) Downloaded 169 times

j.zielinski1999
Posts: 7
Joined: Mon Jan 21, 2019 7:21 pm
Has thanked: 1 time
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by j.zielinski1999 »

I have attempted to upload the file twice but it doesn't seem to have worked. What should I do?

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by medelec35 »

Hi j.zielinski1999,
j.zielinski1999 wrote:I have attempted to upload the file twice but it doesn't seem to have worked. What should I do?
There appears to be an issue with the server last night.
I have approved one of the posts with file attached, so now not an issue for you.
Martin

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by medelec35 »

I Have modified your Flowchart by allowing Initialise to only be called once at the start.
I have also changed the input so you can use the rest of port B for other purposes.
Attachments
Micro servo program2.fcfx
(14.34 KiB) Downloaded 186 times
Martin

j.zielinski1999
Posts: 7
Joined: Mon Jan 21, 2019 7:21 pm
Has thanked: 1 time
Contact:

Re: How to use 9g micro servo motors with actuator training board

Post by j.zielinski1999 »

Hi, thanks for that. I will try and test that today if possible.

Post Reply