Page 1 of 1

IR sensors with flowcode 9

Posted: Thu Apr 29, 2021 4:06 pm
by reedas
I am having problems reading from the IR sensors on the allcode hardware itself, it does simulate ok. It is only able to successfully read and display values for the left front and left sensors all the other sensors show very low (0,1 or 2 mostly) even when very close to objects on an actual allcode.

I am using flowcode 9
only Left(LT) and left front(LF) read and display correctly
only Left(LT) and left front(LF) read and display correctly
allcode sensor.jpg (169.25 KiB) Viewed 8212 times
irtest11.fcfx
(15.03 KiB) Downloaded 202 times
I have set the students a maze running task as their final assignment and this may be difficult to accomplish with limited vision.

Thanks,

Andrew

Re: IR sensors with flowcode 9

Posted: Wed May 12, 2021 4:35 pm
by LeighM
Hi Andrew,
Sorry for the delay in getting back to you.
Do you have more than one Formula Allcode,
such that we can determine if it is just this one unit that might be at fault?

Re: IR sensors with flowcode 9

Posted: Thu May 13, 2021 3:24 pm
by reedas
Hi Leigh,

It is the same on all the Allcode rovers we've tried. Another issue that may be related is that the logo commands cause the Allcode rover program to hang.

Thanks Andrew

Re: IR sensors with flowcode 9

Posted: Fri May 14, 2021 10:04 am
by Benj
Hello Andrew,

Many thanks for letting us know I am now in the process of investigating this one for you. There seems to be some kind of problem relating to the choice of MCU target which may or may not be causing the problem.

Re: IR sensors with flowcode 9

Posted: Tue May 25, 2021 2:41 pm
by Benj
Hello,

Many thanks for letting us know on this one, sorry it took a while for us to replicate and then find the cause but this has now been resolved in the latest v9 and v8 updates.