Hello all.I am new to RobotC, but have experience with NXT-G and arduino. Recently I tried to use a Mindstorms NXT with a HiTechnic component (HiTechnic DC motor controller and TETRIX motor), and met some trouble . I had set it up to run more HiTechnic controllers and to receive commands from a joystiq, here is the code:

In the way of hardware, I provided 6v of power to the HiTechnic Controller, attached motors to both the Motor1 and 2 channels, and of course a cord from the HiTechnic controller to the NXT by way of port A. I wouldn't be surprised if I have more than a few mistakes to clean up, but I can't find any helpful online guides. Thanks for the help!

Tue Jan 29, 2013 5:26 pm

picaroon123

Rookie

Joined: Tue Jan 29, 2013 5:17 pmPosts: 5

Re: noob in need

I now see I need some drivers! Woops!

Tue Jan 29, 2013 5:43 pm

JohnWatson

Site Admin

Joined: Thu May 24, 2012 12:15 pmPosts: 672

Re: noob in need

There are a couple of issues I am seeing with the setup. First, the HiTechnic Motor Controller is designed for 12 volt motors and needs a +9 to +15 volt DC power source (usually a battery) in order to work properly; 6 volts may be enough to power the LED's but it will probably cause unexpected results with the motors. It looks like you have the motor controllers set up on Sensor Port 1, but have physically connected the NXT to the controller via Motor Port A; you will need to use Sensor Port 1 to connect to the Motor Controller.

I would suggest taking a look through ourVideo Trainer Curriculum for NXT/TETRIX; it will walk you through, step by step, on how to set up and program a TETRIX robot. I would also suggest taking a look through ourTETRIX page on the ROBOTC wiki, which has information on the commands and functions used to setup and control the HiTechnic Motor and Servo controllers via ROBOTC.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum