ECET0purdue Posted October 19, 2005 Report Share Posted October 19, 2005 Hello, This is what i was looking for and wondering if it is even possable. ok first i am sending data over a 9 pin connector. I got a chip that will take in an anolog signal and convert it to a feq. but my questions how can i get an anolog signal? i was thinking about using a D/A converter but the pin out of an 9 pin connector does not send data using 8 bits to were i could use the D/A...iam not sure how it sends it or does it send it all ready analog data?? ..really confused.. but any way does any one know how i could do this or what i could look for? thanksglen Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 19, 2005 Report Share Posted October 19, 2005 Hi GlenYou need a SIPO(Serial In Parallell Out) converter between the 9 pin connector and the D/A converter.An UART will do this.//Staigen Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 19, 2005 Report Share Posted October 19, 2005 Oops! :(I saw this too late:I got a chip that will take in an anolog signal and convert it to a feqIf you want a D/A converter to get the anlog signal back you also need a A/D converter to convert the analog signal to digital data.And if you want to send the data in a serial way you also need PISO(Parallell In Serial Out) converter, here you can use an UART too.Sorry i din't saw this in the beginning :(//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 19, 2005 Author Report Share Posted October 19, 2005 Thanks that is exactly what i was looking for. Now iam using that for my project and at the other end the anolog to feq converter is a pic chip... cant wait to program that :P then all i need is something that will turnon a relay when it gets a certin feq..a feq i can set?any ideals?thanksglen Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 20, 2005 Report Share Posted October 20, 2005 Hey Glen, can you describe your project in moore detail, i'm not sure about this feq, i thougt it was a typo for freq(frequency)?//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 20, 2005 Author Report Share Posted October 20, 2005 of course i can and yes sorry feq..is frequency. this is the chip iam going to use. http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en010487so i will use the analog output from the D/A converter as the input to that pic chip. This D/A... http://www.analog.com/en/prod/0%2C%2CAD5330%2C00.html So now iam looking for some way of getting a serial to digital converter.. which i was looking at what you had suggested...have not found anything yet...but i have not looked too hard either..Do you know of any free software that i could draw good skimatic of What i plan on doing...all i got is MS paint...once agian.. hope this helps.. if you are still confused let me know and ill try to explain it better.cheeers.glen Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 21, 2005 Report Share Posted October 21, 2005 Hi there again GlenThe first link didn't work :(Do you know of any free software that i could draw good skimatic of What i plan on doingEagle is one free software, link right here on the board:http://www.electronics-lab.com/downloads/pcb/index.htmlThere is also othersSo now iam looking for some way of getting a serial to digital converterThe 16550 is an UART, used in almost all PC:s Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 21, 2005 Author Report Share Posted October 21, 2005 hello agian too your too..well i have never used an UART nor do i know how to program them.. is it hard? i have programed a pic chip? Also could i use something like this?http://www.national.com/ds/54/54F164A.pdfWhich needs no programmming..... Also with this how would i find out if it is going to be fast enough? Thanks for your help.. Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 21, 2005 Report Share Posted October 21, 2005 Hi againi have never used an UART nor do i know how to program themI'm not sure you need to program them, at least they are easy to program, you just have to set one or a few registers. :)Also could i use something like this?Sure you can, but they need a lot of support IC:s! :(Also with this how would i find out if it is going to be fast enough?What is your baudrate? The 54/74F164A is very fast(90Mbit/sec)! :)I think i have a few 16450 UART:s, do you want one?//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 21, 2005 Author Report Share Posted October 21, 2005 well before i say yes because i would like to try the UART, What device would i need to program them.. sorry i dont know anything about them, Also What is the difference between 2 wire, 3 wire, and parallel , serial connections? the reason i ask is because i was offered this chip by maxium http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3397/ln/ but iam not sure on this chip either.. also you had said the parallel to serial and serial to parallel converters would work but need a lot of ic support.. I thought it was one chip with intergrated and gates and flip flops? Well iam going to look up some info on the UART Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 21, 2005 Author Report Share Posted October 21, 2005 " i did get to finish.... "i am going to look up some information on UARTS before i would ask to get one from you. i would not want you to wast time sending it and ect. if i am not sure if iam going to use it.cheers,glen Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 21, 2005 Report Share Posted October 21, 2005 HiWhat is the difference between 2 wire, 3 wire, and parallel , serial connections2 wire is serial in one direction only, 3 wire is serial in both directions at the same time. In parallell mode you transfer a whole word at the same time.offered this chip by maxiumThis is a ADC with a serial I2C bus outputi am going to look up some information on UARTS before i would ask to get one from youHow am i going to explain this, the 54/74F164A is only a serial in/parallell out shift register and must have support for framing, start bit, stop bit(s), (parity bit) and so on. An UART have all this built in!I think i have a description of the UART:s used in PC:s somewhere, i can send it over to you, if you want//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 21, 2005 Author Report Share Posted October 21, 2005 That sounds good... and i see the difference now i was looking at them and i came across this.NS16550 Same as NS16450 with a 16-byte send and receive buffer but the buffer design was flawed and could not be reliably be used.NS16550A Same as NS16550 with the buffer flaws corrected. The 16550A and its successors have become the most popular UART design in the PC industry, mainly due to its ability to reliably handle higher data rates on operating systems with sluggish interrupt response times.PC16550D Same as NS16550A with subtle flaws corrected. This is revision D of the 16550 family and is the latest design available from National Semiconductor.iam guessing i would need the 16550A Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 21, 2005 Report Share Posted October 21, 2005 iam guessing i would need the 16550AThe ones i have is 16450, but they are good too, and, i belive, easier to setup.You did not tell me what your baudrate is, is it very fast?Also is the chip a DIP or serface mount?Its 40 pin DIP, i thinkif the document is to lagre to post on here.. send it to my emailI will look for it later, and send it to you via email, maybee it was here on this site i found them, check//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 21, 2005 Author Report Share Posted October 21, 2005 The baudrate for the display has options that can be set they said " Baud rates: 1200, 2400, 4800, 9600, 14,400, 19,200, 38,400, 57,600 and 115,200" so iam guessing it can go up to 115,200"The transcevers i got are. Baud Rates 1,200 to 38,400 baudData Format Asynchronous - 7 data, even parity or 8data, no parity; 1 stop bitso i guess i will try to use max at 38,400dip is good...so you dont think the buffer problem with the 16550 would be a problem?Thanksglen....iam going to have to put you on the special Thanks page :D Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 22, 2005 Report Share Posted October 22, 2005 The 16450 i got is good for 115200 bauds. OBSERVE! Its not 16550:s, its 16450:s! They dont have the problems with the buffer, there is no such buffer!//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 22, 2005 Author Report Share Posted October 22, 2005 hummm...well yes that does help... so let me know what i need to do to get this chip...also will it do it both ways? or do i need 2 chips?thanksglen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 22, 2005 Author Report Share Posted October 22, 2005 btw....very good document.... best i have read soo far... thanks,glen Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 22, 2005 Report Share Posted October 22, 2005 Hido i need 2 chips?It communicate both ways, you only need one chip :)let me know what i need to do to get this chipYou can start by giving me your address(snailmail) :)very good documentI found it on a BBS many years ago, before i was out on the internet so much, now its much easier to get information, i belive it was about 10 years ago, or so :)//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 22, 2005 Author Report Share Posted October 22, 2005 ok i e_mailed it to you..... ;D Quote Link to comment Share on other sites More sharing options...
Staigen Posted October 22, 2005 Report Share Posted October 22, 2005 Hey Glenn, the address was not complete! Wich country do you live in?//Staigen Quote Link to comment Share on other sites More sharing options...
ECET0purdue Posted October 23, 2005 Author Report Share Posted October 23, 2005 i sent it to you, should of got it now.. btw, just letting you know.... I was talking to a ford advertising person and they might donate a car for me to use for my project.... that would be cool. :) hope my project works...lol... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.