Team Yr Morgrug - Builds n stuff

All things antweight

Moderators: BeligerAnt, petec, administrator

User avatar
Team Orr
Posts: 832
Joined: Thu Jan 03, 2008 3:09 pm
Location: London/Bath
Contact:

Post by Team Orr »

Looking very tidy 8)

are you actually going to be producing this as a kit? i know somebody who would buy one, heh heh...
"if it wasn't for Edison we'd be watching TV by candlelight"
Jack Orr
Team Orr Robotics
razerdave
Posts: 1565
Joined: Mon Jan 02, 2006 9:40 pm
Location: Carterton, Oxfordshire
Contact:

Post by razerdave »

What are you using for a hinge ?

Very nicely made BTW :)
PBx
Posts: 83
Joined: Thu Nov 25, 2010 1:14 pm
Location: Bolton

Post by PBx »

Joey wrote:(do the wheels protrude ever so slightly past the back panel? From the angle of the photos it's hard to tell)
It does look like it on the photo, but in fact they don't. I had thought of doing that to make self righting easier, but then realised that they would be rather exposed!
razerdave wrote:What are you using for a hinge ?
It's a model aircraft pin hinge. The action is really nice, low friction, and no fore/aft movement (unlike using a strip of plastic). The main worry is how it will stand up to the force that a spinner can exert on it - time will tell.
Team - Yr Morgrug
The joy is the journey
kickboxer
Posts: 263
Joined: Mon Jan 24, 2011 10:49 am
Location: wakefield

Post by kickboxer »

hi guys.
as you might know i havent been on for a long tim anf for my new beetleweight i need to have a hinge.
PBX do you have a link to the hinge you used.
kickboxer
Posts: 263
Joined: Mon Jan 24, 2011 10:49 am
Location: wakefield

Post by kickboxer »

hi guys.
as you might know i havent been on for a long tim anf for my new beetleweight i need to have a hinge.
PBX do you have a link to the hinge you used.
PBx
Posts: 83
Joined: Thu Nov 25, 2010 1:14 pm
Location: Bolton

Post by PBx »

kickboxer wrote:PBX do you have a link to the hinge you used.
You can get them at any decent model shop ask for nylon pin hinges for control surfaces. Here is an example... http://balsamart.co.uk/store/index.php? ... ts_id=2135

I'm concerned about their robustness for ants - not at all sure they would handle beetles :-?
Team - Yr Morgrug
The joy is the journey
PBx
Posts: 83
Joined: Thu Nov 25, 2010 1:14 pm
Location: Bolton

Post by PBx »

Team Orr wrote:are you actually going to be producing this as a kit? i know somebody who would buy one, heh heh...
Thanks for the compliments. The idea wasn't really to start making kits, it was just to help get someone into the hobby, all the bits except the Polycarb pieces are just your regular stuff.

If I ever get sufficient battle experience and have confidence in the robustness of a design I might offer some bits, but until then I don't think it would be fair.
Team - Yr Morgrug
The joy is the journey
PBx
Posts: 83
Joined: Thu Nov 25, 2010 1:14 pm
Location: Bolton

Re: Team Yr Morgrug - Builds n stuff

Post by PBx »

Time to start looking at what to do next. Couple of ideas floating around. First thing is to sort out a way forward for motor control as we have Giant Cods and the esteemed PW isn't supporting the new receivers :(

So I've got a Baby-O on its way from the states :) Looks interesting, but I haven't programmed in C for about 10 years - still I'm sure it will soon come back!
Team - Yr Morgrug
The joy is the journey
knightrous
Posts: 77
Joined: Tue Jan 19, 2010 8:29 am
Location: Australia

Re: Team Yr Morgrug - Builds n stuff

Post by knightrous »

PBx wrote: So I've got a Baby-O on its way from the states :) Looks interesting, but I haven't programmed in C for about 10 years - still I'm sure it will soon come back!
If you can setup the Arduino IDE to work with the Baby-O/ B328 (there is a guide on the pololu website) you will be able to use this code:

Code: Select all

// Written by Steven Martin
#include <OrangutanMotors.h>

#define CH1 7 // ELE - FWD/REV
#define CH2 4 // AIL - LEFT/RIGHT
#define LED 1
#define rcMin 1000
#define rcMax 2000
#define MIXING 1

OrangutanMotors motors; 
unsigned long input2;
unsigned long input1;

void setup()
{
  pinMode(CH1,INPUT);
  pinMode(CH2,INPUT);
  pinMode(LED, OUTPUT);
  
}

void loop()
{
  input2 = pulseIn(CH2, HIGH) ;
  input1 = pulseIn(CH1, HIGH) ;
 
  if (input2 != 0 && input1 != 0)
  {
	int M1 = (input1 - rcMin) -  (rcMax - rcMin)/2;
	int M2 = (input2 - rcMin) -  (rcMax - rcMin)/2;
   
  if(MIXING) 
	{ 
	   long temp = M1 - M2; 
	   if (temp > 250) 
	   { 
		 temp = 255; 
	   } 
	   else if (temp < -250) 
	   { 
		 temp = -255; 
	   } 
		
	   long temp2 = M1 + M2; 
	   if (temp2 > 250) 
	   { 
		 temp2 = 255; 
	   } 
	   else if (temp2 < -250)
	   { 
		 temp2 = -255; 
	   } 
		
	   M1 = temp; 
	   M2 = temp2; 
	}    
	 

   motors.setSpeeds(M1,M2);
  }
}
I was running B328's and this code up until I moved to BotBitz ESC's :)
Antweights: Scarlet

BotBitz - Antweight, Beetleweight & Featherweight parts at an affordable price.
Andrew_Hibberd
Posts: 1134
Joined: Tue Jan 20, 2004 12:00 am
Location: London
Contact:

Re: Team Yr Morgrug - Builds n stuff

Post by Andrew_Hibberd »

Pololu has example code for the 3pi rx robot that works with their c libary on the web site. Very easy to modify the software to do other things.
TEAM GEEK!
Post Reply