Hello everyone, I'm a small-story.Remember the previous section click the Open linkToday we talk about sensors.Today, we talk about light and ultrasound.Send a picture first:The light sense has three interfaces, namely:UCC, out, GND.The ultrasound
Reprinted please indicate the source: http://blog.csdn.net/lxk7280
First, contact the kinectorbit camera library. The download URL and brief introduction of this library are provided in this article: http://blog.csdn.net/lxk7280/article/details/3818
I wrote it here, but it hasn't been tested yet.
1. Move the two ends of the led to the center and return to the two sides.
1 // adr301.ino 2 3 byte ledPin[] = {4, 5, 6, 7, 8, 9, 10, 11, 12, 13}; 4 int ledDelay(65); 5 int direction = 1; 6 int
The board we got two days ago. The first test is 18b20, but the value cannot be read. At first, I directly connected the analog port. Later I realized that this was not a simulated sensor, but a number. It is switched to a digital port. analog
Connect as shown in the following figure:
The resistor size of the photosensitive resistor is inversely proportional to the brightness. By measuring the voltage of the resistor, you can know the resistor size of the photosensitive resistor to
In the past SCM programming process, probably most people are more familiar with the MCU WiFi module and the server to establish a socket connection. However, it may be a better option to establish an HTTP connection when we are confronted with the
[Csharp]/*************************************** **************************** Program name: Mega_ADK ADC** Parameter count: None** Function: Send the voltage value (mv) collected by AD through the serial port)** Note: The target board is Maga adk
The simplest example:
Void setup ()
{
Serial. Begin (9600); // open the serial port and set the baud rate to 9600 bps.
}
Void loop ()
{
Int val;
Val = analogread (5 );//The sensor is connected to the analog Port 5, and the value is
Modify the SSID and passwd, the program burned to 8266, waiting for the serial port to return the successful connection message, after the successful connection can see the return of an IP address, using the browser azimuth this IP address can see
Human infrared module is very simple, is the normal three-pin (vcc,gnd,data), the data is high, low level, that is, there are only two results: High level for the active body is detected, low level for no active human detection.
It is important to
read MPU6050 data under Arduino
Reference: http://diyhacking.com/arduino-mpu-6050-imu-sensor-tutorial/ hardware Arduino uno or Arduino mega2560 MPU6050 sensor (GY-521 or GY-9150) DuPont line several connections
Note: If you use
device and the ground planeIn the whole article I try to minimize the math operations. If you know what the sine, cosine, and tangent functions are, you should understand and use the ideas in this article regardless of which platform your project uses, such as Arduino, Propeller, Basic Stamp, ATEML chip, pic chip, and so on. Some people think that the use of IMU units requires complex mathematical operatio
between the device and the ground planeIn the whole article I try to minimize the math operations. If you know what the sine, cosine, and tangent functions are, you should understand and use the ideas in this article regardless of which platform your project uses, such as Arduino, Propeller, Basic Stamp, ATEML chip, pic chip, and so on. Some people think that the use of IMU units requires complex mathemati
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.