New from HiTechnic: Angle and Magnetic Sensors
Re: New from HiTechnic: Angle and Magnetic Sensors
1000 rpm -
does it mean, you can read 1000*360/60= 6000 different angle counts each second?
does it mean, you can read 1000*360/60= 6000 different angle counts each second?
-
- Posts: 18
- Joined: 28 Sep 2010, 23:57
Re: New from HiTechnic: Angle and Magnetic Sensors
No... it means you can reliably get an RPM reading of up to 1000 RPM (but like I said, I believe it can actually go much higher).1000 rpm -
does it mean, you can read 1000*360/60= 6000 different angle counts each second?
The Angle sensor is a digital I2C sensor so the fastest you can read the sensor is about 100 time per second. Every time you read the sensor you can read the Angle, Accumulated Angle, and RPM. These values are all maintained in the sensor, not on the NXT. It is not like the old LEGO RCX rotation sensor or the NXT motor encoders where the processing of the encoder takes place on the p-brick.
Gus
Re: New from HiTechnic: Angle and Magnetic Sensors
gusjansson wrote:Officially the RPM range is -1000 to 1000 RPM though I have tested this well beyond that range. Gearing it up a couple of times I was able to get RPM readings beyond 6000RPM without any reason to suspect that it is not accurate.What is the Max. rpm it is able to handle?
Gus
Wow more than we should need!
Thank you,
Doc
"Anyone who has never made a mistake has never tried anything new."
Albert Einstein
Albert Einstein
Re: New from HiTechnic: Angle and Magnetic Sensors
I agree about through hole version being more difficult and costly, but a packaging like a shortened version of the power function M motor would have been really easier to use.gusjansson wrote:The sensor packaging is really not bad or difficult to work with.
Actually, I am dreaming of a NXT servo motor using the power function package, every time I must use a NXT motor, it is always painful to find the good way to attach it.
Thanks for your response, this encoder internals looks really great!It is actually very interesting how this encoder works. [...]
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
Re: New from HiTechnic: Angle and Magnetic Sensors
This makes me feel better about it. I agree, using the NXT motor as a rotation sensor is frustrating, has gear lag, a huge amount of resistance, and the like. I also like the ability to read the RPm and the like.
Well done, hitechnic!
Well done, hitechnic!
Keep on brickin'
Re: New from HiTechnic: Angle and Magnetic Sensors
If you are willing to build your own, a company named CUI makes an encoder that very easily is adpated to Lego use and can be through axle mounted, and also is compatible with the normal motor tachometer inputs of a motor port.
It also has a much higher resolution -- 2048 lines which if I remember correctly gives you 4096 counts per rev (Lego firmware counts rising edge of A & B pulse from encoder)
Here is the part at digi-key:
http://parts.digikey.com/1/parts/957564 ... v-kit.html
If you need further information, let me know.
It also has a much higher resolution -- 2048 lines which if I remember correctly gives you 4096 counts per rev (Lego firmware counts rising edge of A & B pulse from encoder)
Here is the part at digi-key:
http://parts.digikey.com/1/parts/957564 ... v-kit.html
If you need further information, let me know.
Re: New from HiTechnic: Angle and Magnetic Sensors
cghaning,
How would you count the pulses that quickly on the NXT? You won't be able to do without an additional controller that has interrupts.
- Xander
How would you count the pulses that quickly on the NXT? You won't be able to do without an additional controller that has interrupts.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: New from HiTechnic: Angle and Magnetic Sensors
Gus--
When are these parts shipping? How soon can I order them. The angle sensor seems really cool!
When are these parts shipping? How soon can I order them. The angle sensor seems really cool!
Blog: 08milluz.wordpress.com
LMS Shuttle: facebook.com/lmsshuttle
LMS Shuttle: facebook.com/lmsshuttle
-
- Posts: 18
- Joined: 28 Sep 2010, 23:57
Re: New from HiTechnic: Angle and Magnetic Sensors
Both the Angle sensor and Magnetic sensor are shipping now.When are these parts shipping? How soon can I order them. The angle sensor seems really cool!
Gus
Re: New from HiTechnic: Angle and Magnetic Sensors
Xander -- I wired this encoder to the normal motor tachometer (encoder) inputs of the motor port (on the connector this is pins 5 and 6) so no external controller necessary!!!mightor wrote:cghaning,
How would you count the pulses that quickly on the NXT? You won't be able to do without an additional controller that has interrupts.
- Xander
Who is online
Users browsing this forum: No registered users and 1 guest