Anda di halaman 1dari 3

8.7.2015.

Arduino:useashiftregister(74HC595)andatransistorarray(ULN2803)Erwan'sBlog

Erwan'sBlog
Arduino

XNA

TinyPXEServer

YES:AGAINANOTHERBLOG

CloneDisk

PXE

Search

Boot

Articlesrcents
juin

07
2014

Arduino:useashiftregister(74HC595)andatransistor
array(ULN2803)

arduino

Addcomments

Stillonmyjourneytoawordclock

AuniversalBCD(bootconfiguration
data)
XNAandMonogamepart3
Openelec(onraspberry),Lirc&infrared
Arduino,infraredandLIRC
MkisofsGUI

Inthepreviousarticle,wehaveseenhowtouseashiftregistertocontrolupto8digitaloutputs(ormoreif
youcascadeICs).
Onedrawbackintheprevioussetupisthatwehadtouseonetransistorperdigitaloutput(tocontroladevice
poweredbyanothersource).
Thatis8extratransistors,8*3extrawires,etc:notverypracticalandespeciallyifweintendtocontrolseveral
shiftregistersICs.(iplanonusing3inmywordclockproject)

Commentairesrcents
EasyPXENetworkboot|FlingOSdans
TinyPXEServer
admindansstepbysteptoPXEboot
LinuxMintoverNFS
NickdansstepbysteptoPXEboot
LinuxMintoverNFS

SothisiswheretheULN2803comesin:8NPNtransistorsandonecommongroundinoneintegratedcircuit.

admindansBootWINPEoverPXEona
UEFIcomputer
admindansSquashfsToolsfor
Windows

Archives
mai2015(1)
mars2015(4)
fvrier2015(4)
janvier2015(2)
dcembre2014(1)
novembre2014(1)
octobre2014(3)
septembre2014(7)
aot2014(2)
juillet2014(13)

Seebelowarefreshedschema(comparedtothepreviousarticle).NotethatIhavedecidedtopowermyICs

juin2014(4)

withmy(regulated)Arduino5vbutIcouldaswellhaveusedmybatterypackpower.

mai2014(12)

Our74HC595willcontrolourULN2803(bysendingHIGHorLOWontheinput)whichinturnwilldrivethe

avril2014(10)

currentthrueachoutput/led.

mars2014(13)
fvrier2014(6)
janvier2014(9)
dcembre2013(9)
novembre2013(25)
octobre2013(5)
septembre2013(12)
aot2013(15)
fvrier2013(4)
janvier2013(1)
janvier2012(1)
dcembre2011(14)

Bookmarks
@ContactMe
@MyWebSite
Arduinoforums
CactiForums
gPXE
iPxe
Reboot.Pro

theArduinosketch:
MySoftwares

http://labalec.fr/erwan/?p=1288

1/3

8.7.2015.

Arduino:useashiftregister(74HC595)andatransistorarray(ULN2803)Erwan'sBlog

//thepinsweareusing
intlatchPin=2
intclockPin=3
intdataPin=4

voidsetup(){
//setallthepinsusedtotalktothechip
//asoutputpinssowecanwritetothem
pinMode(latchPin,OUTPUT)
pinMode(clockPin,OUTPUT)
pinMode(dataPin,OUTPUT)
}

voidloop(){
for(inti=0i<8i++){

//takethelatchPinlowsotheLEDsdon'tchangewhilewearewritingdata
digitalWrite(latchPin,LOW)

//shiftoutthebits
shiftOut(dataPin,clockPin,MSBFIRST,i)

//takethelatchpinhighsothepinsreflect
//thedatawehavesent
digitalWrite(latchPin,HIGH)

1.IpTools
2.CloneDisk
3.SnmpTools
4.TinyPxeServer
5.NetDiscovery
6.Mapi2SMTP
7.ArpWatch
8.QuickPE
9.OtherTools

Mta
Connexion
FluxRSSdesarticles
RSSdescommentaires
SitedeWordPressFR

Catgories
arduino(37)
Boot(45)
clonedisk(17)
delphi(7)
dotnet(35)
installwindows(10)

//pausebeforenextvalue:
delay(1000)
}
}

iscsi(3)
mkisofs(1)
network(10)
PXE(20)
raspberry(1)
synology(2)

Postedbyadminat20h27min

Taggedwith:74HC595,ULN2803

4ResponsestoArduino:useashiftregister(74HC595)andatransistorarray(ULN2803)

TinyPXEServer(20)
Uncategorized(15)
USB(5)

1.

WinPE(16)

BenVigilsays:

xna(36)

5dcembre2014at5h06min

Iwasplanningondoingexactlywhatyouaredescribinginthispost,butIwasjustreadingaboutanalternatehigh
poweredshiftregister(TPIC6A595)thatoutputsupto100mAoneachpin,asopposedtothe6mAorsothatthe
74HC595outputs.
ImcuriousifyouknowanythingabouttheTPIC6A595?
Ben
Rpondre

adminsays:
24dcembre2014at17h12min

IdontknowabouttheTPIC6A595butIbelievethearduinoistheretodeliverlogicnotpower.
Hencethe74HC595isokformesinceIdeliverpowerfromadedicatedpowersource.
Erwan
Rpondre

2.

Arssantsays:
19janvier2015at16h34min

Thankstosharethedetailedschematics.Iwilluseittocontrol2x4phasesteppermotor.
Arssant
Rpondre

3.

BlogJ.Schweiss|Arduinorecapsays:
1fvrier2015at22h11min
[]:playwithapotentiometerArduino:useatransistorArduino:useashiftregister(74HC595)Arduino:useashift

http://labalec.fr/erwan/?p=1288

2/3

8.7.2015.

Arduino:useashiftregister(74HC595)andatransistorarray(ULN2803)Erwan'sBlog
register(74HC595)andatransistorarray(ULN2803)Arduino:shiftoutledsArduino:Cascadetwo74HC595Arduino
:Cascadetwo74HC595(video)[]

LeaveaReply

Connectwith:

Name

(required)

Email

(required)

URI

YourComment

YoumayusetheseHTMLtagsandattributes:<ahref=""title=""><abbrtitle=""><acronymtitle=""><b>
<blockquotecite=""><cite><code><deldatetime=""><em><i><qcite=""><s><strike><strong>

SubmitComment

Arduino:useashiftregister(74HC595)

2011Erwan'sBlog

http://labalec.fr/erwan/?p=1288

Arduino:shiftoutleds

SuffusionthemebySayontanSinha

3/3

Anda mungkin juga menyukai