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?
How to use 9g micro servo motors with actuator training board
Moderator: Benj
-
- Posts: 7
- Joined: Mon Jan 21, 2019 7:21 pm
- Has thanked: 1 time
- Contact:
-
- 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
Hi j.zielinski1999,
Welcome to the Matrix forums.
It's always helpful if you can post the flowchart you have developed so far.
Welcome to the Matrix forums.
It's always helpful if you can post the flowchart you have developed so far.
Martin
-
- 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
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?
-
- 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
It's always best to post the actual flowchart than an image of it.
Martin
-
- 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
Hi, here is the file as requested. Thanks.
- Attachments
-
- Micro servo program.fcfx
- (14.48 KiB) Downloaded 176 times
-
- 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
I have attempted to upload the file twice but it doesn't seem to have worked. What should I do?
-
- 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
Hi j.zielinski1999,
I have approved one of the posts with file attached, so now not an issue for you.
There appears to be an issue with the server last night.j.zielinski1999 wrote:I have attempted to upload the file twice but it doesn't seem to have worked. What should I do?
I have approved one of the posts with file attached, so now not an issue for you.
Martin
-
- 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
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.
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 192 times
Martin
-
- 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
Hi, thanks for that. I will try and test that today if possible.