My selfmade servo controller

Discussion specific to the intelligent brick, sensors, motors, and more.
skaltura
Posts: 10
Joined: 17 Mar 2011, 12:51
Location: Tilburg, the Netherlands
Contact:

My selfmade servo controller

Post by skaltura »

Hi there,

I'm a big fan of the Lego Mindstorms kit, and decided to make my own servo controller because the Mindsensors servocontroller is to expensive for my budget.
It works by using the I2C signal from the Lego brick, and the I2C write block from Mindsensors.

I can't select the servo speed, but I can adjust to speed by inserting a delay time in the program, so It's not as sophisticated as the Mindsensors servo controller, but it does the job... :D

I would like to hear what you think of it, so please take a look at it, on my website.
servo_nxt.jpg
:arrow: http://www.hacsoftwarecompany.com/?proj ... _nxt_servo :arrow:

Many thanks !!
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: My selfmade servo controller

Post by mightor »

Nice sensor! What controller did you use to control the servos?

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
skaltura
Posts: 10
Joined: 17 Mar 2011, 12:51
Location: Tilburg, the Netherlands
Contact:

Re: My selfmade servo controller

Post by skaltura »

I used a PIC Microcontroller, type 16F819. This had it's own I2C communication, so it's easy to attach this to the Lego brick. And the PIC microcontroller also can produce a standard servo output signal. Not that difficult to make, and quite cheap. It cost me about 20 euro's in parts.

I see that your also from the Netherlands, so I'll post the same link to my site, but in the Dutch language for those who rather read in their own language... ;)

http://www.hacsoftwarecompany.com/?lang ... _nxt_servo

Thanks for your reply
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: My selfmade servo controller

Post by mattallen37 »

Very cool :P, but what a coincidence :o! I was just about to post about a servo controller I made (though not nearly an nice)! :lol: Thanks for sharing. It looks really great!
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
skaltura
Posts: 10
Joined: 17 Mar 2011, 12:51
Location: Tilburg, the Netherlands
Contact:

Re: My selfmade servo controller

Post by skaltura »

Indeed a coincidence...

I must say that I'm a bit of a perfectionist, so I made a PCB for my project, but yours is great too. And as long as it works, it's cool in my book !
Thanks for your reply
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: My selfmade servo controller

Post by mattallen37 »

Well, I'd LOVE to be able to make PCB's, but I am not really sure how to design them yet.

BTW, you of all people should understand what I want. I want a breakout for the mindsensors NXT jacks. I want them broken out to 0.1" holes. I could then solder either a header, or wires to it. It would be great for breadboarding and custom sensors (with perfboard). I have no idea how to accomplish something like this, so I asked mindsensors to consider making it. I haven't gotten a response, so they probably didn't like the idea. What would it cost to develop something like that, and have the PCB's made? They would be tiny PCB's (about 2x2 cm). I love soldering, so I would just need bare PCBs. I could probably use 10 or so to begin with.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
nxtreme
Posts: 246
Joined: 29 Sep 2010, 03:53
Location: 192.168.1.2

Re: My selfmade servo controller

Post by nxtreme »

DorkbotPDX makes fairly cheap PCBs. You could probably get nine PCBs (they are sold in sets of three) for about $14 US. That includes shipping. Not bad if you consider it. Eagle is one of the most popular schematic and PCB layout editors. It is harder to learn than others, but it is very powerful. Best of all, it's free for non-commercial uses. I use it, and even though I've never actually made a PCB (go figure... :P) I would recommend it to anyone.

P.S. Check out the SparkFun tutorials for Eagle, they're pretty helpful.
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: My selfmade servo controller

Post by mattallen37 »

Thanks for the link. Those prices seem really good. I guess I'll try to figure out how to use Eagle (I already installed it a few days ago).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
skaltura
Posts: 10
Joined: 17 Mar 2011, 12:51
Location: Tilburg, the Netherlands
Contact:

Re: My selfmade servo controller

Post by skaltura »

mattallen37 wrote: I want a breakout for the mindsensors NXT jacks.
I actualy made a breakout jack for the NXT. You can order the NXT jacks from Mindsensors.
nxt02.jpg
nxt01.jpg
Sorry, the photo's are a bit blurry... I dropped my camera and now it can't focus anymore :oops:

If you can't make PCB's, you can just solder wires to the jacks and put then into your breadboard.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: My selfmade servo controller

Post by mattallen37 »

That is basically exactly what I mean/want. The only thing I might want different, is for the jack to be turned 90 degrees.

Yes, I know I can buy them from mindsensors, but I want a breakout (like yours), instead of soldering wires directly.

Currently, I am using a wire cut in half, broken out to a 6 pin header.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests