So I apparently purchased one of
these at some point last year and I have no clue as to how to get it working. Can anyone point me in the right direction as to how to connect to a Prop BOE board and which driver I should use from the OBEX? Thanks for the help.
Comments
Try this program and let me know what it looks like on your display.
We're hoping only one segment lights up at a time but it will probably take a couple attempts to get the display to look the way we want.
Try change the line:
to
Don't change anything else and let me know what the display does.
BTW, Loopy is correct about your display not being a LCD.
Edit: Title changed but posts staying the same!!!
in both versions.
E.g see http://forum.arduino.cc/index.php/topic,16922.0.html
What's not clear is which shift register controls the segments and which controls the digits.
I initially guessed the display was a common cathode display but the video Andy made makes me think it's a common anode.
Shift out 8 zeros followed by 8 ones and record what happens. Do the same with 8 ones followed by 8 zeros. Post the results. One of the two should light one or more segments on some (probably all) of the digits.
This is the part of the code that shifts out the bits.
To shift out 8 zeros followed by 8 ones you'd set activeBits to $FF00. To shift 8 ones followed by 8 zeros you'd set activeBits to $00FF (aka 256)
****** NEVER MIND. I see Dwayne has already answered the software part, and the board has the pins labelled.
What do you mean by this? Here is how I have it connected, DIO Pin 0, SCK Pin 1 and RCK Pin 2. I have tried using both 3.3V and 5V on a Boe Board with the same results. Duane had program running on 16,17 and 18 but I changed that.
Google just the 3461 along with LED comes up the jackpot
Then the whole thing could look like this;
I have not tested it. It's very unlikely it will work since there are so many things I could have gotten wrong.
In theory, the program will show numbers starting at zero and count up to 99,999,999.
The method "MaintainDigits" should keep the display updated. Any of the other cogs can change the value displayed by changing the value of the global variable "fourDigitNumber".
There isn't any provision for the decimal point.
Your schematic doesn't agree with the one Jordan posted. You assume they would number the displays in a logical order. According to the other schematic, digit #0 is the left most digit of the display on the right. So the digits are numbered 4, 5, 6, 7, 0, 1, 2, 3.
Yes it could, but since Peter seems to have found the data sheet for the display it is simpler to use an ohmmeter to see what output pins on the '595's go to what pins on the displays. That video of the display output was not what I expected to see.
I just went by the schematic Jodan posted. I assumed the anodes were at the top and cathodes at the bottom, but if the datasheet Peter found is correct, then the anodes and cathodes are reversed.
This is an easy fix to the program. In the "ShiftOutDigits" method, add a "not" opperator.
Change:
to
This will reverse the bits and swap the anodes with cathodes.
I did not expect what the video shows. Perhaps try shifting out 16 bits at a time with only two bits high, toggle the load output, pause for one second, then shift the high bits one position and repeat. This might tell us more.
That is, start with a word variable set to 3 and rotate one position each time.
If that doesn't work you can try the attached program. Away from my bench so it is not tested but it should shift 2 consecutive bits through the 16 '595 outputs.
BTW
The program Duane posted in post #4 (video in post #6) turned on all 7 segments and DP sequentially which should tell us something.
Shifting out 8 zeros followed by 8 ones in post #17 turned on 6 of 7 segments starting with segment a off followed by b, c, d, e, f, g, and DP going off. Another clue.
Cannot seem to upload or even see the file as a .spin, .txt, or .zip file so I will post it here.