Does the LightSensor LED work in Ports 7 and 8 of Orion?


#1

I have a Makeblock Bluetooth Starter Kit (product 2770245 UPC 0 40293 96632 4). I think that the board is an Makeblock Orion.

I bought several Me Light and Grayscale Sensor V1.0 and I wanted to use them at the same time.

The Makeblock WIKI says that it should work in port 3, 6, 7 and 8.

The light sensor part ( lightSensor.read ) seems to work in ports 6, 7 and 8. But it doesn’t work in port 3.

But my main problem is that the ( lightSensor.lightOn ) only seems to work in port 6.

I wanted to see if I can get it to work in 6, 7, and 8 at the same time.
It would be even better if I can get it to work in 3, 6, 7, and 8 at the same time. But three ports is okay.

Does the LightSensor LED work in Ports 7 and 8?

Maybe someone can check if ( lightSensor.lightOn ) works in Orion port 7 and 8. If it works, perhaps its my board hardware/firmware. I already check to make sure the cables and module LED works. - they ALL work in port 6. But ONLY in port 6.


#2

I made a short video to show what I’m seeing. Two problems:

The LightSensor is not working on port 3:

and the LED is not working on port 7 and 8:

My main problem is the LED not working on port 7 and 8. But fixing both problems would be nice.
It would be nice to know if its just my hardware. Does it work for anyone else?


#3

Anyone got a sec to see if the can get the LightSensor LED working in port 7 or 8? or the sensor part working in port 3?

Much appreciated.


#4

Just my daily check for replies. Thanks if anyone can help check their port 7 and 8.


#5

Hello

I am sorry to reply you late, we are trying to fix some bugs including the problem you faced, you can vist http://learn.makeblock.cc/wiring/ in color lables part, you may find the solution. And I will give you the feedback after we tested it.

Thanks for feedback the problems!


#6

thanks peter. i’ll check back in a little bit. hopefully you guy will have it fixed.


#7

Hello

I have checked that the ports 7 and 8 just can read the anolog data from the lightsensor, they can not light the lightsensor led. Please note the color on each port, if the port has blue color it means the led can light after connected, and the black means it is the analog interface, only the port has blue and black colors, the lightsensor led can work. Therefore, the result is the lightsensor can work in ports 7 and 8, but the lightsensor led can only work in port 6.

Thanks


#8

So you still have the Leonardo Board (ME Base for Leonardo) ?

http://wiki.makeblock.cc/index.php?title=Me-Baseboard

That seems to have Blue and Black on 6, 7 and 8. But I can’t seem to find it. Is it still available?


#9

Also - if that’s the case, why doesn’t the 7 Segment Serial Display work on port 5?

http://wiki.makeblock.cc/index.php?title=Me_7-Segment_Serial_Display_-_Red

They both have “Blue”. Is that a part of the bug you guys are fixing?


#10

I noticed that you can’t turn on and off a the LED of the light sensor in port 5. But you can turn it on and off in port 3 and port 4 (even if the light sensor part doesn’t read, which is ok).

I noticed that you can’t get the 7 Segment Serial Display to work in port 5, even though both are Blue.

Actually - nothing seems to work in port 5 except One Way Digital devices (Yellow) such as the Ultrasonic module.


#11

Hello

Port 5 is the original serial port of Arduino, it is used for USB download firmware, if you want use it, please pay attention to pull up the sensor when download firmware. If you want to 7 segment serial display work on port 5, you should change the codes from

MePort_Sig mePort[11] = {{NC, NC}, {11, 10}, {3, 9}, {12, 13}, {8, 2},
{NC, NC}, {A2, A3}, {A6, A1}, {A7, A0}, {6, 7}, {5, 4}
};

to

MePort_Sig mePort[11] = {{NC, NC}, {11, 10}, {3, 9}, {12, 13}, {8, 2},
{1, 0}, {A2, A3}, {A6, A1}, {A7, A0}, {6, 7}, {5, 4}
};

Thanks


#12

Thanks VERY MUCH Peter -

Just checking - Is that:

MePort_Sig mePort[11]

or

MePort_Sig mePort[5]

??


#13

Ok - you mean I should change the code in the FIRMWARE and then re-upload the firmware to the Makeblock Orion, right?

Do you mean in MePort.cpp ?


#14