Introduction to ADC0804

Hello friends, I hope you all are doing great. In today’s tutorial, we will have a look at Introduction to ADC0804. In electronic engineering different modules used to conversion of analog signal into a digital signal. These tools are recognised as analog to digital converter or ADC. Thes signal converter also used to find the value of input current and voltage. Normally the output of these converters are 2 binary numbers but other values are also possible. These analog to digital converter are available in different structure scheme but mostly they are available in integrated circuits packaging. The working ability of these signal converter depends on their bandwidth and signal to noise ration (SNR). Their bandwidth can be fined by their sample rate (sample rat is the elimination of a continuous-time signal to a discrete-time signal). The signal to noise ratio can be measured by the resolution (resolution of the converter designates the number of discrete values it can create over the series of analog values), accuracy of signal, aliasing (It is an effect that makes different signals to become indistinguishable). In today's post, we will have a look ADC0804 analogue to digital converter, its pinout working, applications, advantage and some other related parameters. So let's get started with Introduction to ADC0804.

Introduction to ADC0804

  • The ADC0804 is integrated circuitry that used to transform anlog input into the digital output. This eight-bit analog to digital converter has twenty pinouts.
  • This integrated circuit is mostly used in different microcontrollers such as Raspberry Pi etc. To triggering this ADC module there is no need of external clock this module has its own clock.
  • This component is the best choice if you are looking such analog to digital converter having the finest resolution and eight bits.
  • Earlier microcontrollers do not consist of analoge digital converter that used separate hardware for this purpose but currently, microcontrollers comprise of the ADC converter.
  • These signal converter mostly used for temperature measurements like in homes or industries to measure the temperature of heating elements used in different machines. In automobiles like a car, it also used for measurement of temperature.
  • This module is not used only for the temperature calculation but used in such applications where analog signal is used.

Pinout of ADC0804

  • These are the main pinouts of this module that are described here with the detailed.
Pin No: Pin Name:                                         Parameters
Pin#1 Chip Select  Pinout If more than one analog to digital converter is working with this module.
Pin#2 Read command pinout This pinout should be grounded to read the analog signal.
Pin#3 Write command For data, conversion this pinout has a large pulse.
Pin#4 Clock in command The exterior clock signal can be linked at this pinout.
Pin#5 Interrupt Interrupt command is provided at this pinout.
Pin#6 Vin positive For differential analog input attach analog to digital converter here.
Pin#7 Vin negative For differential analog input, link to ground terminals.
Pin#8 Gnd At his pinout analog ground terminal is connected.
Pin#9 reference voltage This pinout is used to provide reference voltage during analog to digital conversion.
Pin#10 Gnd At this ground pinout, the digital ground is connected.
Pin#11 to 18 Data bit 0 to bit 7 Seven output Data bit pins from which output is obtained
Pin#19 Clock R  This is RC timing resistor input pinout for interior clock generator.
Pin#20 Data Pin 6 This pinout is used to connect input plus five volts for analogue to a digital module.

Features of ADC0804

  • These are some features of ADC0804 that describe with detail.
  • This module can easily connect with other microcontroller and can also work alone in any circuitry.
  • This is eight-bit analog to digital converter module.
  • At this module, interior clock exists there is no need of special clock oscillator.
  • Its digital output values change from zero to two fifty-five volts.
  • This module is available in twenty pinouts PDIP (dual inline packaging) and SOIC (small outline integrated circuits) packaging.
  • It takes one hundred ten microseconds for the conversion of analoge to digital values.
  • Its interior clock frequency is six fort kilo-hertz.
  • It can measure the voltages from zero to five volts by operating on the five volts input supply.

Working of ADC0804

  • Now we discuss the working of ADC0804 with the detailed.
  • As we discussed above that this module consists of the interior clock and there is no need of any separate clock.
  • But if for use of this interior clock we have to connect RC circuitry with this module. This module must be linked with the plus five volts power supply and both ground pinouts linked with the ground terminal of circuitry.
  • For the construction of resistance-capacitor (RC) circuitry use ten-kilo resistance and capacitor of hundred pico-farads after that attached the pinouts CLK R and CLK in as shown in a given figure.
  • The pinouts CS and R should be linked with the ground. The reference pinout is not connected with any point since it will be linked with the plus five volts.
  • In given circuitry you can observe that the input analog voltage is provided at the IN (+) pinout and digital output will be obtained at the DB0 and DB7 pinouts.
  • You can also see that the second terminal of a source is connected with the ground for analog to digital conversion.
  • Before starting of analog to digital transformation the WR pinout should be high this condition can be obtained by linking this pinout with the input or output pinout of Microprocessing Unit and it set to high value.
  • In the circuit you can also see that potentiometer is linked to varying the voltage from zero to five volts at the input pinout.
  • In the given figure, you can also see that voltage value is 1.55 volts and its corresponding binary value is (01001111) .
  • Now we discuss how we can  convert this binary value into the analog,
  • As our binary value is (01001111)
  • First of all, we convert it into decimal.

Binary  to Deci = (0 x128)+(1 x 64)+(0 x 32)+(0 x16)+(1 x 8)+(1 x 4)+(1 x 2)+(1 x1)

                                       =   79 Analoge value will be= Deci x step size

                             = (79) x (19.53)mV = (1.54)V

  • As you can observe that obtained value is (1.54 volts) and 1,55 volts is measured value both of these are approximately close to each other.

