Jump to content

Recommended Posts

Posted

Goodmorning,

I saw a Youtube_HiTechnic_trains video, but: what are the settings and blocks that were

used in the NXT program to do that?

I am Totally noob at programming!!! Please help me??

- 2 PF Trains

- Mindstorms nxt 2.0

- HiTechnic IRLink (sensor)

- light sensor

- ultrasonic sensor

Nikki

Posted

Hi Nikki,

Welcome to EB!

When asking a question, you should try to be as clear as possible.

Instead of saying you saw A video, you might want to include a link to (or embed) THE video. Do you have a link?

Posted

They are using the Hitechnic IRLink Sensor, this one:

http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=NIL1046

The blocks are at the bottom of the page.

PF IRLink Block - Controls Power Functions motors with IR Control unit

Train IRLink Block - Controls LEGO R/C trains

RCX IRLink Block - Transmits commands to a Mindstorms RCX and receives RCX sensor readings

There's a special block for trains.

  • 2 weeks later...
Posted

I have made my own configuration for the train control system, and i was wondering if you could maybe take a look and see if it is correctly done, or not. Or maybe ask someone else to do it ;)

LLGPLUp.jpg

I know it's a simple problem, but i can't figure it out!!

Nikki

  • 3 weeks later...
Posted

Sorry, sorry, SORRY

TOTAL NOOB -:)

I owed 6 PF-trains, NOT IR-Trains (Note Myself: reading glasses!!!!!!)

IRLink sensor: Nikki_Test....1,2,3,GO!

WTF!!!!!: range: 20-30 centimeter? Bummer!!!!

Never give up:

Let's me see.....: Lego PF-emote.....PF-trains automatic controller.....

HEEEY!!!Eureka!!!! I got it !!!!!

Look: http://imgur.com/iRRdH02&Wu1NKAh&uMfufe7#2

(Well..... not me....It was a Youtube video by Ikuo Kamei about a NXT PF Speed Controller

Build Instruction (

)

NXT-G Program (Noob-programming-101) :

Motor A...Forward....Duration: 0.15 Rotations...Simple!

Download & Run

Yuppie!!!! The Train Runs...

Big Breakthrough!!!!!

Hold on: the train passes the station! Not good!!

I thought: ---> Motor A...Backward....Duration: 0.15 Rotations... (Noob_programming-101)

---->(http://imgur.com/fMD6BYD)

I may be a bit out of ideas on how I should fix this problem I'm having.

Please, won't you me help?

P.S: I have stroke, difficult writing, but my son is doing the typing/translating ;-)

Nikki

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...