Beruflich Dokumente
Kultur Dokumente
P Prog Com
mpact Hard
dware
e
ementtation
n
Imple
Summ
mary
Projecct Scope
TThecompleeteprogram
mmershard
dwarewillffitinacomp
pactsizeen
nclosure,wh
hichcan
be easily transporrted (in a small
s
bag or
o even poccket), or jusst stay nexxt to the deesktop /
occupying much
m
deskktop space. The desiggn should also be
laptop computer, without o
willnotdisturbanicelyyarrangedd
desktopsettup.
aesthetticallyattracctive,soitw
In order to
o break witth the trad
ditionally ssquare boxx design of
o standard project
enclosu
ures,anewdesignhasbeenselectted,ascanbeseenonFigure1.
Figure 1Enclosureusedto
oaccommodaatethehardw
waremain
b
board
(includin
ng the USB su
ubboard) and
d the ZIF sockket board
(P
PACTECModeel87836510508,PPLXKitt, Greyw/Blaack Sides,
externaldimen
nsions121.9xx78.7x33mm
m).
Circuiit Schema
atics
Figure 2Mainboardcircuitschem
matics
Besides reaarranging th
he components layoutt, this desiggn is exactly the samee as rev.
0.3.2offtheoriginaalhardwaree.
What is completely new is the design
d
of th
he ZIF sockket board. The
T original design
consideeredusingm
multiplecon
nnectors,eeachlinked differently totheZIFssocket,top
program
thediffferentPICfaamilies.Thiisnewdesiggnhasjust oneconnector,andanarrayofsswitches
to perfo
orm the same functio
on. With thiis approach
h, the final design is more
m
compaact, and
there aare no loosse cables or
o exposed connectorss. Figure 3 shows thee ZIF sockeet board
schemaatics.
Figure 3ZIFsocketb
boardschemattics.Anarrayof27keys(arrrangedin3ggroups)replacestheconnecctors.
Note the th
hree added
d capacitorss, between VDD and GND,
G
each made of taantalum,
marked
d 10uF / 6.3V.
6
Thesee are SMD componen
nts, and arre intended
d to supprress any
electrical noise that may affeect the +5V
V line, whicch may inteerfere with
h the programming
ors.
sequence,givingraandomerro
Inordertoknowthep
positionofeeachkeywhenprogrammingapaarticularPIC
Cfamily,
nFigure4hasbeencre
eated,andsshouldbekkeptclosetothehardw
warefor
thetableshownin
reference.
Figure 4 PIC familyy selection matrix. Each grroup of keys is marked ass S1 through S3, while eaach key is
numbereedfrom1to 9.Beloweach
hPICfamilyn
name,theoriiginalconnecttorname(P2throughP9) hasbeen
keptforb
backreferencce.
Sobasicallyy,ifaPIC16
6F628A(PIC
C18P)istob
beprogram
mmed,S1K
Keys1and2
2willbe
ON,S2Keys8an
nd9willbeON,andS3Key2willbeON.AllltherestwillbeOFF.
Iftheuserchangesof PICfamily frequently,agoodadvviceistoleaveALLkeyysinthe
OFF po
osition after using thee programm
mer, just to
t avoid errrors due to
t incorrect family
selectio
on whenussingit next time,until thehabit ofverifying
o
gthekey co
onfiguration
nbefore
program
mmingismade.
wonderwhyythekeysaarearrangeedinthree groups;theeanswerissimple:
Onemayw
three 9
9key DIP Switches haave been ussed (Grayhill, Series 78,
7 Model 78B09
7
with
h Raised
Slides).Usingaraaisedslideversionisfu
undamentaaltoallowaneasyman
nualchangeeofeach
switch((notoolsneeeded).
Printe
ed Circuiit Boardss (PCB)
TThePCBforeachsectionhasbeeenredesign
nedinorderrtofitthesselecteden
nclosure,
asexplaainedbeforre.Figure5showstheP
PCBoftheU
USBconnecctorsubboaard.
Figure 5USBconnecctorsubboard
d;justtheUSB
BBtypeconn
nector,a4pin
nlinearheadeerandtwoscrewholes.
Figure 6Mainboard;overalllayou
utandcompo
onentsplacem
ment.
Intheappeendixattheeendofthiisarticleyo
oumayfind
dtheactuallsizePCBd
drawings
andsilkkscreen,sod
donotworryifsomerreferencesaarenotclearintheabo
ovefigures.
TThesetwob
boardswillbemountediinsidetheen
nclosure.TheeUSBconne
ectorrequireesspecial
care,sin
nceitmustfitexactlyin aholecutin
ntheenclosu
usefrontpanel.Figure7
7showsthe separate
partsan
ndthefinalre
esultwhenm
mountedtoggether.
Figure 7Componenttpartsandfin
nalplacementoftheUSBsu
ubboard.
TThemainboardgoesjustnexttotheUSBsubboard,assshowninFFigure8.
Figure 9MainboardandUSBsubboardare
connecteedbya4wireeflatcable.
TTheZIFsoccketboardiswheretheetruevalueeofthisdessignresidess.Thisboard
dwillbe
exposed
d,mounted
doutoftheboxsomuchcaremustbeexercisedwhenb
buildingit.Itwould
havebeeenpossibletoputitiinsidethee
enclosure,ccuttinglargeholesfor theZIFsoccketand
theswitchestobe
eaccessible atthetop oftheunit.Thedecisiion,howeveer,wastom
makean
oardisexpo
osed.Figuree10showsthePCB
innovattivedesign,andthisisthereasonwhythebo
oftheZZIFsocketboard.
Figure 100ZIFsocketboardPCB.
Capacitors C1~C3 are mounted on the
2, as
copper sside; resistorss R1 and R2
well as connector J4
J will also be
mounted
d on the copper side, desspite
beingsho
ownontheco
omponentside.
Figure 111ZIFsocketboardsilkscreeen.
Thisdesiggnisprintediinselfadhesivvepaper,whicchislater
coveredw
withtransparrentadhesivefilm.
Blueparttsarecarefullycutandrem
moved,thepro
otective
backlayeerofthepapeerisremovedexposingtheadhesive,
anditisccarefullyglued
dinplaceinthePCB.
Figure 122ZIFsockettboardfinisheedandinplacceontopofttheenclosure.Thesilkscree
endesignalso
oincludes
indicationsaboutcom
mponentsthattareoutside theboard,m
mountedonth
heactualplassticoftheboxx,suchas
theLEDsandtheUpdate/Runsswitch.Thisco
ontributesto createaseam
mlesstransitionbetweenttheboard
andtheeenclosuresurfface.
TThereisan
nadditionalstepbeforreachievinggthepleasaantlookof Figure12; thetop
side off the enclo
osure mustt be cut so the copper side of
o the boarrd, with th
he SMD
compon
nentsandcconnector,laysflatontthesurfaceandaccesssisgrantedtothemain
nboard.
Thiscuttisarough
hone,itwillbecompletelyhiddeen,anditissbigenoughtoexposeeallthe
copper side; care should bee exercised,, however, not to cutt the anglees were thee board
ured.Figuree13showsttheinnersideoftheto
oppanel.
screwswillbesecu
Figure 133Innersideoftoppanel.ThelargecuttexposesthecopperareaaandSMDcomponents,asw
wellasthe
connecto
orthatlinksto
othemainboard(shielded)).R1andR2aarealsomountedonthissid
de.
Figure 13 also
a
revealss the additional comp
ponents mo
ounted on the
t box; th
he three
statusLLEDs(coverredbygrey plastictokkeepthem inplace)an
ndtheUpd
date/Runswitch.
Thissw
witchreplace
esoneofth
heoriginaljjumpers;OFFmeansjumperdisconnected,sothe
unitisiinFirmwareeUpdateM
Mode.TheO
ONconditio
onsimulateesjumpercconnected,sothe
unitisinNormalRunMode.TThereisnoneedtoopeentheunittoupdatetthefirmwarre.
Once all th
he connecto
ors are firm
mly locked in place, the unit can be closed and
a it is
C has been loaded witth the prop
per firmware using
ready tto run (provvided the internal PIC
anotherprogramm
mer,asitis extensivelyyexplainedintheorigginaldocum
mentation). Thereis
justasingleconneectorontheefrontpanel,theUSB
B,andtherrestoftheccontrolsareeonthe
toppan
nel.
TTheresultiisacompacct,portableeandattracctivedesign
n,withtheffullfunction
nalityof
theorigginalidea.
MarrceloMaggi(mmaggi@
@hotmail.com)June,2
2011
Appendix
PrintedCircuitBoards(actualsize)andSilkscreens:
USBsubboard
Mainboard
ZIFsocketboard