- 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"
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;
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.
*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).
> Remote open/close swing/sliding gates, doors,
shutters, garage doors,locks with a free call!
> Residential: Door,gate,garage access control, electronic
> 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.
Functions: Swing Gate, Sliding Door, Garage Door Locks
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%
2 x cable connectors
DC 12V Electric Solenoid Valve 1/2 Inch Hose Magnetic Water Air Inlet Flow Switch
|Material||Metal + Plastic|
|Color||As per picture|
|Interface Modes||1/2'' Hose|
|Working Time||5 hours at once (Max)|
|External diameter of thread||20mm/0.78''|
1 x Electric Solenoid Valve
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.
- 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
- Sensor Interface
- Process Control
- Data Acquisition
- Battery Operated Systems
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:
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&3) << 8) + r 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
- Loading I2C, SPI and 1-Wire drivers on the Raspberry Pi
- Jeremy's Blog: Raspberry Pi hardware SPI analog inputs using the MCP3008
- wiringPi 'C' API for interfacing with SPI, I2C, GPIOs and more
- Adafruit Learning System
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.
- 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
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
1 x Solenoid valve