VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
ย
About sensor and interface raspberry pi with arduino
1. Compile by Mayur khatri
1. About Arduino microcontroller
๏ท Arduino is open source microcontroller and software
development environment and easy to use and understand
hardware and software. Arduino is a single board
microcontroller has programming language is a simple โCโ and
โC++โ type programming language.
๏ท It has facility to GDM, and Bluetooth, motor and other facility.
1.1. Connecting an analog sensor to Arduino
Itโs a one of the big advantages on the raspberry pi Arduino have in
built adc converter this help to interface directly analog sensor (for
power [voltage and current] temperature etc. measurement)
The analog signal will be converted in levels by the Arduino. The
Arduino works with 1024 levels, where level 0 is 0V, level 1023 is 5V.
This means that each level is fixed in 4.8 mV (milliVolt). That is the
value of the maximum accuracy you will obtain from your system.For
example
Sr.no Measurement
quantity
Sensor name Operating
voltage
range
1. current Hall effect
ACS 712
5v dc +30A to -
30A
2. temperature DS18B20 3.0V to
5.5V
-55ยฐC to
+125ยฐC
1.1.3 Interface Arduino with Raspberry pi
๏ท CONNECT RASPBERRY PI AND ARDUINO WITH SERIAL USB
CABLE
2. Compile by Mayur khatri
There are many ways of connecting the Raspberry Pi and Arduino,
such as using the GPIO and Serial pins and using I2C. But this could
be one of the easiest ways to get them, because hardware that
required is minimal: we will need is a micro USB cable that comes
with the Arduino.