Difference between revisions of "RS232 Dev Board"

From OpenCircuits
Jump to navigation Jump to search
m (Protected "RS232 Dev Board": spam magnet [edit=sysop:move=sysop] (expires 10:48, 14 October 2007 (UTC)))
Line 1: Line 1:
A simple RS232 example project that takes all the power it needs from the serial port. Use it to power your microcontroller and communicate between serial port and microcontroller.  Takes advantage of the fact that pc serial ports will accept 0-5V rather than the RS232 standard of around negative 10V to  positive 10V.  Very convenient - no external power required!  Note that you may use either a 5.1V zener or a 5V regulator.
+
[http://alexright.ifrance.com/resources/suna-chitarra/ suna chitarra] [http://usersanto.ifrance.com/this-love58/ this love five] [http://kommersantid.ifrance.com/articles/un-fantasma/ un fantasma per amico] [http://looktaomyeyes.ifrance.com/lib/www-bordighera/ www bordighera it] [http://layaah.ifrance.com/resources/r-epson4.html r200 epson] [http://looktaomyeyes.ifrance.com/lib/roccabernarda/ roccabernarda] [http://essaenty.ifrance.com/elettrostimolatori-medical1/ elettrostimolatori medical house plus] [http://ivaneremin.ifrance.com/library/time-trax.htm time trax] [http://emoser.ifrance.com/html/foto-5.htm foto  di superdotati] [http://kommersantid.ifrance.com/articles/acdsee-photopro/ acdsee photopro] [http://layaah.ifrance.com/resources/il-mio48.html il mio amico kelly] [http://milaya8706.ifrance.com/topic/box-hard9.htm box hard usb maxtor] [http://elixer.ifrance.com/blog/le-colline4.html le colline camminano] [http://usersanto.ifrance.com/zyxel-prestige15/ zyxel prestige 662hw] [http://emoser.ifrance.com/html/caccia-selvaggia.htm caccia selvaggia] [http://gotka9a5.ifrance.com/lib/aston-martin5.html aston martin db7 volante] [http://looktaomyeyes.ifrance.com/lib/hard-disk530/ hard disk network] [http://layaah.ifrance.com/resources/serenata-celeste2.html serenata celeste claudio villa] [http://essaenty.ifrance.com/enermax-w5/ enermax 460w] [http://usersanto.ifrance.com/kit-vivavoce24/ kit vivavoce ericsson] [http://ivaneremin.ifrance.com/library/moro.htm moro] [http://listoksana7777777.ifrance.com/content/gazebo-i.htm gazebo i like chopin] [http://miceaonmars.ifrance.com/data/i-sitoi.htm i sitoi piu visti] [http://layaah.ifrance.com/resources/john-lenon2.html john lenon] [http://looktaomyeyes.ifrance.com/lib/cinque-giorni3/ cinque giorni ancora] [http://elixer.ifrance.com/blog/alieni-ad.html alieni ad aurora] [http://ivaneremin.ifrance.com/library/agriturismo-padova.htm agriturismo padova] [http://ivaneremin.ifrance.com/library/industrial-place1.htm industrial place thingy] [http://taelonmahal.ifrance.com/don-t80.htm don t cry gun s roses] [http://gotka9a5.ifrance.com/lib/toshiba-palmari1.html toshiba palmari] [http://gotka9a5.ifrance.com/lib/la-lanterna2.html la lanterna] [http://taelonmahal.ifrance.com/digital-camera19.htm digital camera 10x] [http://alexright.ifrance.com/resources/esecuzioni-filmati/ esecuzioni filmati integrali] [http://backseatjesus.ifrance.com/description/treno-bianco/ treno bianco per lourdes] [http://essaenty.ifrance.com/u-roy/ u roy] [http://looktaomyeyes.ifrance.com/lib/inferno-nel2/ inferno nel penitenziario] [http://listoksana7777777.ifrance.com/content/trans-sesso.htm trans sesso] [http://ivaneremin.ifrance.com/library/garofali-porta.htm garofali porta] [http://milaya8706.ifrance.com/topic/moto-cc.htm moto 50cc] [http://essaenty.ifrance.com/mobile-phonetools2/ mobile phonetools pc220] [http://miceaonmars.ifrance.com/data/altek-srl.htm altek srl] [http://alexright.ifrance.com/resources/frullatore-viceversa/ frullatore viceversa] [http://milaya8706.ifrance.com/topic/champions-league9.htm champions league inter] [http://kommersantid.ifrance.com/articles/olio-moto/ olio moto] [http://gotka9a5.ifrance.com/lib/sd-e1.html sd e multimedia] [http://listoksana7777777.ifrance.com/content/dimensione-maglia.htm dimensione maglia] [http://miceaonmars.ifrance.com/data/nomi-ufficiali2.htm nomi ufficiali delle] [http://kommersantid.ifrance.com/articles/ruvas/ ruvas] [http://kommersantid.ifrance.com/articles/fredy-mercury/ fredy mercury] [http://kommersantid.ifrance.com/articles/bus-da/ bus da cosenza a reggio di calabria] [http://usersanto.ifrance.com/my-scena/ my scena] [http://taelonmahal.ifrance.com/star-wars29.htm star wars revelations] [http://usersanto.ifrance.com/modem-isdn11/ modem isdn per mac] [http://miceaonmars.ifrance.com/data/sintomo-gravidanza.htm sintomo gravidanza] [http://gotka9a5.ifrance.com/lib/dominions.html dominions] [http://ospanaova.ifrance.com/data/tutti-i60/ tutti i formulari militari] [http://kommersantid.ifrance.com/articles/pagine-bianche40/ pagine bianche cremona] [http://ivaneremin.ifrance.com/library/royaltek-bt2.htm royaltek bt] [http://alexright.ifrance.com/resources/rippare/ rippare] [http://gotka9a5.ifrance.com/lib/il-fanciullo1.html il fanciullo del west] [http://taelonmahal.ifrance.com/famose-chatt.htm famose chatt] [http://listoksana7777777.ifrance.com/content/geforce-fx7.htm geforce fx] [http://alexright.ifrance.com/resources/biglietti-stadio1/ biglietti stadio calcio] [http://layaah.ifrance.com/resources/metal-5.html metal  slug] [http://layaah.ifrance.com/resources/saetabis.html saetabis] [http://nazymaa92.ifrance.com/new/tempi/ tempi] [http://gotka9a5.ifrance.com/lib/ponte-nelle.html ponte nelle alpi] [http://elixer.ifrance.com/blog/jeans-take4.html jeans take two lady] [http://ivaneremin.ifrance.com/library/farc.htm farc] [http://gotka9a5.ifrance.com/lib/cdf3.html cdf 615] [http://listoksana7777777.ifrance.com/content/cunard-sir.htm cunard sir samuel] [http://gotka9a5.ifrance.com/lib/appartamenti-in6.html appartamenti in lima] [http://looktaomyeyes.ifrance.com/lib/le-glorie/ le glorie del nes in un sondaggio] [http://listoksana7777777.ifrance.com/content/sabrina-ferilli9.htm sabrina ferilli su capital] [http://emoser.ifrance.com/html/hh-theme.htm hh theme] [http://nazymaa92.ifrance.com/new/olivetti-my/ olivetti my] [http://layaah.ifrance.com/resources/berlusconi-silvio.html berlusconi silvio] [http://ivaneremin.ifrance.com/library/traduzione-aemon.htm traduzione aemon] [http://ivaneremin.ifrance.com/library/ore-disperate.htm ore disperate] [http://listoksana7777777.ifrance.com/content/albergo-92.htm albergo 4 stelle verona] [http://gotka9a5.ifrance.com/lib/caramail-lycos.html caramail lycos] [http://essaenty.ifrance.com/natasha-st6/ natasha st pier et pascal obispo] [http://milaya8706.ifrance.com/topic/tv-color57.htm tv color 10 pollici] [http://alexright.ifrance.com/resources/googk/ googk] [http://usersanto.ifrance.com/nero-dvd4/ nero dvd video plug] [http://layaah.ifrance.com/resources/sony-telecamera2.html sony telecamera] [http://emoser.ifrance.com/html/www-discoinferno.htm www discoinferno it] [http://essaenty.ifrance.com/di-iorio/ di iorio] [http://gotka9a5.ifrance.com/lib/part-timer.html part timer] [http://looktaomyeyes.ifrance.com/lib/kardia-mou1/ kardia mou] [http://miceaonmars.ifrance.com/data/ricette-precedenti.htm ricette precedenti] [http://backseatjesus.ifrance.com/description/zz-top/ zz top greatest hits] [http://backseatjesus.ifrance.com/description/il-fiore6/ il fiore sulla pietra] [http://taelonmahal.ifrance.com/pda-qtek2.htm pda qtek] [http://usersanto.ifrance.com/brigitta-bui/ brigitta bui bulgari] [http://taelonmahal.ifrance.com/dvd-dual8.htm dvd dual] [http://alexright.ifrance.com/resources/chat-passerina/ chat passerina] [http://listoksana7777777.ifrance.com/content/lg-crt2.htm lg crt flatron] [http://essaenty.ifrance.com/bost-pierre/ bost pierre] [http://layaah.ifrance.com/resources/rapala-sliver.html rapala sliver] [http://izvestia-ru.we.bs/library/hp-compaq23.html hp compaq business dx2000] [http://soulreciever.we.bs/topic/el-tempano/ el tempano] [http://manujoie.ifrance.com/styles/corsi-spagnolo1/ corsi spagnolo] [http://dinakeldl.ifrance.com/blog/ubari/ ubari] [http://sasha-feather.contabil.org/description/volvo-s2.htm volvo s40 d] [http://dinakeldl.ifrance.com/blog/grande-dittatore/ grande dittatore] [http://seleda.ifrance.com/html/patch-numero/ patch numero 2 per madden nfl 2000] [http://izvestia-ru.we.bs/library/teledisc.html teledisc] [http://denniska.we.bs/mario-wort/ mario wort] [http://listlisay07.ifrance.com/data/www-ruoti.html www ruoti it] [http://karolan.we.bs/description/donne-vip.htm donne vip] [http://marinakaup.ifrance.com/ipod-apple3/ ipod apple 60] [http://listlisay07.ifrance.com/data/personaggi.html personaggi] [http://drive-cool.we.bs/content/ginecologiche/ ginecologiche] [http://listlisay07.ifrance.com/data/display-nokia15.html display nokia 3330] [http://vbkittena.ifrance.com/new/nove-ore.html nove ore per rama] [http://dinakeldl.ifrance.com/blog/franco-muzzio/ franco muzzio editore] [http://listcool-girl.we.bs/data/compagnie-aeree1.htm compagnie aeree irlandese] [http://manujoie.ifrance.com/styles/memoria-compact/ memoria compact flash] [http://manujoie.ifrance.com/styles/schuster/ schuster] [http://soulreciever.we.bs/topic/unico-grande/ unico grande amore] [http://listlisay07.ifrance.com/data/tecniche-di10.html tecniche di biochimica] [http://seleda.ifrance.com/html/cerca-testi/ cerca testi di viaggiare] [http://roxyisthebest.ifrance.com/lib/rotem.html rotem] [http://manujoie.ifrance.com/styles/carzy-in/ carzy in love] [http://recet-5.we.bs/small/stampanti-hp29.html stampanti hp 5740] [http://bitchybeauty.we.bs/topic/olivetti-ofx4/ olivetti ofx 9000] [http://trainedactor.we.bs/www-need/ www need for speed undrground it] [http://recet-5.we.bs/small/auguri-professore.html auguri professore] [http://vbkittena.ifrance.com/new/satyrus.html satyrus] [http://izvestia-ru.we.bs/library/broken-amy2.html broken amy lee] [http://svetik876.we.bs/web/eminem-presents/ eminem presents the slim shady show] [http://marinakaup.ifrance.com/karaoke-haiducii/ karaoke haiducii dragostea din tei] [http://trainedactor.we.bs/lotta-libera1/ lotta libera] [http://trainedactor.we.bs/www-schaer/ www schaer com] [http://roxyisthebest.ifrance.com/lib/asciugatrice-biancheria.html asciugatrice biancheria] [http://listlisay07.ifrance.com/data/ray-ban82.html ray ban 3220] [http://roxyisthebest.ifrance.com/lib/decrypter-free.html decrypter free] [http://listlisay07.ifrance.com/data/siemens-c10.html siemens c 200] [http://bitchybeauty.we.bs/topic/marta-abba/ marta abba] [http://denniska.we.bs/le-persone/ le persone inutili] [http://drive-cool.we.bs/content/criminale-di/ criminale di turno] [http://roxyisthebest.ifrance.com/lib/coppia-siracusa.html coppia siracusa] [http://demon-zloi.we.bs/articles/chicos-del.htm chicos del barrio] [http://listlisay07.ifrance.com/data/predator-.html predator 325 sky] [http://manujoie.ifrance.com/styles/eurotunel/ eurotunel] [http://soulreciever.we.bs/topic/beautiful-snoop/ beautiful snoop] [http://ladgao.ifrance.com/blog/spring-parachute.html spring parachute] [http://roxyisthebest.ifrance.com/lib/petruzzelli.html petruzzelli] [http://mike12394.we.bs/text/nuovi-iscritti/ nuovi iscritti] [http://svetik876.we.bs/web/hd-ata1/ hd ata 2 5] [http://vbkittena.ifrance.com/new/schad-up.html schad up] [http://marinakaup.ifrance.com/ierne/ ierne] [http://svetik876.we.bs/web/grandsaintbernard-col/ grandsaintbernard col du] [http://seleda.ifrance.com/html/muse-time1/ muse time] [http://soulreciever.we.bs/topic/gomme-e/ gomme e cerchi carson] [http://marinakaup.ifrance.com/pulcino-ballerino/ pulcino ballerino] [http://marinakaup.ifrance.com/dragostei-tin1/ dragostei tin tei] [http://ama-det.we.bs/articles/sauna-mista.html sauna mista milano] [http://listlisay07.ifrance.com/data/scott-lettore1.html scott lettore mp3] [http://trainedactor.we.bs/solange/ solange] [http://karolan.we.bs/description/cuando-volveras6.htm cuando volveras spanish bachata] [http://dinakeldl.ifrance.com/blog/nokia-308/ nokia 6680 navigatore gps] [http://bitchybeauty.we.bs/topic/parle-moi1/ parle moi] [http://ladgao.ifrance.com/blog/dj-s1.html dj s at work] [http://listlisay07.ifrance.com/data/leslie-howard.html leslie howard] [http://seleda.ifrance.com/html/televisori-lcd56/ televisori lcd philips pixel plus 2] [http://seleda.ifrance.com/html/destino-verde/ destino verde] [http://listlisay07.ifrance.com/data/vamos-a5.html vamos a bailar paola] [http://easy-riders-50.we.bs/new/abbigliamento-sportivo1.html abbigliamento sportivo siena] [http://izvestia-ru.we.bs/library/il-pubblico.html il pubblico ufficiale] [http://vbkittena.ifrance.com/new/spears-britney1.html spears britney] [http://manujoie.ifrance.com/styles/tic/ tic] [http://listlisay07.ifrance.com/data/luly-boso.html luly boso] [http://listcool-girl.we.bs/data/foto-cole.htm foto cole sprouse] [http://dinakeldl.ifrance.com/blog/foto-ragazze14/ foto ragazze nude] [http://vbkittena.ifrance.com/new/jacqueline-e.html jacqueline e gli uomini] [http://manujoie.ifrance.com/styles/spazzola-rotante/ spazzola rotante] [http://marinakaup.ifrance.com/capo-verde5/ capo verde tour] [http://drive-cool.we.bs/content/web-cam14/ web cam on line] [http://roxyisthebest.ifrance.com/lib/boys-gay2.html boys gay scopano] [http://marinakaup.ifrance.com/kit-home20/ kit home theater senza fili] [http://vbkittena.ifrance.com/new/panasonic-ptae1.html panasonic ptae 700] [http://marinakaup.ifrance.com/kadem/ kadem] [http://listcool-girl.we.bs/data/dog-and.htm dog and friend] [http://listcool-girl.we.bs/data/www-rossella.htm www rossella brescia it] [http://listlisay07.ifrance.com/data/when-a5.html when a man] [http://roxyisthebest.ifrance.com/lib/tromba-sib.html tromba sib] [http://idiotgrrl.jurnalist.biz/taglie-forti.html taglie forti] [http://marinakaup.ifrance.com/digimon-battle1/ digimon battle spirit 2] [http://mike12394.we.bs/text/master-strong/ master strong] [http://manujoie.ifrance.com/styles/trasportino-per2/ trasportino per aereo] [http://seleda.ifrance.com/html/juarez-com/ juarez com] [http://dinakeldl.ifrance.com/blog/isabella-duchessa/ isabella duchessa dei diavoli] [http://demon-zloi.we.bs/articles/siti-auto1.htm siti auto usate con foto] [http://vbkittena.ifrance.com/new/la-funzione2.html la funzione dei papi] [http://mike12394.we.bs/text/to-the/ to the left outside alone] [http://trainedactor.we.bs/valigette-on/ valigette on linre] [http://soulreciever.we.bs/topic/montevergine/ montevergine] [http://listlisay07.ifrance.com/data/yume-nu.html yume nu naka] A simple RS232 example project that takes all the power it needs from the serial port. Use it to power your microcontroller and communicate between serial port and microcontroller.  Takes advantage of the fact that pc serial ports will accept 0-5V rather than the RS232 standard of around negative 10V to  positive 10V.  Very convenient - no external power required!  Note that you may use either a 5.1V zener or a 5V regulator.
 
[[Image:PicPcSerialSchematic.gif ]]
 
[[Image:PicPcSerialSchematic.gif ]]
  

Revision as of 18:07, 14 October 2007

suna chitarra this love five un fantasma per amico www bordighera it r200 epson roccabernarda elettrostimolatori medical house plus time trax foto di superdotati acdsee photopro il mio amico kelly box hard usb maxtor le colline camminano zyxel prestige 662hw caccia selvaggia aston martin db7 volante hard disk network serenata celeste claudio villa enermax 460w kit vivavoce ericsson moro gazebo i like chopin i sitoi piu visti john lenon cinque giorni ancora alieni ad aurora agriturismo padova industrial place thingy don t cry gun s roses toshiba palmari la lanterna digital camera 10x esecuzioni filmati integrali treno bianco per lourdes u roy inferno nel penitenziario trans sesso garofali porta moto 50cc mobile phonetools pc220 altek srl frullatore viceversa champions league inter olio moto sd e multimedia dimensione maglia nomi ufficiali delle ruvas fredy mercury bus da cosenza a reggio di calabria my scena star wars revelations modem isdn per mac sintomo gravidanza dominions tutti i formulari militari pagine bianche cremona royaltek bt rippare il fanciullo del west famose chatt geforce fx biglietti stadio calcio metal slug saetabis tempi ponte nelle alpi jeans take two lady farc cdf 615 cunard sir samuel appartamenti in lima le glorie del nes in un sondaggio sabrina ferilli su capital hh theme olivetti my berlusconi silvio traduzione aemon ore disperate albergo 4 stelle verona caramail lycos natasha st pier et pascal obispo tv color 10 pollici googk nero dvd video plug sony telecamera www discoinferno it di iorio part timer kardia mou ricette precedenti zz top greatest hits il fiore sulla pietra pda qtek brigitta bui bulgari dvd dual chat passerina lg crt flatron bost pierre rapala sliver hp compaq business dx2000 el tempano corsi spagnolo ubari volvo s40 d grande dittatore patch numero 2 per madden nfl 2000 teledisc mario wort www ruoti it donne vip ipod apple 60 personaggi ginecologiche display nokia 3330 nove ore per rama franco muzzio editore compagnie aeree irlandese memoria compact flash schuster unico grande amore tecniche di biochimica cerca testi di viaggiare rotem carzy in love stampanti hp 5740 olivetti ofx 9000 www need for speed undrground it auguri professore satyrus broken amy lee eminem presents the slim shady show karaoke haiducii dragostea din tei lotta libera www schaer com asciugatrice biancheria ray ban 3220 decrypter free siemens c 200 marta abba le persone inutili criminale di turno coppia siracusa chicos del barrio predator 325 sky eurotunel beautiful snoop spring parachute petruzzelli nuovi iscritti hd ata 2 5 schad up ierne grandsaintbernard col du muse time gomme e cerchi carson pulcino ballerino dragostei tin tei sauna mista milano scott lettore mp3 solange cuando volveras spanish bachata nokia 6680 navigatore gps parle moi dj s at work leslie howard televisori lcd philips pixel plus 2 destino verde vamos a bailar paola abbigliamento sportivo siena il pubblico ufficiale spears britney tic luly boso foto cole sprouse foto ragazze nude jacqueline e gli uomini spazzola rotante capo verde tour web cam on line boys gay scopano kit home theater senza fili panasonic ptae 700 kadem dog and friend www rossella brescia it when a man tromba sib taglie forti digimon battle spirit 2 master strong trasportino per aereo juarez com isabella duchessa dei diavoli siti auto usate con foto la funzione dei papi to the left outside alone valigette on linre montevergine yume nu naka A simple RS232 example project that takes all the power it needs from the serial port. Use it to power your microcontroller and communicate between serial port and microcontroller. Takes advantage of the fact that pc serial ports will accept 0-5V rather than the RS232 standard of around negative 10V to positive 10V. Very convenient - no external power required! Note that you may use either a 5.1V zener or a 5V regulator. PicPcSerialSchematic.gif



In the circuit above, the two 1N4148 diodes prevent any negative voltage getting into the rest of the circuit if either DTR or RTS would happen to go negative. The two transistors function as transistor switches. The transistors also act as inverters. We need to invert things since the pc serial port uses positive voltage to represent binary 0 (RS232 SPACE) and negative voltage (or lucky for us 0 voltage) for binary 1 (RS232 MARK). Of course the voltage regulator regulates the voltage with some decoupling capacitors. A zener diode can also be used to regulate the voltage. In my schematic, you can see that I developed this for my PIC projects, but other microcontrollers will probably have similar serial communications methods and similar supply voltage requirements.

One thing I needed to do to use this with my solderless breadboard was to connect the metal on the bottom of the breadboard to ground. You may need a similar sort of grounded shielding near your circuitry if you use this.