This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc
Moderators: roger, 99jonathan, imaqine
by unroller » Mon Nov 21, 2011 2:43 pm
Hi,
I found that LeJOS uses TYPE_LOWSPEED_9V constant to specify 9V power level for some I2C sensors. But I could not find any documentation that describes the necessary power level for these sensors.
I tested HiTechnic Accelerometer sensor using TYPE_LOWSPEED_9V and TYPE_LOWSPEED and found that it worked in both cases.
What advantages of using 9V power level instead of 5V? Is it safe to use HTAccelerometer sensor in HIGH_SPEED mode using 9V power level (by specify TYPE_LOWSPEED_9V)?
Thanks
-
unroller
- Novice
-
- Posts: 41
- Joined: Sat Sep 25, 2010 6:10 am
by gloomyandy » Mon Nov 21, 2011 3:58 pm
It all depends on the sensor, for instance the Lego Ultrasonic sensor requires 9V to operate correctly (it uses the 9V supply in a voltage doubler circuit to driver the ultrasonic emitter). I suspect that all certified Lego devices will be safe with a 9V supply. As to other devices best read the documentation. The safe option is to try it with 5V if it works stick to that...
Andy
-

gloomyandy
- leJOS Team Member
-
- Posts: 3004
- Joined: Fri Sep 28, 2007 2:06 pm
- Location: UK
Return to NXJ Hardware
Who is online
Users browsing this forum: No registered users and 3 guests