RC India
Welcome Guest, please login or register.
 
Pages: 1 [2] 3  All   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« Reply #25 on: December 10, 2014, 02:41:37 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



i think two pin mappings need to change like this.

MultiWii Board                     Peripheral Connection
-------------------------------------------------------------------------
#define DIR_L2 12                           L293-Pin7
#define DIR_R1 8                            L293-Pin15
Logged
 

Read
« Reply #26 on: December 10, 2014, 02:53:59 PM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Thanks akhilzid, What about the Gyro/Acc pins is that ok?
Logged
 

Read
« Reply #27 on: December 10, 2014, 02:57:58 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



The sensors (gyro / acc) are interfaced through I2C, so you don't need to do any thing there Smiley
Just do the modifications in code as suggested by akhilzid, and you are ready to go !
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #28 on: December 10, 2014, 03:03:37 PM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Cool, Will try out & post my experiences..
Thank you team!!
Logged
 

Read
« Reply #29 on: December 10, 2014, 03:16:06 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Best of luck, and don't forget to post a build log so that others could get help from it .
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #30 on: December 10, 2014, 04:15:47 PM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Kolkata
State: West Bengal
RC Skills: Expert
Posts: 1135
Join Date: Jul, 2009



You will not be able drive a l293 just by reassigning the pins in
the multiwii code .

the output  for multiwii is ppm - used for driving servos and esc's (using write() and
writeMicroseconds() ) this will not work with l293 which requires PWM.(using digital write() )

You need to change some other parts of the code also - and
please let me know once you have found out.


Logged
 

Read
« Reply #31 on: December 10, 2014, 05:33:46 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Hey, dude, you should read the previous posts, we are not speaking about multiwii code, I have given link to a instructible , the code in it can be easily run in multiwii board.
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #32 on: December 10, 2014, 09:53:49 PM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Kolkata
State: West Bengal
RC Skills: Expert
Posts: 1135
Join Date: Jul, 2009



yes .. my mistake

going to try out the program now
Logged
 

Read
« Reply #33 on: December 10, 2014, 10:01:16 PM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



Best of luck, Thumbs Up
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #34 on: December 11, 2014, 02:12:41 PM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



I tried uploading the code & rigged up the bot, but did not see any movement in bot. (Multiwii+L298+Motors+Battery)

Later I tried uploading the multiwii firmware with airplane configuration, This too did not make any difference. I dont see bot moving or cant even stand. (Multiwii+Single brushed ESC+2 DC Motors+Battery)

But my multiwii board seems to be working fine. I can see that on the multiwii tool.

Not sure what is the issue, will have to check it tonight..
Logged
 

Read
« Reply #35 on: December 11, 2014, 03:42:03 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



can you post an image/drawing of that wiring?
Logged
 

Read
« Reply #36 on: December 11, 2014, 04:43:44 PM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



For L298, I have connected the same way as per definition in code.

I will share the circuit diagram in some time..
Logged
 

Read
« Reply #37 on: December 11, 2014, 04:44:09 PM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Kolkata
State: West Bengal
RC Skills: Expert
Posts: 1135
Join Date: Jul, 2009



does the interrupt pin in the MPU need to be connected ?
Logged
 

Read
« Reply #38 on: December 11, 2014, 06:55:42 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



i think no, code is using dmp to read values and yes that code is checking mpuinterrupt is active or not but cant find any code that mpuinterrupt is madatory.
Logged
 

Read
« Reply #39 on: December 15, 2014, 11:16:31 AM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Hi Akhilzid,
Sorry for delay, PFA the wiring diagram.

Balancing-Bot-Wiring-Diagram.jpg
Re: Multirotor board - balancing robot
* Balancing-Bot-Wiring-Diagram.jpg (72.87 KB, 800x399 - viewed 1043 times.)
Logged
 

Read
« Reply #40 on: December 15, 2014, 11:18:56 AM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



cant see uploaded image, is zero KB? Please re upload.

Edit: Ok, i can see now.
Logged
 

Read
« Reply #41 on: December 15, 2014, 11:27:42 AM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Ok, Just remembered, I have common grounded both boards.
Logged
 

