Best Of
PICOBRICKS OLED Display Issues
Hi everyone,
In a recent seminar on MicroBlocks, we had the opportunity to use the new versions of the PB Kit. This version includes an IR sensor, replacing the outdated ESP01 module; as well as a new OLED display.
Some users have commented that the new display, when used with the OLED Library, intermittently goes dark and makes the display content not visible, when repetitive display writes were used.
We have traced the problem back to the contrast level differences between the old and new display models. To help you out with the identification, here are the images of both display types:
OLD Version:
New Version:
If you are experiencing this problem, here is a quick fix:
Use the Contrast adjustment block of the OLED library and set it to the highest value:4.
An upcoming version of the Library will adjust the default contrast level from 2 to 4 to address the problem.
Happy coding.
Re: MicroBlocks and HuskyLens - Enjoy the beauty of AI Machine Vision with Blocks
As of Pilot release IDE 1.2.30 VM 195, HusyLens Serial is available.
Check out the enhanced WIKI REFERENCE with Tips, Comments and Limits. Also possible is programmatic training / learning option.
Enjoy.
Re: MicroBlocks NEW Features #2 - TFT Library Support
Hi Roy,
Welcome to MicroBlocks and Picobricks.
The light blue DISPLAY block is a user coded function that can be found under My Blocks selection on the left side menu.
It was coded to make it easier to right-justify the output. I have included the code below.
As far as the Fahrenheit display goes, you can do the math conversion using formula: °F = (9/5) * °C + 32
Since MicroBlocks is an Integer math environment, the calculations will lack a certain level of precision. To compensate for that, I am presenting two versions of the formula:
- one with integer math, without decimal positions
- one with a single decimal position accuracy. ( Achieved by first multiplying the TEMP by 90 and then adding 320)
Both scripts are below:
Enjoy.
Re: MicroBlocks NEW Features #2 - TFT Library Support
Made a Tweet about this and posted it on the MicroBlocks Discord server. This is great.
Re: MicroBlocks NEW Features #2 - TFT Library Support
as I am new to this I have 2 questions...
1) is there a picobricks temperature (F) instead of (c)
2) where is Gods name is the display command that you can enter 'display picobricks humidity line 4
I have looked in all the libs and could not find a display command where you can enter a variable.
Thanks,
Roy
Re: MicroBlocks and HuskyLens - Enjoy the beauty of AI Machine Vision with Blocks
Coming within the next two weeks:
SERIAL support at 9600 baud.
It is safe to say that by mid August, you'll be able to experiment with this addition. This is a long awaited feature add. We originally did not provide this support. However, new project development activities pointed out this deficiency. And now we will have it.
If you have HC05 / 06 type Bluetooth cards, you will be able to extend the camera actions to 10 - 100m range, depending on environmental constraints.
Don't forget: we're talking about extending camera results, not the image displays. Those are camera bound.
Enjoy.
Re: School Project Idea: Pain Scale
What a great project. I will try this with the use of potentiometer. Thank you Sad DP
Re: Robot Mobile Platform
Hi,
I'm so glad everything is going well! If you have any problem, I can always help.
Have a great day!
Naze