Elecrow Crowtail Manuale utente

ContentContent
2020 ELECROW All Rights Reserved.
C
Instruction
Modules List
Crowtail
● Crowtail – Base shield
● Crowtail – Module
Lessons
● Lesson 1 – LED control
● Lesson 2 – Vibration detector
● Lesson 3 – Raining reminder
● Lesson 4 – Intelligent corridor light
● Lesson 5 – Breathing light
● Lesson 6 – Calculating light intensity
● Lesson 7 – Get current time
● Lesson 8 – LCD display
● Lesson 9 – Electric watch
● Lesson 10 – Temperature&Humidity detecting system
● Lesson 11 – PWM control
● Lesson 12 – Servo control
● Lesson 13 – Matrix display
● Lesson 14 – Get atmospheric pressure
● Lesson 15 – Digital compass
● Lesson 16 – IR control system
● Lesson 17 – ESP8266 TCP server
● Lesson 18 – Weather reminder
● Lesson 19 – Remote control system
● Lesson 20 – Polite automatic door
● Lesson 21 – Weather station
01
02
03
03
04
05
05
07
08
10
12
14
16
17
20
21
23
26
27
29
31
33
35
37
39
41
43

InstructionInstruction
Welcome to the Crowtail-Advanced kit for Arduino user guide. Do you already have some
knowledge of electronics and some programming skills. How do you continue to strengthen
your thinking, hands-on skills, programming and innovation capabilities? This kit will lead
you to a new stage! This kit contains 21 fun and creative tutorials, from simple to difficult,
leading you to gradually explore and discover modules and the fun of programming and to
constantly train your thinking and programming skills throughout the process to enhance
your ability to innovate and confidence. Through this kit, you will learn about digital signals,
analog signals, digital-to-analog conversion, automatic control systems, remote control
systems, display systems, WIFI, and more. You will find that programming can create more
fun, and continuously improve your ability, and finally let you create your own outstanding
works, and think and solve problems more comprehensively, meticulously, and confidently!
The Crowtail-Advanced kit for Arduino includes 22 electronic modules, each module has its
own feature and functions. Each module has been carefully selected from more than one
hundred Crowtail modules to provide deeper learning and creative guidance for those who
want a deeper understanding of hardware modules and programming knowledge. In the
process, it continuously stimulates the thinking ability and creativity of learners.
For the programming part, we will use the Arduino software to program. Arduino is an
easy-to-use open source electronic prototyping platform. It is one of the most popular open
source hardware in the world, including hardware (various models of Arduino board) and
software (Arduino IDE). This is the best choice for people who want to learn programming
and hardware knowledge! In short, you will explore what is the core of programming and
creation, and help you to have a more comprehensive thinking in the future to create your
own excellent works.
01

02
Modules ListModules List
● Crowtail - Base Shield x1
● Crowtail - Button x1
● Crowtail - LED(Red) x1
● Crowtail - LED(Green) x1
● Crowtail - Vibration Sensor x1
● Crowtail - RTC x1
● Crowtail - Temperature& Humidiy Sensor x1
● Crowtail - IR Receiver x1
● Crowtail - MOSFET x1
● Crowtail - Water Sensor x1
● Crowtail - LED Matrix x1
● Crowtail - 9G Servo x1
● Crowtail - Serial Wifi x1
● Crowtail - Rotary Angle Sensor x1
● Crowtail - 3-Axis Digital Compass x1
● Crowtail - PIR Sensor x1
● Crowtail - I2C LCD x1
● Crowtail - BMP180 Barometer x1
● Crowtail - Luminance Sensor x1
● DC motor x1
● Infrared Remote Control x1
● Battery case x1

