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...
Segway like véhicle with Flowcode DSpic
Moderator: Benj
- Steve
- Matrix Staff
- Posts: 3422
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: Segway like véhicle with Flowcode DSpic
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.
And I hope your students appreciate the motivating challenges you are giving them.
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Segway like véhicle with Flowcode DSpic
Just wish I could have had Flowcode & E-Blockswhen I was at college
1 in 10 people understand binary, the other one doesn't !
-
- Posts: 155
- Joined: Sat Mar 28, 2009 5:44 pm
- Location: LYON FRANCE
- Has thanked: 3 times
- Been thanked: 41 times
- Contact:
Re: Segway like véhicle with Flowcode DSpic
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...
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...
-
- Posts: 155
- Joined: Sat Mar 28, 2009 5:44 pm
- Location: LYON FRANCE
- Has thanked: 3 times
- Been thanked: 41 times
- Contact:
Re: Segway like véhicle with Flowcode DSpic
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
[/youtube]
Inside:
dsPIC30F3014
FlowcodeV4 dsPIC program
Sensor fusion (not with the kalman filter method)
PID control
Wifi control with an Android phone
-
- Posts: 155
- Joined: Sat Mar 28, 2009 5:44 pm
- Location: LYON FRANCE
- Has thanked: 3 times
- Been thanked: 41 times
- Contact:
Re: Segway like véhicle with Flowcode DSpic
If you want to see the E-Blocks inside.
This picture is during test before painting...
This picture is during test before painting...
- Attachments
-
- ARI.jpg (177.63 KiB) Viewed 7753 times