Applications of ADC0804

  • These are some applications of ADC0804, let's discuss with the detailed.
  • It can function with an eight-bit processor.
  •  Normally it used with the different microprocessors like Raspberry PI, Beagle Bone, etc.
  • It can easily be linked with the sensing devices, voltage sources and transducers.
So, friends, it is the detailed tutorial on the ADC0804 if you have any question about ask in comments. Thanks for reading.

Introduction to STM32 Microcontroller

Hello friends, I hope you all are doing great. In today’s tutorial, we will have a look at Introduction to STM32 Microcontroller. This microcontroller is a new category of a microcontroller family it is a thirty-two-bit microcontroller also compatible with the ARM and Cortex M processor. Due to thirty-two bits compatibility, this module provides good performance, processing of digital signal and consumes less power and voltage. The modules used in most of the industries due to their compatibility with the cortex M0, M0+, M3, M4.

In today's post, we will have a look at its working, features, pinouts, applications and some other related parameters. So lets with the Introduction to STM32 Microcontroller.

Introduction to STM32 Microcontroller

  • The STM32 is a type of microcontroller that offers the ARM Cortex-M thirty-two bits processor.
  • This type of microcontroller is mostly used in different engineering projects.
  •  This module has numerous series and parallel combinations for the connections so many other electronic devices can be linked with this module such as LCD display, a sensing module, electrical motors, etc.
  • All modules of the STM32 are mounted with interior memory storage and random access memory (RAM).
  • The price of some other STM family modules is higher. And STM series like STM32F0 and STM32F1 is consists of the twenty-four megahertz and sixteen pinouts.
  • The STM32H7 modules use four hundred megahertz and have two forty pinouts at its casing.
  • The sophisticated modules of STM series are used for FPU floating-point units applications where there is need of some special arrangements.

Pinout of STM32 Microcontroller

  • Now we discuss the pinouts of STM32 with the detailed, that is described here with the detail.
Pin names Pin Types:                                         Parameters
IOREF It is power pinout. At his pinout reference, 3,3 volts are applied.
RESET It is power pinout. This pinout is used to reset the controller.
+3.3 volts It is power pinout. At this pinout, 3.3 volts are applied as output that can also be used to give input to the microcontroller.
+5 volts It is power pinout. This pinout is only for five volts outputs.
GND It is power pinout. It is ground pinout.
A0-A1 Analog Pins and I2C At this pinout, analogue voltage is found.
A4 and A5 Analog Pins and I2C At this pinouts, I2C transmission of data is done A4 is SDA (Serial Data) pinout and A5 is SCL (Serial Clock) pinout.
D8-D15 Digital Pins and SPI These are digital GPIO (General Purpose Input/Output) pins.
AVDD Digital Pins and SPI At this pinout, the analogue reference voltage is applied.
GND Digital Pins and SPI It is ground pinout.
D13, D12. D11 and D10 Digital Pins and SPI These pinouts work as SCK (serial clock), MISO (master in slave out), MOSI (master out slave in) and CS pins respectively for SPI communication.
D0 to D7 Digital Pins and USART These pinouts are Digital GPIO (General Purpose Input/Output) pins
D0 and D1 Digital Pins and USART These pins act as Rx (receiver) and Tx (transmission) pins respectively for USART communication.
PC0, PC1, PC2, PC3, PC10, PC11, PC12, PC13, PC14, PC15 These are Port pinouts All these are digital pinouts of port c of the module.
PD2 It is Port pinouts It is the input and output pinout of Port D.
PA0, PA1, PA4, PA13, PA14, PA15 These are Port pinouts All of these are input/output pinouts of Port A.
PB7, PB8 and PB9 These are Port pinouts These are input/output pinouts of PORT B.
PH0 and PH1 These are Port pinouts These are input/output pinouts of port H.
VBAT It is power pinout. This pinout used to provide power to the module form the battery.
+3.3 Volts It is power pinout This pinout provides 3.3 volts as output that can be used to power up the module.
+5V It is power pinout It is five volts output supply pinout.
VIN It is power pinout It is unregulated input power pinout.
RESET It is power pinout It used to Resets the microcontroller.
IOREF It is power pinout This is reference voltage pinout.
PC4, PC5, PC6, PC7, PC8, PC9 These are Port Pinouts These are the input and output pinout of Port C.
PA2, PA3, PA4, PA6, PA7, PA10, PA11 and PA12 These are Port Pinouts These are the Port A inputs and outputs pinouts.
PB1, PB2, PB3, PB4, PB5, PB6, PB8, PB9, PB10, PB12, PB14, PB15 These are Port Pinouts These are the Port B inputs and output Pinouts.
U5V It is power pinout It is five volts power pinout.
GND It is power pinout It used to ground the controller.
U5V It is power pinout It is analog ground pinout.
  • Now we see the pinout diagram of STM32.

Applications of STM32

  • These are some practical applications of STM32 that are described in detail.
  • This module is used in less power consuming hand-held electronic devices.
  • This microcontroller is also used in Robotics and different electronic projects.
  • It is also used in system automation.

It is a detailed tutorial on the STM32 I have explained each and everything related to this microcontroller. I tried my level best to describe this module in the simplest way, but still, if you have any question and query about this module please as in comments. Thanks for reading.  see you in the next tutorial. Have a nice day.

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir