Study of Raspberry-Pi Beagle board arduino and
other microcontroller
The Arduino, Raspberry Pi, BeagleBone and PCDuino may look quite similar
for you, but they are in fact very different devices.
What is Arduino?
The Arduino is a microcontroller. A microcontroller is just one tiny part of
a computer. The arduino can be programmed in C, but can’t run an operating
system.
The Arduino is simply perfect for electronics projects and prototyping. You
can easy connect some LED’s, sensors, motors into the board directly. With
their user friendly board it easy to do that. To program the Arduino you need
their software. Basically with that software you can upload your source code
directly into your Arduino through USB.
After you upload the Arduino code you can unplug the USB cable attach a
battery to your Arduino Board and It will run your program forever.
Guide for Rain Sensor FC-37 or YL-83 with Arduino
The rain sensor is used to detect water and it can detect beyond of what a
humidity sensor do. This article explains how to use the FC-37 rain sensor
module with the Arduino.
The FC-37 rain sensor (or other versions like YL-83) is set up by two pieces:
the electronic board (at the left) and the collector board (at the right) that
collects the water drops, as you can see in the following figure:
The rain sensor has a built-in potentiometer for sensitivity adjustment of the
digital output (D0). It also has a power LED that lights up when the sensor is
turned on and a digital output LED.
How does it work?
Basically, the resistance of the collector board varies accordingly to the amount
of water on its surface.
When the board is:
Wet: the resistance increases, and the output voltage decreases
Dry: the resistance is lower, and the output voltage is higher
Specification:
Raspberry Pi
On the other hand The Raspberry Pi is a complete mini computer. It needs
an operating system to work. All the Storage is provided from a SD
card. You can connect this to your network with an Ethernet Cable.
Below I’ll show the specifications for the Model B.The brain of the Pi is a
ARM1176JZF-S 700 MHz. It has graphics it has a HDMI output. You
can plug in a keyboard and monitor, load up Linux, and the less
technically savvy might have no clue how tiny the machine driving
everything really is. The Pi is an incredibly powerful platform in a very
small package it’s credit card sized and perfect for embedded systems, or
projects requiring more interactivity and processing power.
Optional Light Depend Resistor (LDR) Sensor
The sensor comes with the option to solder a light-depend resistor (light
sensor) if you want your sensor to operate just in dark conditions, for example.
You can get the output of the LDR sensor on the LDR pin. Alternatively,can
also connect the LDR to the CDS pin.
When the output of the LDR is bigger than 0.7V, the OUT pin will output a
HIGH signal when motion is detected. If motion is detected but the output of
the LDR is smaller than 0.7V, the output will be LOW. This means that when
attaching an LDR, the sensor will only sense motion when it’s dark.
You can adjust the sensitivity of the LDR, by connecting a resistor on the R-
CDS pads (see the following section), or by adding a pull-up resistor externally
in parallel with the CDS pin.
In my case, I added a pull-up 22KOhm resistor to the LDR pin so that it could
detect motion when there is low light. Without the resistor, not even in very
dark conditions I had a positive output. You might need to try different
resistance.
At the back of the sensor, there are three pads for additional SMD components
(0805 dimensions):
The following information was taken from this GitHub page.
C-TM: Regulate the repeat trigger time. The default (unpopulated) time
is 2s. An SMD capacitor to extend the repeat trigger time. Pin 3 of the IC
emits a frequency (f), and the trigger time in seconds is given by (1/f) *
32678.
R-GN: The default detection range is 7m, adding a 1M resistor reduces it
to 5m.
R-CDS: Resistor in parallel with the 1M pullup. Without R-CDS, the
lowest resistance of the LDR (i.e. highest light level) where the output is
enabled is ~269kΩ (=0.7V). Adding resistance here decreases the LDR
resistance of the enable/disable threshold. If the LDR resistance at the
desired light level threshold is <269k then you could add an external
resistor in series with the LDR.
Specifications:
BeagleBone Black
It’s similar to a Raspberry Pi but It’s more powerful, Based on the TI Sitara
AM335x, an application processor SoC containing an ARM Cortex-A8 core.
You have more pins to control. They recently won “2013 Top Embedded
Innovator award”.
The BeagleBoard community is perfect for developers and hobbyists.
They also sell other boards that you can see here.
Specification:
What’s The Difference?