Other

Other
Sort By:  
USB Sound Adapter for the Raspberry Pi (usb to audio)
The Raspberry Pi has an on-board audio jack, which is super handy for all kinds of sound effects and speech, just plug and go! However, for when you want better audio for music playback, a USB audio card can greatly improve the sound quality and volume. That's because the on-board audio is generated by a PWM output and is minimally filtered. Don't get us wrong, it's a great thing to have audio on board but this USB audio card will make it even better!
 
We like this particular dongle for not being too bulky, you can plug it in without blocking the secondary USB port. It also works great, takes only a minute to configure and test it on your Pi. 
 
At this time we have a tutorial for setting it up for audio output, we don't recommend it if you need Mic input. 
 
This device also works great with Windows machines and should also function for Macs, but we are carrying it specifically for Pi usage.
 
Features:
  • Greatly improves sound quality and volume
  • Only takes a minute to configure
  • Wire Length: 139.7mm / 5.5"
  • Audio Card Dimensions: 43.76mm / 1.72" x 23.19mm / 0.91" x 11.97mm / 0.47"

Tutorials:

USB Audio Cards with a Raspberry Pi**
 

Add to Cart
R99.00
12V 1/2" Inlet Feed Water Solenoid Valve N/C (12V solenoid valve 2A3)
Specifications:
Voltage: 12V DC
Rated Power: 5W
Pressure: Max 8 Bar
Operation model: Normally closed
Port Size: 1/2''
Fluid temperature: 0-100
Usage: water and low viscosity fluids
Flow characteristics: 0.2Bar>1.5L/min 1Bar>7L/min 3Bar>12L/min 8Bar>20L/min;
 
Add to Cart
R189.00
RTU5024 GSM Gate Opener Relay Switch Remote Access Control Wireless Door Opener (GSM gate relay)
Description:
 
RTU5024 GSM Gate Opener Relay Switch Remote Access Control Wireless Door Opener

This GSM gate opener features remote on/off switching by authorized free phone calls, which can be operated from anywhere, no distance limit, very convenient.

Features:

*850/900/1800/1900MHz quad bands, can work in the worldwide GSM networks.
*No call charges. The GSM Relay Switch answers the call from authorized number then carries out the turn ON/OFF action on the first 'ring'.
*Secure - Using caller-ID for identification, unknown callers are ignored.
*Add or remove users by SMS Text command.
*No need to provide a remote control or keys for different users.
*Up to 200 authorized phone numbers can be configured at the specified time.
*The relay action will return a SMS confirmation to the owner or authorized caller number, this function is editabled by user.
*The relay close or open time is programmable.
*Multiple applications. (Gates, bollards, barriers, garage doors, shutters and access doors or machines).
 
Applications:

>  Remote open/close swing/sliding gates, doors,
shutters, garage doors,locks with a free call!
>  Residential: Door,gate,garage access control, electronic
fan,microwave,air-conditioner control.
>  Industry: Remote switch equipment, for example: street lights,
solar power, motor, inverter, PLC,pumps, fans, etc.
>  Agriculture: Remote control pumps, etc.
>  Business: Remote control electronic boxes,bright billboards,LED signs,etc.

How it works?

A) Wire the RTU5024 Gate opener with your door locks or other machines.
B) Insert SIM card to RTU5024 Gate Opener, Power up.
C) Send a few SMS commands to RTU5024 Gate opener, to assign the authorized user list.
D) Make a phone call from the authorized user's phone number, RTU5024 Gate Opener rejects
phone call and door open or close.
For example,If you are using the RTU5024 GSM gate opener to open/close your garage door by
your family members, what you'll need is just 2~5 SMS commands only.
 
Specification:
 
Model :RTU5024
Functions: Swing Gate, Sliding Door, Garage Door Locks 
GSM Frequency:850/900/1800/1900MHz
Output Relay:NC/NO dry contact,3A/240VAC
Power Consumption:12V input Max.50Ma/Standby:15mA
SIM Card:Support 3V SIM Card
Antenna: 50 Ω SMA Antenna interface
Temperature range :-20~+60 °C
Humidity range:Relative humidity 90%




 
Package includes: 
 
1 x Gate Opener 
1 x Antenna
1 x User Manual 
2 x cable connectors
Add to Cart
R720.00
DC 12V Electric Solenoid Valve 1/2 Inch Hose Magnetic Water Air Inlet Flow Switch (solenoid valve angle 2A3)
Description:
DC 12V Electric Solenoid Valve 1/2 Inch Hose Magnetic Water Air Inlet Flow Switch

Specification:
MaterialMetal + Plastic
ColorAs per picture
VoltageDC12V
Rated Power5W
Pressure0.02- 0.8Mpa
Interface Modes1/2'' Hose
Working Time5 hours at once (Max)
Insulation ClassE
Fluid Temperature0-90°C
SizeL*W*H/75*60*45mm/2.95*2.36*1.77''
Inner diameter14mm/0.55''
External diameter of thread20mm/0.78'' 
 
Features:
Durable and practical.
Made of high quality plastic and metal for long life.
Very convenient to use, open or close when power on or off.
 
Package Includes:
1 x Electric Solenoid Valve
Add to Cart
R159.00
8-Channel 10-Bit Analog to Digital Converter (MCP3008) (8 channel IC A2D converter)

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]:/# lsmod
Module                  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 adcout

while 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

Add to Cart
R59.00
Adafruit 4 Channel I2C 12-Bit Analogue to Digital Converter (ADC) (Ada A2D converter)

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

Add to Cart
R179.00
3/4" 12V PP Normally Closed Type Solenoid water Valve (3/4 solenoid valve)

Specifications:
Material: PP
Voltage: about 12V DC
Rated power: about 5W
Operation model: normally closed (N/C)
Pressure: about 0.02 - 0.8Mpa
Port size: about G3/4
Fluid temperature: about 0-100 degrees Celsius
Usage: water and low viscosity fluids
Flow characteristics:
about 0.02Mpa>2L/min;
about 0.10Mpa>10L/min;
about 0.30Mpa>16L/min;
about 0.80Mpa>28L/min

Package Includes:
1 x Solenoid valve
Add to Cart
R189.00
Per Page      1 - 7 of 7
  • 1