Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

adc0832 some urgent need

Status
Not open for further replies.

njraju

New Member
please do the need.... urgent!!!!!!!!!!!!!!!!!!!!!!

i want adc 0832 controlling circuit(whole circuit) to interface to serial port of pc
....program to receive data from adc0832
 
Having posted here, sure you are able to Google and get the basics, like datasheet and basic circuits. Have you?

There is a guy, in the Microchip forum, offering free of charge shoe polishing service every time he finds a request like yours. Try there.
 
njraju said:
please do the need.... urgent!!!!!!!!!!!!!!!!!!!!!!

i want adc 0832 controlling circuit(whole circuit) to interface to serial port of pc
....program to receive data from adc0832

This link may help you, good luck.
 
need a code to detect data from serial port---adc0832 chip is used

hi,
pls gimme a code in c or vb to receive a serial data from serial port ...
adc0832 is used in circuit..
 
pwssr said:
What the %#$@ does this nonsense mean?????
My guess is that it is a request for some kind and knowledgeable soul to do the whole design job for him. If that's not what he meant he needs to clarify his post. I haven't seen too many of those k&k souls on this forum. Most of us are grumpy old misanthropes.
 
Insufficient information. For a PC with a TI UART, or an 8051 with the onboard UART, or a PIC with a MAX3100 over SPI. What are you looking for precisely? Are you aware that most PC's don't have serial ports anymore?

Edit: Here's the C code for an 8051 with the internal UART
Code:
/* USART Interrupt    */
interrupt [0x23] using [3] void SERIALISR(void)
{
/*
** This interrupt could be either the Receiver or the Transmitter
** TDRE is a GLOBAL bit which means a Transmit Interrupt occurred
** and there were no more characters left to transmit.
*/
 if(RI == 1) /* Receiver Interrupt Flag -- SBUF has character */
 {
  RI = 0 ;     /* Clear the Receive Interrupt Flag  */
  SDE = 0 ;     /* Clear the Error Flag     */
  if( FE == 1 )    /* Check for Framing Error    */
  {
   FE = 0 ;    /* Clear Framing Error     */
   ++g_RxFramingError ; /* Bump Error Counter     */
   LSDE = SDE = 1 ;  /* Set Flags       */
  }
  else if( g_nRx > 0)    /* Overrun Error     */
  {
   g_OverrunCharacter = SBUF ; /* Unload Character Register  */
   ++g_RxDataOverrun ;
   LSDE = SDE = 1 ;
  }  
  else
  {
   g_RxChar = SBUF ; /* Unload the Character Register */
   ++g_nRx ;   /* Bump the Receive Count   */
  }
  /* Restart Link Timer          */
  g_linkTimer.w = g_linkTimerReload.w ;
  LTF = 0 ;
 }
 if(TI == 1) /* Transmitter is Ready   */
 {
  TI = 0 ;    /* Clear the Transmit Interrupt Flag  */
  if(g_nTx > 0)   /* Characters are ready to go    */
  { TDRE = 0 ;   /* Software Bit -- means Tx Busy   */
   /* In an 11-Bit Frame TB8 is the first of two STOP Bits  */
   /* In a 10-Bit Frame TB8 is a don't care      */
   TB8 = 1 ; SBUF = g_TxChar ;
   g_TxChar = TxBuffer.d[TxBuffer.cp++] ; /* Take Next Character */
   --g_nTx ;        /* Decrement the Count */
  }
  else /* Transmitter is ready - but we are out of characters  */
  { TDRE = 1 ;   /* Tx Done and No more characters   */
  }
 }
}
 
Last edited:
njraju,
If you had listened, and tried google as was suggested, you would have found everything you need. It took me two minutes to come up with a circuit and source.
circuit
**broken link removed**

pc source:
http://www.ktechno.co.kr/way-down/pc_port.html

However if you are too lazy to look for the info, I'll bet you're also too lazy to build it.

No wonder most of us are misanthropes!

And I see you have double posted. You need to go and read the link SYE gave you. Stop being so rude.
 
Last edited:
i just want to detect the analog signal voltage in pc which is given to serial port via rs232.. i ve used adc0832 for analog to digital conversion
(adc 0832 acts as master n pc slave here..)
note:no uart or usart used.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top