03
Crowtail
Crowtail – Base Shield
Welcome to the world of Crowtail! Crowtail is a modulated, ready-to-use toolset, it takes a building
block approach to assemble electronics. It simplifies and condenses the learning process significantly.
In our Crowtail warehouse, there are over 150 Crowtail modules and Crowtail shields!
The Crowtail products are basic-functional modules that consist of a Base Shield and various modules
with standardized connectors, each Crowtail module has its specific functions, such as light sensing
and temperature sensing. It will satisfy all you need for your project!
Crowtail is a series of products that we made to solve the messy jumper wires when connecting
electronic circuits. It consists of a Base Shield and some basic Crowtail modules, which helps you
creating small, simple, and easy-to-assemble circuits.In other words, when you use Crowtail, your
electronic project will not be a messy wiring, instead it will be a simple and easy way to manage
electronic project!
The Crowtail-Base Shield is a standard IO expansion board for the Arduino. It regulates the IOs of
Arduino to the standard Crowtail interface, which can be sorted into 4 kinds: Analog (A), Digital (D),
UART (U) and IIC(I):
11 Digital I/O ports (D2~D12) that have a mark “D”. These ports can be used to read and
control digital Crowtail modules (Crowtail modules that have a mark “D”), such as the Button and
LEDs. Some of the digital I/O ports can also be used as PWM (pulse width modulation) outputs;
6 Analog ports (A0~A5) that have a mark of “A”. Besides the functional of digital, these A
ports can read the analog signal, such as a potentiometer or light sensor;
3 UART ports that have a mark of “U”. These interfaces can be used for UART communication
such as the WIFI module or Bluetooth module;
2 IIC ports that have a mark of “I”. These interfaces are for the IIC Communication, users can
utilize 2 IIC modules at the same time;
1
2
3
4
1
2
3
4

04
Crowtail – Modules
We make more than 100 kinds of electronic modules into Crowtail modules. They include a variety of
sensors, displays, inputs and outputs modules, communication types include I2C, UART, digital or
analog, which aim to provide more options to fully meet your electronic projects. All needs! All
modules can be used by simply connecting them to the Crowtail-Base shield using a Crowtail cable,
which is a huge improvement over the previously troublesome jumper connections.
Besides, there is also a 2x5 female connector of 5V and GND for customer usages. Users can
connect any electronic modules to the Base Shield with jumper wires easily.
Compared with the traditional way of carrying out electronic projects, Crowtail has a huge performance
benefit. All Crowtail has the standard 4 pin connectors. Your creative idea can be realize easier and
faster just by plug and play. In addition, you don’t need to debug the electronic circuits!
Connect Crowtail-Base shield with your Arduino.
Connect Crowtail-Base shield with your Crowduino.

05
The LED is the best choice to help you learn I/O
pins. What you need to do is connecting the LED
module to the Base Shield D ports, then download
the program to the Arduino. Besides the very
basic usage, you can make the LED blink with the
frequency you want, thus the brightness with
PWM. Actually, LED is the most popular used for
human interface. In this kit, we prepared two
colors of the LED, including red and green, so you
can create your own LED circuit!
This momentary button outputs logic HIGH signal
when pressed and logic LOW signal when released.
The logic high and logic low levels of the output can
be detected by the Arduino controller, and then you
can program your Arduino to do what you want after
detecting the two different signals.
For this lesson, we will use button and LED module
to make a button control.
Lesson 1 – LED Control
Lessons
Introduction
Crowduino UNO-SD/Arduino UNO x1
Crowtail – LED(Red) x1
Crowtail – Button x1
Crowtail – Cable x2
USB Cable x1
Required Parts
STEP1: Plug the Crowtail- Base Shield onto the
Arduino or Crowduino Board.
Hardware Connection
STEP2: Connect Crowtail-Button to Crowtail-Base
Shield D4 port and Crowtail-LED to D2 port. The
complete connection is as follows:
Open the P01_LED_Control with Arduino IDE
and upload it.

