HT Color Sensor V2 Block Advanced

Most commonly used Sensor in WRO Regular:HT Color sensor V2, provide user read object in long distance. But it have some bugs, if when you reading sensor value then interrupt the program, next time you reading the sensor, the sensor will get stuck, and return the last value, you can try out this in EV3 port view APP.

It’s I2C protocol problem, we solve this issue in our block, make sure the robot will not effect by this issue.

And we also add the HSVL mode for you guys, it can make robot read color more accurate.

Update:

Version 1.3:

.Initial release.
.Add Frequency Setting mode.
.Add “RGB to HSVL” mode.
.Fix the bug of HT IIC protocol, prevent some communication failed, (When you reading sensor value then interrupt the program, next time you reading the sensor, the sensor will get stuck).
.Optimized the low level functions.

Download:

Download Link(GitHub):https://github.com/a10036gt/EV3-AdvHTColorV2-Block
Author:OFDL HYT 、 OFDL HSU
Ver:1.3

4 comments

  1. Bail

    does this block work with ev3 color sensor?
    if not, is there a solution to make ev3 color sensor read color from long distance?

    1. OFDL小編

      We have other block “EV3 RGB Enhanced”, it contain the HSVL mode can read color from long dist.

  2. dio

    great job.
    HSVL mode is very usefull.
    thank you.
    just one question: how can you read sensor value at the same time while you following line? i have to stop and read sensor value, if i dont, robot could not follow line anymore.
    what is the problem?

    1. OFDL小編

      Using parallel programming style, do line follow and reading at same time.

Leave a Reply

Your email address will not be published. Required fields are marked *