Search found 7 matches

by madscripter
01 Mar 2011, 01:43
Forum: Mindstorms Software
Topic: NXC: Sensor port as I/O pin
Replies: 9
Views: 8725

Re: NXC: Sensor port as I/O pin

I tried a lot and found out that the SetSensorDigiPinsDirection command changes the current on the logical pins 5 and 6 but there wasn't enogh power to use a transitor with it so i found something verry interesting SetSensorType(IN_X,SENSOR_TYPE_LIGHT_ACTIVE); will set pin 5 to a bit more than 3.15 ...
by madscripter
22 Feb 2011, 22:26
Forum: Mindstorms Software
Topic: NXC: Sensor port as I/O pin
Replies: 9
Views: 8725

Re: NXC: Sensor port as I/O pin

well the problem was that the nxt only gives 110mA of power so and as i didnt want to fry the nxt(and save the nxts battery) i decided to put the motors i want to control in a different circuit. I was actually thinking about using an optical relay wich consists of a diode and an photo transistor, or...
by madscripter
22 Feb 2011, 21:13
Forum: Mindstorms Software
Topic: NXC: Sensor port as I/O pin
Replies: 9
Views: 8725

Re: NXC: Sensor port as I/O pin

As far as hardware goes, check out the Extreme NXT book. It's a great book (I have the first and second edition) and very cheap (~$6 US) from Amazon.com , if you live in Canada or the US. It explains the basics (and some of the not-so-basics) of interfacing with the NXT. I allready have the NXT EXt...
by madscripter
22 Feb 2011, 09:08
Forum: Mindstorms Hardware
Topic: Using multiple I²C devices on one port
Replies: 8
Views: 8019

Re: Using multiple I²C devices on one port

i am trying to build a soccer bot for the robocup On S1 I have IRSeeker and compass S2: is an USsensor (to notice if a wal is reached) S3 is a colorsensor combined with a laserpointer to find out if the ball is directly in front of the robot S4 will be used as a motor control for the backspinn (coul...
by madscripter
22 Feb 2011, 08:36
Forum: Mindstorms Hardware
Topic: Using multiple I²C devices on one port
Replies: 8
Views: 8019

Re: Using multiple I²C devices on one port

first of all: thank you for this fast and great support :D this is a great forum ;) i wanted to use a HT IR seeker V2 which luckily has the adress 0x10 and a HT compass sensor (with standart adress) and i dont think they need too much power as this is the only port I am using with more than one I²C...
by madscripter
21 Feb 2011, 23:54
Forum: Mindstorms Hardware
Topic: Using multiple I²C devices on one port
Replies: 8
Views: 8019

Using multiple I²C devices on one port

Hi,
as I ran out of ports on one of my prjojects und i dont have the money to buy a second NXT I was thinking of just connecting them to one port.
Is this possible?
i was espicially worrying about the power supply and wondering if I could just unse batterys for this purpose

Julian
by madscripter
21 Feb 2011, 23:47
Forum: Mindstorms Software
Topic: NXC: Sensor port as I/O pin
Replies: 9
Views: 8725

NXC: Sensor port as I/O pin

Hi, i am trying to use one of the NXT sensorports as an out pin. My idea was to use out signal with an opto-isolator to comtrol a second cicuit which runns two motors.(And as the nxt battery run down fast i didn't want to use them to power these motors).The Problem is that I still need to control th...