, signal pin, and one pin dangling. Connect the Raspberry Pi and module as follows: After checking out the code from GitHub, enter it in the Raspberry Pi terminal lxterminal:CD "Grove–ultrasonic Ranger"sudo python ultrasonic.pyThe Raspberry
distance of the obstacle. The Grove-ultrasonic Ranger has four pins, namely power supply, ground, signal pin, and one pin dangling. Connect the Raspberry Pi and module as follows: After checking out the code from GitHub, enter it in the Raspberry Pi terminal lxterminal:CD "Grove–ultrasonic Ranger"sudo python ultrason
Raspberry Pi on the Cloud (1): Environment preparationRaspberry Pi on the Cloud (2): Uploading sensor data to AWS IoT and leveraging Kibana for presentation1. Sensor installation and configuration 1.1 DHT22 installationThe DHT22 is a temperature and humidity
! [GY-85] (http://images.cnblogs.com/cnblogs_com/hangxin1940/466697/o_gy85.jpg "GY-85 ")
9-axis IMU sensor (GY-85 module) can also be seen as three modules 'itg3205 Three-Axis Gyroscope sensor ''' adxl345 three-axis accelerator tilt sensor ''' hmc5883l Electronic Compass'
The GY-85 Module Interface is I2C and can be easily linked to the Arduino/
TargetPress the button in the mobile app to open the bedroom door.Basic principleRaspberry Pi as a control device: It runs a Linux system, so it is powerful and provides a GPIO interface, so it is easy to control the physical door mechanism.Yeelink Platform as a cloud provider: it is very difficult to build your own Web server, Yeelink provides free internet of things cloud services, and open APIs that can
Yesterday made the control led, played the first, the rest of the feeling is very simple, here recordJust a couple of photos.Play the honey module only to find the law, generally this module, there will be three pins, VCC (3.3V or 5V power supply output PIN), GNC (for Gpio pin of GNC), out/(I/O) (corresponding to the gpio number of pins), if it is necessary to send information to the Raspberry Pi, This modu
Github:https://github.com/hicrater/raspberry-dht11-temperature.gitFirst, look at the wiring
Wiring diagram
Vcc
Cathode
Pick up the Raspberry Pi 3.3v power supply (choose one on the line)
GND
Negative
Pick up the Raspberry
Introduced
The DHT11 is a cheap accessory that includes temperature and humidity sensors, and the code is easy to use. This article describes if you use DHT11 in a Raspberry Pi, the code is python. If you have any questions, please leave a comment below.
Wiring
VCC Connection 5V or 3.3V
Data is connected to the Gpio (I'm picking up the BCM pin 16th, the physical pin is 36)
GND Co
Preface
Raspberry Pi (Raspberry pi,rpi) is designed for students ' computer programming education, only card-sized card computers that can run Linux or Windows IoT core operating systems. This article uses the Raspberry Pi and UW
Https://www.raspberrypi.org/documentation/usage/gpio/README.md2016/6/25GPIO: Raspberry Pi A and B# #介绍GPIO和在树莓派上进行物理编程The powerful feature of the Raspberry Pi is the GPIO (general purpose input and output) pins that surround the board, right next to the yellow video output jack.GPIO PinsThese pins are the physical inte
programs after startup. [2] when the air conditioner in the room is turned off, the Raspberry Pi CPU temperature increases from 42.2 degrees to 47.1 degrees, in line with actual expectations, indicating that the experiment was successful. [3] Let's use another example to store the temperature to the database, and use another restful API to read historical temperature data. [Tucao] The yeelink platform has
as follows:
APIKEY="U-ApiKey:ffa3826972d6cc7ba5b17e104ec5xxxx" APIURL="http://api.yeelink.net/v1.0/device/1949/sensor/2510/datapoints" curl --request GET --header $APIKEY $APIURL[Returned results] {"timestamp": "2014-07-28t20: 56: 51", "value": 49.23}
Yeelink V1.1 API: Modify the API version number in the preceding script, and change V1.0 to V1.1. From the returned results, we can find that the API version 1.1 returns more information. [Ret
Use Raspberry Pi to send push notifications to smartphones
This project explains how to send push notifications from Raspberry Pi to iOS and Android devices. You only need to use a free push app. The main idea here is to use an electromagnetic sensor
/folder, create a smbpasswd file with the following command:sudo touch/etc/samba/smbpasswdAdd a user named AAA to Samba: sudo smbpasswd-a AAAWill let you enter the password, you set one, set up will display: Added user AAATo get here, and then open the network next door, enter the user name and password just set, then go in, will find a TMP folder, you can freely read and write data in this folder, such as the film, test films, songs, songs, and so on
, and intelligently judge with shell scripts to synchronize files from the remote server.And my other Raspberry Pi is a battle-hardened, once used as my Git repository, to be honest, the memory is a bit overwhelming, the installation and deployment of Gogs through Docker can be said to be the most agile git warehouse building. Of course, I'll give the veteran a temperature, humidity
files from a remote server.My other Raspberry Pi was once used as my git repository. To tell the truth, the memory was a little too powerful, installing and deploying gogs through docker is the most agile way to build a git repository. Of course, I will also bring a temperature and humidity sensor to the old employee and push it to the server through websocket.
City will play: Linux+python+raspberry Pi Brewing Beer" style= " vertical-align:middle;height:auto;margin:10px auto; "/> to run the brewing system, your Raspberry Pi must do two key things: measure the temperature from several different locations and use a relay switch to control the heating element , the
Brief introductionA simple device for the control sensor of the terminalFeatures that can be implementedIt can realize real-time monitoring of Raspberry Pi terminal by mobile phone, camera gimbal manipulation, intrusion alarm, temperature detection, light control, automatic light control and other functions.Equipment picturesRunAll the hardware that needs to be u
Temperaturedefget_cpu_temp (): Cpu_temp_file= Open ("/sys/class/thermal/thermal_zone0/temp") Cpu_temp=Cpu_temp_file.read () cpu_temp_file.close ( )returnFloat (cpu_temp)/1000defMain (): whileTrue:strftime=time.strftime ("%y-%m-%dt%h:%m:%s") Print "Time :", StrftimePrint "cpu_temp:", Get_cpu_temp ()#Sleep 60 secondsTime.sleep (60)if __name__=='__main__': Main ()2nd step: Become the Yeelink platform developer and complete the configuration of the Raspb
This book is divided into 18 chapters, the first 3 chapters are the basic chapters of the book, the main introduction of the Raspberry Pi some basic conditions and basic operations, to let readers understand the past life of Raspberry Pi, master the basic use of Raspberry
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.