Segway like véhicle with Flowcode DSpic

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
benp
Posts: 155
Joined: Sat Mar 28, 2009 5:44 pm
Location: LYON FRANCE
Contact:

Segway like véhicle with Flowcode DSpic

Post by benp »

This year, one student group(INSA Lyon-France) works on the upgrade of last year vehicle.
See here for last year project:
http://www.matrixmultimedia.com/mmforum ... 106#p29031

We test Flowcode Dspic and that's easier to code because float are supported natively by dspic.
We use a dsPIC30F3014.
The code is very small: only 65 flowcode steps are needed to perform the stabilisation. Most steps are for printing on LCD(21 steps).

Here is the small scale model moving (not really because stabilised).

[/youtube]

We use Eblock+one accelerometer/gyro card+one Sabertooth card and our standard motor and PVC board.

The scale 1 manufacturing will finish in june.
Next step is wifi control...
Regards
INSA 1er cycle GCP projects with or without eblocks:
http://www.youtube.com/user/INSAgcp

User avatar
DavidA
Matrix Staff
Posts: 1065
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Contact:

Re: Segway like véhicle with Flowcode DSpic

Post by DavidA »

Looks great!

User avatar
Steve
Matrix Staff
Posts: 3175
Joined: Tue Jan 03, 2006 3:59 pm
Contact:

Re: Segway like véhicle with Flowcode DSpic

Post by Steve »

I wish I had such interesting things to do when I was studying!

And I hope your students appreciate the motivating challenges you are giving them.

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Contact:

Re: Segway like véhicle with Flowcode DSpic

Post by JohnCrow »

Just wish I could have had Flowcode & E-Blockswhen I was at college
1 in 10 people understand binary, the other one doesn't !

benp
Posts: 155
Joined: Sat Mar 28, 2009 5:44 pm
Location: LYON FRANCE
Contact:

Re: Segway like véhicle with Flowcode DSpic

Post by benp »

The basic wifi control is ready now on the flowcode side.
It is now possible to control it with windows and netstuff or an Android device and Packet injection.
This is like step 2 of this project:
http://www.matrixmultimedia.com/mmforum ... f=2&t=9955
Step 3 is the computing project for students...
Regards
INSA 1er cycle GCP projects with or without eblocks:
http://www.youtube.com/user/INSAgcp

benp
Posts: 155
Joined: Sat Mar 28, 2009 5:44 pm
Location: LYON FRANCE
Contact:

Re: Segway like véhicle with Flowcode DSpic

Post by benp »

The video with the scale1 segway is ready:
[/youtube]
Inside:
dsPIC30F3014
FlowcodeV4 dsPIC program
Sensor fusion (not with the kalman filter method)
PID control
Wifi control with an Android phone
Regards
INSA 1er cycle GCP projects with or without eblocks:
http://www.youtube.com/user/INSAgcp

benp
Posts: 155
Joined: Sat Mar 28, 2009 5:44 pm
Location: LYON FRANCE
Contact:

Re: Segway like véhicle with Flowcode DSpic

Post by benp »

If you want to see the E-Blocks inside.
This picture is during test before painting...
Attachments
ARI.jpg
ARI.jpg (177.63 KiB) Viewed 4786 times
Regards
INSA 1er cycle GCP projects with or without eblocks:
http://www.youtube.com/user/INSAgcp

Post Reply