DICE-R-deluxe

Post details of your projects here.
Post Reply
olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

DICE-R-deluxe

Post by olzeke51 » Sat Jan 27, 2018 2:50 pm

Hey Y'all
You may have noticed my guest blog on the Coridium website, and eventually on my site www.zatworks.com.
'
I wanted to do a short update as I developed a 3 digit prototype to test my software routines.
Here is a short video - 25 secs. I showed the 6 numbers (middle digit has a Datapoint), then what
I thought might be a representation of the 'dots' on the die. The six is a problem, I was going to
use the five(looks like an H) and turn on the datapoint. I think a mask with appropriate holes would
reduce the 'crowding' effect of adjacent displays- which I didn't show.
'
the 'crowding' effect is from the fact that the 1" displays are next to each other and in the 'dot' mode,
the 4,5,and 6 have a lot of verticle lines close to each other. Six displays across could get confusing,
hence the concept of a 'mask' to only show a small dot and cover up the rest of the segment.
'
The ending was my attempt to show that I had used two hex-driver chips - the 74LS365. I opted for some
higher power '540 chips which have octal (8) channels available for my final design.
'
Enjoy -- oops , too large; working with Administrator for a link. YouTube link https://youtu.be/l6en7cgiFNg
'
The datapoint needed a current limiting resistor, as a straight connection pulled more than 20ma!!
This is over the specs.



olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Wed Feb 14, 2018 1:27 pm

Not dead - just some other priorities - Linux
'
connecting the dots with wires in Kicad today

olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Fri Mar 23, 2018 8:05 pm

parts and pcb are in - will do SMT soldering in a day or so
will have two partial kits available - batteries not included!! (you get to solder)
will sell at cost & shipping. The pcb alone was $27+ per board.
Dicer BOM
pcb dicer-pad.kicad_pcb (Olzeke51) -OshPark
.
MPJA
6 1" 7seg CC LED display #15123 OP
1 LED, green #24085 OP
7 switch & cap assy 12MM TH (5/pk !! #30039 SW)
.
DigiKey
1 Potentiometer - 2.5K CT2263-ND (linear taper)
2 74ABT540N 296-4024-5-ND
the following are SMT style
1 ULN2803ADWR 296-15777-1-ND
7 1206JT220R
6 1206JT470R
1 1206JT1K00
.
MISC
1 RESET SWITCH -SMT 6mm
3 2x12 male headers (1 is optional J15)
1 2x4 90* male header (right angle)
1 1x2 90* male header (right angle)
7 jumper wires
wire (stranded/flexible) to solder in Potentiometer(s)
wire (thicker) to solder in 7segment so they stand up
case ??see the Goodwill, etc for an older desk calculator??
5v source
capacitor - filter -??470uF

OPTIONAL
keypad 3x4 or 4x4 matrix
LCD display - 4 bit mode suggested / pinned out on J15
Potentiometer for LCD backlight
I2C device ?? - on J15
**
Now to finish up the program

******** ******** edit April 6
U1 'ABT540 has been replaced with small proto SMT board and TBD62783AFG fet DEVICE
Last edited by olzeke51 on Sat Apr 07, 2018 1:42 am, edited 1 time in total.

olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Sat Mar 24, 2018 4:21 pm

it's happening
Attachments
happening.jpg
happening.jpg (81.76 KiB) Viewed 1124 times

olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Wed Mar 28, 2018 8:59 pm

Ran into an issue -- the double LED segments need more voltage than my circuit can give them.
Working on a replacement driver chip - a high-side FET - TBD62783AFG.
'
Prototype has a new meaning , now!

basicchip
Posts: 837
Joined: Fri Oct 19, 2012 2:39 am
Location: Lake Tahoe, CA
Contact:

Re: DICE-R-deluxe

Post by basicchip » Thu Mar 29, 2018 3:43 pm

How about posting a schematic? PDF probably works best, you can print to a PDF using something like PDFlite if you don't have something else installed.

olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Sat Mar 31, 2018 3:17 pm

Schematic included - the 'visual' file has a rough, hand-drawn representation of signal lines
'
was delayed - had to prove that my chip replacement was going to work !!! -
used a TBD62783AFG - a high-side FET to give me more voltage out vs. the '540
'
Attachments
dicer-mod.pdf
(394.09 KiB) Downloaded 28 times
dicer-mod-visual.pdf
(442.57 KiB) Downloaded 29 times

olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Sat Apr 07, 2018 1:39 am

Dicer_mod1.bas
(14.74 KiB) Downloaded 19 times
Here is a program for the "Dicer" project - written for the Mod1 version.
Mod 1 replace the U1 - '540 chip with the TBD67783AFG FET device,
this disables the LED7 currently.

there are comments in the program - post here if questions
BASIC flow is
Initialize, get MOde, do Mode via a SELECT-CASE, LOOP
dispSEGS(die,index) is the bottom displayer:
. die is 1-6, index is a big CONST array with segments on/off(s) data
dispALL sets up the 6 indexes and call dispSEGs
dispPrompt sets up the patterns for messages and calls dispALL
getKEYPDin --IS CURRENTLY configured for Mode 1- dice roller
'
DICER was created to be a dice-roller for a board game, and originally to fit in a
recycled office adding machine (calculator)

'
It only includes 'Mode 1- for the Dice Roller
' [Mode is determined by the A/D input from the potentiometer]
SW7 (far right on the PCB is the 'GO/Enter/Roll" switch
SW1 is on the left and decreased the count - SW2 increases the count

You'll need this also:
Random.bas
(1.43 KiB) Downloaded 18 times

olzeke51
Posts: 313
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina
Contact:

Re: DICE-R-deluxe

Post by olzeke51 » Tue Apr 10, 2018 10:07 pm

check Coridium blog for some pictures.
the 'banner' shows my replacement solution for driving the 7-segment displays
(which is located on the bottom of the board - along with the ARM Stamp)
'
Am considering a 'Cylon' eye scan for Mode 2 - the 'die' representation requires
the use of a 'mask' to get the 'dots' of a die - the segments are a little confusing.
and '6' uses the DP for one of its count .
'
Will be putting together 2 kits for sale - some assembly required !!!, I have to
make up the little SMT pcb for the replacement driver chip. More info to follow.
'
would like to hear from others doing a similar project or modifying my software!!!
Is there any interest in a Ver 2 pcb with the newer chip on it??
gary at the site of zatworks of the dot com
'
Gary Olzeke

Post Reply