06
If you press the button, the LED will light on, and it will light off when you release the button. If it
doesn’t, make sure the LED and button are properly connected to the corresponding Crowtail-Base
Shield interface.
What will you see
1. Declare the variables for LED and button and assign values to them.
2. Define whether the module is output or input.
3. Read the value of the button.
4. If the button value read is HIGH(pressed), turn on the LED.
5. If the button value read is LOW(not pressed), turn off the LED.
Code overview
Code usage
A variable is a placeholder for a value that may change in your code.
Variables must be introduced or "declared" before using variables.
Here, we declare two variables that define which ports of the base shield
the module should connect to and a variable called ‘buttonState’ of type
int(integer) and assign it a value of 0 to record the status of the button.
Don't forget that variable names are case-sensitive!
Integer Variables
Input or Output
Before using one of the digital pins, you need to tell Arduino
whether it is an input (INPUT) or an output (OUTPUT).
We use a built-in "function" called pinMode() to make the pin
corresponding to the led a digital output.
Digital Input
We use the digitalRead() function to read the value on a digital pin.
Check to see if an input pin is reading HIGH(5V) or LOW(0V).
Returns TRUE(1) or FALSE(0) depending on the reading.
If/else Statements
The if / else statement allows your code to make corresponding choices
for different results, running a set of code when the logical statement in
parentheses is true, and another set of code when the logical statement
is false. For example, if the button is pressed, the LED will light on
and when the button is released, the LED will light off.
This is another logical operator. The "equal" symbol (==) can be confusing.
The two equal signs are equal to ask: “The two values are equal
to each other? “On the other hand, if you want to compare two values,
don't forget to add a second equal sign, because if it's just a "=",
it's an assignment method.
Is equal to
When you're using a pin as an OUTPUT, you can command it to be
HIGH (output 5 volts) or LOW (output 0 volts). When you set it to HIGH,
for digital output modules, it means work. When you set it to LOW,
for digital output modules, it means don't work. For example, the led will
light on(work) when it is set to HIGH and it will light off(don't work)
when it is set to LOW.
Digital Output

07
Lesson 2 – Vibration detector
Introduction
Crowduino UNO-SD/Arduino UNO x1
Crowtail – Vibration Sensor x1
Crowtail – LED x1
Crowtail – Base shield x1
Crowtail – Cable x2
USB Cable x1
Required Parts
STEP1: Plug the Crowtail-Base Shield
onto the Arduino or Crowduino Board.
Hardware Connection
STEP2: Connect Crowtail-Vibration
sensor to Crowtail-Base Shield D4 port
and Crowtail-LED to D2 port. The
complete connection is as follows:
Open the P02_Vibration_Detector with
Arduino IDE and upload it.
The Crowtail-Vibration Sensor is a high sensitivity non-directional
vibration sensor. When the module is stable, the circuit is turned
on and the output is low. When the movement or vibration occurs,
the circuit will be briefly disconnected and output high. At the
same time, you can also adjust the sensitivity according to your
own needs. It is widely used to report the theft alarm, intelligent
car, earthquake alarm, motorcycle alarm, etc.
In this lesson, we will use vibration sensor and LED to make a
vibration detector that you can use to detect earthquakes and
theft.
Put the Vibration sensor on the table or hold it in your hand and shake it. You will see the LED light
on as you shake. When you stop shaking, the LED will turn off.
What will you see
1. Declare the variables for vibration sensor and LED and assign values to them.
Code overview

08
2. Define whether the module is output or input.
3. Read the value of the vibration sensor.
4. If the value of the vibration sensor is LOW(shaked), turn on the LED.
5. If the value of the vibration sensor is HIGH(not shaked), turn off the LED.
Input or Output: pinMode(vibrationPin,INPUT); pinMode(ledPin,OUTPUT);
Before using one of the digital pins, you need to tell Arduino whether it is an input (INPUT) or an
output (OUTPUT). We use a built-in "function" called pinMode() to make the pin corresponding to the
led a digital output and the vibration sensor module as a input.
If/else Statements: if(logic statement) {code to be run if the logic statement is true}
else {code to be run if the logic statement is false }
The if / else statement allows your code to make corresponding choices for different results, running
a set of code when the logical statement in parentheses is true, and another set of code when the
logical statement is false. For here, if the vibration sensor is vibrating, the LED will light on and when
the vibration sensor is not vibrating, the LED will light off.
Digital Output: digitalWrite(ledPin, HIGH); digitalWrite(ledPin, LOW);
When you're using a pin as an OUTPUT, you can command it to be HIGH (output 5 volts) or LOW
(output 0 volts).
A variable is a placeholder for a value that may change in your code. Variables must be introduced or
"declared" before using variables. Here, we declare two variables that define which ports of the base
shield the module should connect to and a variable called “vibrationState” of type int(integer) and
assign it a value of 0 to record the status of the vibration sensor. Don't forget that variable names are
case-sensitive!
Integer Variables: int ledPin = 2; int vibrationPin = 4; int vibrationState=0;
Code usage
Lesson 3 – Raining reminder
Introduction
The water sensor detects water by having a series of exposed traces connected to ground and
interlaced between the grounded traces are the sensor traces. The sensor traces have a weak
pull-up resistor of 1 MΩ. The resistor will pull the sensor trace value high until a drop of water shorts
the sensor trace to the grounded trace. With the digital I/O pins of Crowduino/Arduino, you can
detect the amount of water induced contact between the grounded and sensor traces.
Indice
Manuali Unità di controllo popolari di altre marche

Festo
Festo Compact Performance CP-FB6-E Manuale elenco delle parti

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Manuale utente

JS Automation
JS Automation MPC3034A Manuale utente

JAUDT
JAUDT SW GII 6406 Series Guida rapida

Spektrum
Spektrum Air Module System Manuale utente

BOC Edwards
BOC Edwards Q Series Manuale utente