Read
« Reply #42 on: December 18, 2014, 10:25:44 AM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Hi Saikat,
Any luck with your bot?
Mine still having issues using L298.
BTW how did you wire your bot with servos? On multiwii board, which pins did you connect the servos to? Can you please share the schematic of your bot with servos?
Logged
 

Read
« Reply #43 on: December 18, 2014, 10:32:03 AM »
sooraj.palakkad
with eyes in sky
Heli Lover
Forum Hero

*****

Reputation Power: 21 
sooraj.palakkad barely matters.sooraj.palakkad barely matters.
Offline Offline

City: Palakkad
State: Kerala
RC Skills: Expert
Posts: 2058
Join Date: Aug, 2014

SPN



HEy, what I have last heard, Akhil eattan (Akhilzid) Already made a prototype ! He send me a video of it last week - but it was not RC then- don't know whether he have added remote control now Smiley
Logged

RC Hobbyist and an Aerial Cinematographer..
 

Read
« Reply #44 on: December 18, 2014, 11:26:40 AM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Wow!! thats a great news... Akhilzid, can you please share the video & the details of bot?
Logged
 

Read
« Reply #45 on: December 18, 2014, 01:27:34 PM »
saikat
Plane Lover
Forum Hero
*****

Reputation Power: 14 
saikat has no influence.
Offline Offline

City: Kolkata
State: West Bengal
RC Skills: Expert
Posts: 1135
Join Date: Jul, 2009



i have ha some success - with servo a amp board driving a l298 from multiwii.

that way  I was able to use the multiwii code to drive a l298


i am away now - will post some pics when I get back.
Logged
 

Read
« Reply #46 on: January 02, 2015, 10:41:50 AM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



!!Wish You All Very Happy New Year!!
Did you all have any progress on this? Please post your update.
My progress is, wheels rotates to the direction either forward or backward the way multiwii board tilts to. But balancing doesn't happen. Looking into this issue.

Thanks
Sudhakar
Logged
 

Read
« Reply #47 on: January 02, 2015, 11:29:54 AM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



here is mine
still need lot of tuning.

http://docs.google.com/file/d/0B83oq3WVM0KWQkRMN3JDU3VieDQ/edit?usp=docslist_api
Logged
 

Read
« Reply #48 on: January 02, 2015, 03:00:33 PM »
sudhakar_yg
Car Lover
Active Member
**

Reputation Power: 2 
sudhakar_yg has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Beginner
Posts: 93
Join Date: May, 2013



Good one Akhil.
Can you please share hardware & arduino code details of your build? 
Logged
 

Read
« Reply #49 on: January 02, 2015, 04:08:00 PM »
akhilzid
Heli Lover
Forum Hero

*****

Reputation Power: 5 
akhilzid has no influence.
Offline Offline

City: Ernakulam
State: Kerala
RC Skills: Advanced
Posts: 541
Join Date: Sep, 2014



Hardware:

Arduino Mega2560 + MPU6050 (Can Replace With Multirotor Board)

Brushed ESC 20A Without Reverse

6v Relay (To Reverse Motor Direction)

Normal Toy Car Brushed DC Motor + Gears + Wheels (Taken as Whole assembly)

Firmware:

MPU 6050 Library

Kalman filter library (Kalman.h) is from https://github.com/TKJElectronics/KalmanFilter Doveloped ByKristian Lauszus.

And some Modifications From Me To Be Balanced.

And the code is attached here.
https://drive.google.com/file/d/0B83oq3WVM0KWMGZzSEhRM19Wb2c/view?usp=sharing
Logged
 

Pages: 1 [2] 3  All   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
sale: multirotor board
For Sale - Completed
AEROVISHWA 9 7218 Last post April 09, 2012, 08:27:34 PM
by AEROVISHWA
On sale : Multirotor board
For Sale
satz flying 3 3594 Last post August 29, 2012, 06:54:17 PM
by satz flying
HK i86 Multirotor Board for Sale!
For Sale
intorc 2 2229 Last post February 22, 2014, 11:52:57 PM
by rram39600
Is it possible to build a self balancing robot using modern FC F3/F4
Beginners Zone
kishorParida 9 5259 Last post June 21, 2018, 01:02:48 PM
by kishorParida
DIY - Self Balancing Robot
Self-designed, DIY and College Projects
Dharmik 1 7309 Last post December 16, 2022, 02:40:39 PM
by keshv14