Sensing IR signals


#1

Hi

I noticed that there are two IR Sensor at the ears of Codey. I need to track the signal from each sensor separately, the strength of the signal at each sensor will decide the direction for Codey to move.
I’m trying to write a follow me robot.

So Can I measure each IR Sensor Separately?

Regards


#2

Dear Abarakat,

You can measure the IR message received, for example:
image

Makeblock.


#3

I don’t think you can use the two signals independently. It is a nice idea though!


#4

Just wondering

Is there a list of all the functions that come with the libraries (Codey, Rocky).

Is there a way where we can access more functionality using Python than what’s offered using Blocks.

There should be more.

Is there a way to create new functions to better utilize and control the hardware.

Regards
Aladdin


#5

Hi abarakat,
Here is the link for your question: http://docs-for-mk.readthedocs.io/en/latest/api/codey/

And I am afraid users cannot create new functions to control the hardware yet.


#6

Hi Makeblock,

I tried the IR is me too I can not do with an external controller or TV.
The Codey sends and receives are clean signals.

Here is my code and here are the controllers:
ri2


Codey rocky mBlock 5
#7

Hi

The APIs is not complete.

The APIs for “IR reception emitter” are missing


#8

Hi abarakat & crackel,
I am afraid that currently IR control port on mblock software is not open for users yet, although the firmware supports that. Users now cannot use remote controller to control codey rocky.
We will update the information if we add this function to mblock software officially.
Thank you for the feedback, we’ll complete APIs for IR reception emitter then.


#9

:sob: we will wait


#10

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.