[ Log In ]
3 pin slide switch

SPDT Slide Switch 3 pin 30V

$1.49
Qty:
STM32F0 microcontroller and interface board top view

STM32 M0 MCU and Interface to Breadboard

$14.95
Qty:
Image of the Atmega324p

Atmega324P

$8.50
Qty:
USB AVR programmer

USB AVR Programmer

$9.95
Qty:
Breadboard adapter for the USBasp AVR Programmer

USBasp Breadboard Breakout Adapter

$4.90
Qty:
Serial to USB converter with Micro USB cable

USB to Serial Converter

$10.95
Qty:
Thumbnail: Crystal Oscillator 18.432 MHz for UART

18.432 MHz Crystal Oscillator 18pf 30ppm

$0.94
Qty:
Thumbnail: 22 pF Capacitor

22 pF Multilayer Ceramic Capacitor

$0.43
Qty:
Thumbnail: Quartz crystal oscillator - 16 MHz

16 MHz Crystal Oscillator 20 pF Through Hole

$0.75
Qty:
Thumbnail: 4x4 keypad top view.

4x4 Keypad with Adhesive Backing

$3.80
Qty:

Breadboarding: Connecting a Pressure Sensor to the ADC of an AVR Microcontroller

To have the microcontroller read a pressure sensor, the sensor is connected to the ADC (Analog to Digital Converter). In this case, the sensor is connected to the pin 0 of the ADC (PORT A).

AVCC (ADC Power VCC) is connected to the + rail and the AGND (ADC Ground) is connected to the - rail on the breadboard. Noise entering AVCC and AGND is filtered by a 100nf (nano farad) capacitor. The leads of the capacitor connect to the AVCC and AGND.

The pressure sensor is made into a breakout so it can be plugged into the bread board. The number 4 pin of the pressure sensor is connected to the pin 0 of the ADC. The number 2 pin of the pressure sensor is connected to the VCC 5v (since this is a 5v device) and the pin number 3 is connected to GND.

Comments and Additional Information

Have some code to share? Or additional information? Respond here:

You need to be logged in to save a response on this page. The response must be constructive, helpful, supplimentary or to correct the existing video, code or narrative content.

Description:

Code (optional):