Search found 13 matches

by shaoxiaojun
11 Aug 2012, 02:24
Forum: Mindstorms Software
Topic: dIMU Accelerometer
Replies: 6
Views: 6106

Re: dIMU Accelerometer

thanks for the reply, so is there any specific angle should I lay down the sensor on a flat surface when doing the calibration? as I know, the gravity is a static acceleration value and can be mapping to 3 axis, so even in a idle state, we still can read 3 value from x,y,z. does this disturb the cal...
by shaoxiaojun
10 Aug 2012, 05:10
Forum: Mindstorms Software
Topic: dIMU Accelerometer
Replies: 6
Views: 6106

Re: dIMU Accelerometer

thanks guys, but could you comment little bit on calibrate function: void CalibrateDIAccl(const byte port, int iter) { TextOut(0, LCD_LINE1, "Calibrating..."); Wait(SEC_1); SetSensorDIAcclDrift(port, 0, 0, 0); int x = 0, y = 0, z = 0; VectorType raw; repeat(iter) { ReadSensorDIAcclRaw(S1, ...
by shaoxiaojun
09 Aug 2012, 14:03
Forum: Mindstorms Software
Topic: dIMU Accelerometer
Replies: 6
Views: 6106

dIMU Accelerometer

Hi All, I got this powerful sensor days ago, I prefer start from the accelerometer, after downloaded a sample code, I always got a error in NXT screen 'File error -1', I saw the aurthor of this code is the best friend mattallen here, so please help to comment. I use the latest testing Fireware(build...
by shaoxiaojun
19 Jun 2012, 15:07
Forum: Mindstorms Hardware
Topic: Why are sensors so expensive?
Replies: 11
Views: 13274

Re: Why are sensors so expensive?

come on man, think about Chinese fans, in shanghai, which is the biggest city in china, people get average 4 to 5k Rmb per month, half of it need to pay for house rental, but note, 1$ = 6.3Rmb!!! I cannot imagine you guys live in developed country but still complain the price.... :lol:
by shaoxiaojun
19 Jun 2012, 08:28
Forum: Mindstorms Hardware
Topic: Ultrasonic sensor detect obstacle's size
Replies: 3
Views: 5093

Re: Ultrasonic sensor detect obstacle's size

oh, that's too bad, is that possible to add a special mask with a line mouth in front of US sensor to simulate the 'line siginal' though i guess it might reflect the ultrasonic and make the data mess...
by shaoxiaojun
18 Jun 2012, 11:47
Forum: Mindstorms Hardware
Topic: Ultrasonic sensor detect obstacle's size
Replies: 3
Views: 5093

Ultrasonic sensor detect obstacle's size

Hi All, I try use the US sensor to detect the obstacle's size, like height or width, the theory is simple, there's an object in front of sensor with distance 'line distance', move the US sensor which dirven by a motor, the motor move looply by a tiny steps each time, like: RotateMotor(OUT_B, 10, 5);...
by shaoxiaojun
12 Jun 2012, 04:43
Forum: Mindstorms Hardware
Topic: recommend some cool sensors
Replies: 6
Views: 7156

Re: recommend some cool sensors

;) thank you so much matt, i learned lot from you, i already place my order in Amazon for the dIMU Sensor, I'll give up the multiplex now, get another Brick is a better idea but when my budget is available.
by shaoxiaojun
12 Jun 2012, 03:22
Forum: Mindstorms Hardware
Topic: recommend some cool sensors
Replies: 6
Views: 7156

Re: recommend some cool sensors

Unbelieveable, Amazing! 'the dIMU: Inertial Motion Sensor is really really powerful, there's no reason to refuse it which much much better than HiTechnic one's except the packaging... and i think that's why the HiTechnic certificated by Lego. I may need put this small stuff in a little case to avoid...
by shaoxiaojun
11 Jun 2012, 13:40
Forum: Mindstorms Hardware
Topic: recommend some cool sensors
Replies: 6
Views: 7156

recommend some cool sensors

My friend will visit US next week and I want ask him to help take some sensors back for me(we're chinese), but my budget is really limited( <=100$ ), I looked at http://www.hitechnic.com , there're so many attractive sensors... I'm new in NXT2.0 and play with NXC, do you have any recommend for me, w...
by shaoxiaojun
11 Jun 2012, 02:11
Forum: Mindstorms Software
Topic: how to use light sensor in NXC
Replies: 13
Views: 14521

Re: how to use light sensor in NXC

I think i tried SetSensorColorNone(S3); yesterday and seems it always return a constant, whatever, I'll confirmed it by today and post the testing result here, hope this can help some starters... So the conclusion of the difference between the old light sensor and NXT 2.0 color sensor are: 1. old on...