Search found 8 matches

by cyragia
09 Mar 2012, 19:38
Forum: Mindstorms Hardware
Topic: NXT + ARDUINO
Replies: 1
Views: 3373

NXT + ARDUINO

Hi all, Is it possible to connect an arduino to a sensor port of the nxt, so they can communicate with I2C ? This way you could program an arduino (or standalone ATMega328) to constantly read a sensor and pass the value(s) to the nxt. You could also attach multiple sensors to the arduino using only ...
by cyragia
28 Feb 2012, 17:01
Forum: Mindstorms Software
Topic: PID Control
Replies: 7
Views: 8247

Re: PID Control

Thanks, any idea's for improving ?
by cyragia
28 Feb 2012, 15:09
Forum: Mindstorms Software
Topic: PID Control
Replies: 7
Views: 8247

Re: PID Control

have a look at this,
It's supposed to follow the line, go around the obstacle, when it sees a green square it should turn that way, when it's in the big green "field" it should find the can an push it out. (It's for robocup junior belgium, we won last time!)

by cyragia
27 Feb 2012, 19:33
Forum: Mindstorms Software
Topic: PID Control
Replies: 7
Views: 8247

Re: PID Control

Well me too, but only if you are going fast.
The derivative will make sure you don't overshoot any corners at high speeds, but as it's goind fairly slow it would'n really matter.
also, what do you think of the code ? any ideas to improve it ?
by cyragia
27 Feb 2012, 19:03
Forum: Mindstorms Software
Topic: PID Control
Replies: 7
Views: 8247

PID Control

Hello, I've build an nxt robot which uses pid to follow a line. It is quite slow due to the motors (nxt motors without external gears), so i didn't use the Derivative. I did use the Proportional part. (of course !) My Question is: Do I need the Integral for a line follower ? What are the benefits of...
by cyragia
12 Jan 2012, 16:00
Forum: Mindstorms Software
Topic: Calibration
Replies: 4
Views: 5125

Re: Calibration

Thanks ! :D
by cyragia
12 Jan 2012, 11:41
Forum: Mindstorms Software
Topic: Calibration
Replies: 4
Views: 5125

Re: Calibration

that's the problem; they're not linear and like you say math is pretty hard to do in NXT-G. :cry:
by cyragia
11 Jan 2012, 13:03
Forum: Mindstorms Software
Topic: Calibration
Replies: 4
Views: 5125

Calibration

Hello, I have a robot which uses 2 light sensors (from lego). I use NXT-G to program the robot. The problem is that the 2 sensors don't give the same values (raw) at the same colors. In NXT-G you can only calibrate 1 sensor and the other one is calibrated with the same scheme. As my sensors are diff...