uOLED-96-PROP or µOLED-128-GMD1
AJ-9000
Posts: 52
What I would like to do is use the uOLED-96-PROP to display certain images on it's display determined by the position of a optical encoder disk. One problem I have is I can't program in Spin but I can in Basic and I understand there is a Basic interpiter called FemtoBasic for the PROP.
So Knowing everything what do you recommend for my project? uOLED-96-PROP or the µOLED-128-GMD1 using a BS2PX stamp.
So Knowing everything what do you recommend for my project? uOLED-96-PROP or the µOLED-128-GMD1 using a BS2PX stamp.
Comments
If you must have actual images, the only way to do that currently without programming in Spin would be to use a Stamp and the uOLED-128-GMD1.
-96 has a propeller chip and 6 available i/o pins.
-96 is tiny.
Spin might take a bit of work, but most of the difficult writing is done (sd card, managing display).
The question then turns on whether you want to know everything or just get it going.
-128 will need an sd slot and card added.
-128 is bigger, but it's still small.
-128 needs a microprocessor for control.
Both need to be told how to use the encoder disk. The -96 only has a couple of pins to manage that. So how do you want to handle the encoder?
What I mean by simplicity and funtionality is for example if you wanted to find the right sized wrench for a metric bolt you would select the metric wrench mode, it would then be easier to find because only metric wrench sizes would be shown when you took the measurement.
The plan was to use a mechanical dial caliper (with dial part removed) and attatch a quadratic encoder to the dial gear that a uOLED-96-PROP would use to determine what stored images to display on the uOLED. The image shown would have both digital and graphic information that would correspond to the actual measurement.
In the normal inch mode the sizes would be common sizes like 1/16, 5/64, 3/32, 7/64, 1/8, 9/64, 5/32, 11/64, 3/16, 1/4, ect... or if the metric mode was selected then 1.0mm, 1.5mm, 2.0mm, 2.5mm, 3.0mm, ect...would be displayed. For the wrench mode you would have sizes like 1/4, 5/16, 3/8, 7/16, 1/2 ect...in the case of inches.
Note it might be easier to program the PROP to do all the caculations with results that would be displayed realtime rather then try to store all the images needed in advance I guess.
Pictures below show examples of how the uOLED would look after taking a measurment;
#1 shows the measurment is in between 2 & 1/8" and 2 & 9/64"
#2 shows the measurment is 2 & 9/64"
#3 shows the measurment is in between 2 & 9/64" and 2 & 5/32"
When the two verticle blue lines only are shown indicates that the measurment is exact, if the measurment is less, then the red line is only shown, if the measurment is more, then the green line is only shown.