I finally got my little robot kit to mildly work a little bit

  • 1 Replies
  • 3260 Views
*

MagnusWootton

  • Replicant
  • ********
  • 646
I finally got my little robot kit to mildly work a little bit
« on: August 30, 2021, 03:15:12 pm »


So this is the first robot ive ever put together,   Its this -> https://www.robotgear.com.au/Product.aspx/Details/603-Dagu-Hexapod-Robot-Chassis-Kit

My issues.

* It was a little tricky to put together,  very fiddly screw work,  and the whole thing is all off kilter at the end of it, but I'm not worried about that yet.

* The red arduino board it came with didnt work!  It was initially the cable that was stuffed,  but then when it finally connected it flat died!  So I replaced it with a blue funduino,    It reminded me of stars wars when RED-1 blew up  "Its got a bad motivator"  then blue R2-D2 got baught by Luke SkyWalker.

* The blue funduino has no direct servo connectors,  so I had to put together a big bodge job using chopped off resistor legs connected by a rats nest of wires.   It was terriible but gave it a nice technical look to it! haha The problem with that was the connections were so bad, I initially thought it wasnt going to work completely,    So I ripped it all apart, and just managed to get 2 motors working, and the connection is really bad it seems.

I dont recommend that,  it took me an hour with a soldering iron,  and with connectors it would take less than a minute... big waste of time.

* The arduino programming is simple, the library is really nice and straight forward!

The code I was using was

Code
#include <Servo.h>
#define SERVOS 12

Servo servo[SERVOS];
int servopin[SERVOS]={31,33,35,37,39,41,43,45,47,49,51,53};

void setup()
{
 Serial.begin(9600);int i;for(i=0;i<SERVOS;i++){servo[i].attach(servopin[i]);}
}

void loop()
{
 int i;
 for(i=0;i<SERVOS;i++)
 {
  if(rand()%2==1){servo[i].write(0);}
             else{servo[i].write(165);}
 }
}

Which just produces random movements of full hard left and right.

* It also is pretty weak,  at the wrong angle the servos stall.  <EDIT>  i put up the amps and it was alot stronger and quicker!!  but i better be careful not to fry it!  </EDIT>


So I need to have a think of how  I'm going to connect the servos properly,  then I should get the whole thing thrashing around as hard as it can.

Had fun. :)


*

MagnusWootton

  • Replicant
  • ********
  • 646
Re: I finally got my little robot kit to mildly work a little bit
« Reply #1 on: August 30, 2021, 07:38:41 pm »


So I worked out something critical,  that one short positive to negative and the whole thing turns off and is completely inactive!
And when I turn the current up on my power supply, then the whole thing gets going!  And thats because of the /HINGES current going to them all at once, so they chew up lots of current!

So running them off a beginners power supply (100watt) is actually kinda decent when your first starting, because u can see the power enter the legs and u get a fair bit,  just make sure u dont exceed 5 volts (C.C.) and u shouldnt be frying the motors!

This isnt full strength yet -  But its pointless me getting it going full tilt until i solidify the connection properly, and get rid of all the shorts. and i need a longer arduino plug.  But im fairly impressed with those little dinky servos!  they can actually take a bit more amps than I thought!

I actually want to see if itll actually flip upside down if i put it at max strength, see what happens.
« Last Edit: August 30, 2021, 08:02:13 pm by MagnusWootton »

 


Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
Attempting Hydraulics
by MagnusWootton (Home Made Robots)
August 19, 2024, 04:03:23 am
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

490 Guests, 0 Users

Most Online Today: 485. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles