Search

Search Criteria

 
 
 
 

Products meeting the search criteria

Sort By:  
Adafruit ADS1015 12-Bit ADC (ADS1015 12-Bit ADC)
Description:

The Raspberry Pi does not feature an Analog-to-Digital Converter (ADC), so if you want to measure analogue singals, you'll need this 12-Bit ADC!

The Adafruit 4-Channel I2C 12-Bit ADC is a high-precision ADC and features the ADS1015 chip, which provides 12-bit precision at 3300 samples/second over I2C. The chip can be configured as 4 single-ended input channels, or two differential channels. As a nice bonus, it even includes a programmable gain amplifier,with up to x16, to help boost smaller single/differential signals to the full range. We like this ADC because it can run from 2V to 5V power/logic, can measure a large range of signals and its super easy to use. It is a great general purpose 12 bit converter. 

The chip's fairly small so it comes on a breakout board with ferrites to keep the AVDD and AGND quiet and interfacing is done via I2C. The address can be changed to one of four options (see the datasheet table 5 in downloads below) so you can have up to 4 ADS1015's connected on a single 2-wire I2C bus for 16 single ended inputs. 
 
To get you started, we have example code for the Raspberry Pi - Simply connect GND to ground, VDD to your logic power supply, and SCL/SDA to your microcontroller's I2C port and run the example code to start reading data.
 
The Adafruit 4-Channel I2C 12-Bit ADC Features:
  • Wide Supply Range: 2.0V to 5.5V
  • Low Current Consumption: Continuous Mode: Only 150µA Single-Shot Mode: Auto Shut-Down
  • Programmable Data Rate: 128SPS to 3.3kSPS
  • Internal Low-Drift Voltage Reference
  • Internal Oscillator
  • Internal PGA
  • I2C Interface: Pin-Selectable Addresses
  • Can run from 2V to 5V power/logic
  • Measures a large range of signals and is super easy to use.
  • 12-bit precision at 3300 samples/second over I2C.
  • Configurable as 4 single-ended input channels, or two differential channels.
  • Includes a programmable gain amplifier, up to x16, to help boost up smaller single/differential signals to the full range.
  • Breakout Board equipped with ferrites to keep the AVDD and AGND quiet

Tutorials

Four Channel ADC Breakout

Example Code for the Raspberry Pi

R249.90  Inc VAT
Analog Ceramic Piezo Vibration Sensor (ceramic vibration sensor)
Description:

This vibration sensor is based on piezoelectric ceramic chip analog vibration. It makes use of the anti-conversion process that piezoelectric ceramic vibration will generate the electric signals.
When vibrating the piezoelectric ceramic chip, the sensor’s signal terminal will generate electrical signals. 

Specifications:


Working Voltage: 3.3V or 5V
Working Current: <1mA
Operating Temperature Range: -10 ~ 70
Interface Type: Analog Output
Item Size: 30mm x 23mm
GPIO: S; signal output, ; power supply (VCC), -; ground (GND)
Input: Positive electrode of the piezoelectric ceramic
GND: Negative electrode of the piezoelectric ceramic


Package includes:

1 x Ceramic Piezo Vibration Sensor
R49.90  Inc VAT
10-bit ADC (SPI) MCP3008 - 8 Channel (10-bit ADC 8 Channel)
Description:

The Raspberry Pi is a great computer but there's just one thing that most hardware hackers will find missing: a few inputs for connecting analog sensors. This is where the MCP3008 chip comes in handy, with eight 10-bit channels accessible over SPI. Thanks to the Raspberry Pi's SPI interfaces and its two 'Chip Select' pins available off of the main GPIO connector, the problem is solved.

Features

  • 10-bit resolution
  • ± 1 LSB max DNL
  • ± 1 LSB max INL
  • 8 input channels
  • Analog inputs programmable as single-ended or pseudo-differential pairs
  • On-chip sample and hold
  • SPI serial interface (modes 0,0 and 1,1)
  • Single supply operation: 2.7V - 5.5V
  • 200 ksps max. sampling rate at VDD=5V
  • 75 ksps max. sampling rate at VDD=2.7V
  • Low power CMOS technology
  • 5 nA typical standby current, 2 µA max.
  • 500 µA max. active current at 5V
  • Industrial temp range: -40°C to 85°C

Applications

  • Sensor Interface
  • Process Control
  • Data Acquisition
  • Battery Operated Systems

How-To

The following sample assumes that you're running the latest official Raspbian distribution, that you're logged in as root and that you haven't yet customized Raspbian to use SPI from a Python script. By default, the kernel module managing SPI communications is not loaded on Raspbian, so let's ensure that the 'spidev' device is available.

[email protected]:/# lsmodModule                  Size  Used by  snd_bcm2835            12808  0  snd_pcm                74834  1 snd_bcm2835  snd_seq                52536  0  snd_timer              19698  2 snd_seq,snd_pcm  snd_seq_device          6300  1 snd_seq  snd                    52489  5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835  snd_page_alloc          4951  1 snd_pcm  

If 'spidev' device is not listed, we need to remove it from the kernel module 'blacklist' so that it's automatically loaded on the next boot:

[email protected]:/# nano /etc/modprobe.d/raspi-blacklist.conf  

Put a hash character in front of the 'blacklist spi-bcm2708' statement and save the file:

#blacklist spi-bcm2708  

then, manually load the SPI device:

[email protected]:/# modprobe spidev  

The command should just complete without returning an error. Validate the list of modules:

[email protected]:/# lsmod  Module                  Size  Used by  spi_bcm2708             4401  0  spidev                  5136  0  snd_bcm2835            12808  0  snd_pcm                74834  1 snd_bcm2835  snd_seq                52536  0  snd_timer              19698  2 snd_seq,snd_pcm  snd_seq_device          6300  1 snd_seq  snd                    52489  5 snd_seq_device,snd_timer,snd_seq,snd_pcm,snd_bcm2835  snd_page_alloc          4951  1 snd_pcm  

The 'spidev' device should now be available.

Next, install the 'git' package. It will be needed to install other packages from Github.

apt-get install git-core  

Install the 'python-dev' package. It will be needed to compile the 'py-spidev' package.

apt-get install python-dev  

Download and compile the 'py-spidev' package.

[email protected]:/# cd /home  [email protected]:/home# git clone git://github.com/doceme/py-spidev  [email protected]:/home# cd py-spidev/  [email protected]:/home# python setup.py install  

At this point, SPI is available from Python 2.7. Assuming that you have wired the MCP3008 to the Raspberry Pi's SPI bus using CE0 as the 'chip select' pin, you can read all eight analog inputs using the following Python script.

[email protected]:/home# nano adc.py  

Paste the script below in the editor and save it.

import spidev  import time    spi = spidev.SpiDev()  spi.open(0,0)    # read SPI data from MCP3008 chip, 8 possible adc's (0 thru 7)  def readadc(adcnum):          if ((adcnum > 7) or (adcnum < 0)):                  return -1          r = spi.xfer2([1,(8 adcnum)<<4,0])          adcout = ((r[1]&3) << 8)   r[2]          return adcoutwhile True:          for adcInput in range(0,8):                  print "ADC(", adcInput,")=", readadc(adcInput)          time.sleep(1)  

To execute the script

[email protected]:/home# python adc.py  

Sample output using a 10K Ohm trimpot connected to the ADC's pin 3 and all other pins pulled down to ground using a 10k resistor.

ADC( 0 )= 0  ADC( 1 )= 0  ADC( 2 )= 0  ADC( 3 )= 507  ADC( 4 )= 0  ADC( 5 )= 0  ADC( 6 )= 0  ADC( 7 )= 0  

Credits go to Jeremy for his work on the 'py-spidev' Python module which makes working with the MCP3008 straight forward. Alternatively, checkout wiringPi's SPI functions if you prefer using a 'C' API.

Related Tutorials & Samples

R45.90  Inc VAT
Revolution Pi Analog I/O expansion module (RevPi Analog I/O)

Description:

Using the analog I/O - module RevPi AIO your RevPi base module can be expanded by 4 analog inputs, 2 analog outputs and 2 RTD input channels. This expansion module is connected to your base module by the means of the overhead PiBridge plug. Inputs, RTD inputs and outputs are galvanically isolated to each other. Differential inputs eliminate ground loops.

Analog input range/options: +/- 10 V, 0 – 10 V, 0 – 5 V, +/- 5 V, 0 – 20 mA, 0 – 24 mA, 4 – 20 mA, +/- 25 mA

Analog outputs range/options: 0 – 5 V, 0 – 10 V, +/- 5 V, +/- 10 V, 0 – 5,5 V, 0 – 11 V, +/- 5,5 V, +/- 11 V, 4 – 20 mA, 0 – 20 mA, 0 – 24 mA

The 2 RTD inputs enable temperatures to be measured with high precision from -165°C to +600°C in steps of 0.5°C using common RTDs sensors like Pt100/Pt1000 probes. The probes can be connected directly to the module with 2, 3 or 4 cables.

Just like the digital IO modules, RevPi AIO is protected against disturbances according to EN61131-2 and can be operated between -40 and +50°C ambient temperature and up to 80% relative humidity. It is also protected against static discharges, burst and surge impulses in accordance with EN61131-2 requirements.

The required PiPridge Plug (Item No.: 100204) and a set of 14-pole PCB female connectors (Item No.: 200030) are already included in the scope of delivery of this expansion module.

Compatible base modulesRevPi Core 3 (Article No. 100257)
RevPi Core (Article No. 100102)
RevPi Connect (Article No. 100274)
No. of Inputs4
No. of Outputs2
No. of RTD channels2
Power supply24V
IP codeIP20


Compliance
EN61131-2
Housing dimensions (H x W x D)
96 x 22.5 x 110.5 mm
Housing type
DIN rail housing (for DIN rail version EN 50022)
Housing material
Polycarbonate
Weight
approx. 115 g
IP Code
IP20
Power supply
12 - 24 V (-15%/+20%)
Current consumption
max. 200 mA at 24V (full load)
max. 400 mA at 12V (full load)
max. 500 mA during start up
Operating temperature
-30…+55 °C
Storage temperature
-40…+85 °C
Humidity (at 40 °C)
93 % (non-condensing)
Voltage measuring range
±10 V | ±5 V | 0…10 V | 0…5 V
Current measuring range
0…20 mA | 0…24 mA | 4…20 mA | ±25 mA
Temperature measuring range
-200…+850 °C
Voltage output range
±10 V | ±11 V | ±5 V | ±5.5 V | 0…10 V | 0…11 V |0…5 V | 0…5.5 V
Current output range
0…20 mA | 0…24 mA | 4…20 mA
Number of input channels
6
for voltage max 4
for current max 4
for RTD (Pt100/Pt1000) 2
Number of output channels
2
for voltage max 2
for current max 2
Galvanic isolation
Input to Input No
Input to Output Yes
Output to Output No
System bus to inputs/outputs Yes
Input type
Voltage/current - differential
RTD 2-, 3-, 4-wire
Output type
single ended, common ground, short-circuit proof
ADC type
24 bit ΔΣ
DAC type
16 bit
Input resolution in process image
Voltage 1 mV (16 bit)
Current 1 μA (16 bit)
Temperature 0.1 K (16 bit)
Output resolution in process image
Voltage 1 mV (16 bit)
Current 1 μA (16 bit)
Max. overall input error (at 25 °C ambient temperature)
Voltage (for all ranges) ±10 mV (±5 mV @ 0…5 V range)
Current (for all ranges) ±20 μA (±24 μA @ 0…24 μA range)
Temperature (for complete range) ±0.5 K
Max. overall input error (for -30…+55 °C ambient temperature)
Voltage (for all ranges) ±10 mV
Current (for all ranges) ±72 μA
Temperature (for complete range) ±1.5 K
Max. overall output error (at 25 °C ambient temperature)
Voltage (for all ranges) ±15 mV
Current (for all ranges) ±20 μA
Max. overall output error (for -30…+55 °C ambient temperature)
Voltage (for all ranges) ±15 mV
Current (for all ranges) ±72 μA
Input conversion time (data rate in process image)
8…1000 ms (adjustable)
Output data rate
1 PiBridge cycle
Output slew rate
Adjustable digital slew rate control - 1 [email protected] kHz up to 128 [email protected] kHz
Input impedance
Voltage >900 kΩ
Current <250 Ω
Output impedance
Voltage <16 Ω
Max. capacitive load 5 nF @ 1 kΩ
Max. load resistance for current output
600 Ω
Min. load resistance for voltage output
1 kΩ
Further features
All inputs and outputs are linear scalable
Overtemperature monitoring
Overcurrent monitoring
Range monitoring
Optical indicator
3 status LEDs (bi-color)

Technical data also available in pdf format: https://revolution.kunbus.de/wp-content/uploads/manuell/datenblatt/Datasheet_RevPi_AIO.pdf

Tutorials available at https://revolution.kunbus.com/tutorials/

R5,799.90  Inc VAT
3.3V ADS1115 ADC Module for Raspberry Pi 3/2 / B I2C RPI ADS1115 ADC Analog to Digital Converter (ADS1115 ADC Module for RPi)
Description:

RPi-ADS1115-ADC Module is a precision analog-to-digital converter (ADC), one of them ADS1115 Is able to offer 16Bit sampling accuracy of the chip, using a very small sizeMSOP - 10Package.

Data passed I2C Compatible serial interface for transmission, owned 4 road I2C Address can be selected, work power only need3.3VYou can. Its main function is that it can be used to detect analog signals and convert them to digital signals.

You can put analog signals on joysticks or other analog sensors such as NTC, Temperature, dust sensors and other equipment through this RPi-ADS1115-ADC Module access raspberry faction, through the raspberry dispatch device to collect the analog signal.

parameter

value

size

65.0 mm 30.0 mm 18.0 mm

Operating voltage

3.3V

Analog input voltage

VDD,GND

Programmable data rate

8 sps To 860 sps

internal PGA

stand by

 

Sampling accuracy

16 Bit

I2c interface

Select the address by pin

Number of channels

4 Single-ended or 2
Differential input

Programmable Comparator (PGA)

2/3 ~ 16

internal NTC

R245.90  Inc VAT
Slider for micro:bit (Slider for micro:bit)
Description:

The MonkMakes Slider for micro:bit allows you to interact with your micro:bit by sliding a control left and right.

The board uses a 10kΩ linear variable resistor (pot) to output a voltage between 0 and 3V that can be measured in your micro:bit programs using one of the micro:bit connections as an analog input.

The kit includes the Slider for micro:bit itself plus a set of 5 alligator clip leads. 


Specifications:




What's in the box ?

1 x 3v Slider 
5 x Alligator clip leads 

(* micro:bit not included) 


Resources :


 - Instructions (PDF)
 - Data Sheet (PDF)
 - Lesson Plans (Google file share)












(* micro:bit and not included) 

R169.90  Inc VAT
Per Page      1 - 6 of 6
  • 1