Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

All things antweight

Moderators: BeligerAnt, petec, administrator

Post Reply
User avatar
EddieJ
Posts: 126
Joined: Sun Apr 08, 2018 2:11 pm
Location: Dorset

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by EddieJ »

MySolderIsOlder wrote: Mon Mar 30, 2020 8:55 pm Those are the ones I used for the Spin Twins. Lovely little motors but be careful not to run them stalled - the wires are rather thin! :oops:
(watch from about 1:14:24 of the AWS 61 YouTube vid for more details!)
Ahhh, :shock: will bear that in mind! lol. I dont think it looks to be easy to upgrade the wires on them ....
... where are my 7A ESCs Hobbyking?! Eh? :cry:

Doing some test 3D prints in PLA for the beetleweight frame. Have to make sure it all holds together and works, parts all fit inside etc. :D
Image

Image

Quite pleased with the finish and the dual extrusion support material works well
Bots:
DisinfectANT (Antweight), Cilit BANG (WIP Antweight), Kinetic Disassembly (WIP Antweight)
User avatar
EddieJ
Posts: 126
Joined: Sun Apr 08, 2018 2:11 pm
Location: Dorset

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by EddieJ »

Got one of Mark's ESC receivers. The two PWM outputs are perfect for the two weapon motors on Kinetic Disassembly - so im now having a nightmare trying to wire this bot up and finish it :D .. i never leave enough room for wires. I need to start CADding wires into my designs..

Image
Watch this space!
Bots:
DisinfectANT (Antweight), Cilit BANG (WIP Antweight), Kinetic Disassembly (WIP Antweight)
User avatar
EddieJ
Posts: 126
Joined: Sun Apr 08, 2018 2:11 pm
Location: Dorset

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by EddieJ »

https://www.youtube.com/watch?v=3mxVmqA ... e=youtu.be

Drive works but first weapon motor is dead. Tried all channels. Going to have to dewire it and test the parts on their own, since I cant seem to find any reason why it isnt working. :(
Bots:
DisinfectANT (Antweight), Cilit BANG (WIP Antweight), Kinetic Disassembly (WIP Antweight)
razerdave
Posts: 1562
Joined: Mon Jan 02, 2006 9:40 pm
Location: Carterton, Oxfordshire
Contact:

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by razerdave »

Was it making the beeping noises when you armed the robot?
User avatar
EddieJ
Posts: 126
Joined: Sun Apr 08, 2018 2:11 pm
Location: Dorset

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by EddieJ »

Nope :? and no LEDs, which i thought there was on the 7A Turnigy esc. I checked the power wiring and it looked fine though. Cant remember if ESCs need a signal to come alive or not.
Damn, I suck at the electronics side of bots xD hope to get some time this weekend on it
Bots:
DisinfectANT (Antweight), Cilit BANG (WIP Antweight), Kinetic Disassembly (WIP Antweight)
User avatar
EddieJ
Posts: 126
Joined: Sun Apr 08, 2018 2:11 pm
Location: Dorset

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by EddieJ »

I am king of procrastination! :|

Finished building a new desk for CAD, painting and robot electronics.. but not the actual robot electronics.
Desk porn NSFW :P I'm really loving the florescent tube lights on the underside of the cupboards. They are actually the best thing in world to see what you are doing! And only like £20 a pop

Image

... now to actually fix the damn weapon ESC and finish this bot so I can move onto the next one!
Bots:
DisinfectANT (Antweight), Cilit BANG (WIP Antweight), Kinetic Disassembly (WIP Antweight)
User avatar
EddieJ
Posts: 126
Joined: Sun Apr 08, 2018 2:11 pm
Location: Dorset

Re: Eddie J - DisinfectANT, Kinnettic Disassembly, Cilit BANG

Post by EddieJ »

Ok i made a RX PWM tester with arduino because Im struggling to get PWM signal from my nano RX ESC to power the weapons. I really need to know what is being output from the PWM pads. I suck at electronics, but the reason I started insect combat robotics was to learn something about electronics .. :) and this has been the biggest lesson so far! So it's all good :mrgreen:

Video of it working here with a FrSky V8R4-II . Next to test it tomorrow night with the nano and find out why my giant weapon of death wont spin!
https://photos.app.goo.gl/9o1nqEBQbL4ofhRE6

Maybe one other builder will find the arduino code useful for checking their own RX outputs. :D Or for making lil LEDs flash with your transmitter. Disco! disco! disco! disco! (my darksynth music is perhaps not actually good disco music.. :| )
It's not perfect, as Im mega new to Arduino, but the code is here.

Code: Select all

/* PWM RECEIVER VALUES TEST AND VISUAL LED INDICATION 
 *  LAUNCH SERIAL MONITOR
 */
int CH1=10; /*pin 10 plug in LED 1*/
int CH2=11; /*pin 11 plug in LED 2*/
int CH3=3; /*pin 3 plug in LED 3*/
int CH4=6; /*pin 6 plug in LED 4*/
int Map1;
int Map2;
int Map3;
int Map4;
double channel[4];

void setup() {
pinMode(10,OUTPUT); /*pin 10 plug in LED 1*/
pinMode(11,OUTPUT); /*pin 11 plug in LED 2*/
pinMode(3,OUTPUT); /*pin 3 plug in LED 3*/
pinMode(6,OUTPUT); /*pin 6 plug in LED 4*/
pinMode(2,INPUT); /*pin 2 plug in RX Signal Channel 1*/
pinMode(5,INPUT); /*pin 5 plug in RX Signal Channel 2*/
pinMode(7,INPUT); /*pin 7 plug in RX Signal Channel 3*/
pinMode(9,INPUT); /*pin 9 plug in RX Signal Channel 4*/
Serial.begin(9600);
}

void loop() {
  
channel[0]= pulseIn(2,HIGH);
channel[1]= pulseIn(5,HIGH);
channel[2]= pulseIn(7,HIGH);
channel[3]= pulseIn(9,HIGH);

Serial.print(channel[0]);
Serial.print("--++++--");
Serial.print(channel[1]);
Serial.print("--++++--");
Serial.print(channel[2]);
Serial.print("--++++--");
Serial.println(channel[3]);

Map1=map(channel[0],975,2000,0,255);
analogWrite(CH1,Map1);
if (channel[0]<975){
  digitalWrite(CH1,LOW);
}

channel[1]=(channel[1]-1500);
channel[1]= sqrt((channel[1]*channel[1]));
Map2=map(channel[1],0,500,0,255);
analogWrite(CH2,Map2);
if (channel[1]<25){
  digitalWrite(CH2,LOW);
}

channel[2]=(channel[2]-1500);
channel[2]= sqrt((channel[2]*channel[2]));
Map3=map(channel[2],0,500,0,255);
analogWrite(CH3,Map3);
if (channel[2]<25){
  digitalWrite(CH3,LOW);
}

channel[3]=(channel[3]-1500);
channel[3]= sqrt((channel[3]*channel[3]));
Map4=map(channel[3],0,500,0,255);
analogWrite(CH4,Map4);
if (channel[3]<25){
  digitalWrite(CH4,LOW);
}
delay(100);
}
EDIT: Nano is dead on the PWM pins. Channel 3, 4 and 6 are outputting from the TX on the throttle. Arduino measuring the RX outputs on the PWM pad shows nothing :( Guess I'll use this board for a pushbot and order another one.
https://photos.app.goo.gl/ZzuQHzqDTwh8Eaoh6
Bots:
DisinfectANT (Antweight), Cilit BANG (WIP Antweight), Kinetic Disassembly (WIP Antweight)
Post Reply