ApaBoard 2.2 sensor module

Innen: APA BOARD
A lap korábbi változatát látod, amilyen Bkbadmin (vitalap | szerkesztései) 2017. augusztus 6., 01:56-kor történt szerkesztése után volt. (Rotary encoder switch)

apaBoard v2.2 Sensor module

First tab.
Second tab.
Third tab.
Fourth tab.
This is a seperate tab. It demonstrates what happens if a tab has no inline or block attributes defined. If the tab contains a lot of text, it will automatically be forced to a new line, despite extra space being available at the end of the previous line.
This seperate tab isn't forced to a new line, since it's short enough.
This is a seperate tab that has an inline attribute defined. It will fit in with the text as normal text would, and it fills up any space that is left available after the previous line. This makes tabs with inline attributes a bit better at fitting in with the flow of text.
Despite fitting on the previous line, the block attribute forces this seperate tab to a new line
Forráskód
Alkatrészek

LM393 The Voltage Comparator

Sok kísérlethez használható komparátor IC
A potenciométerrel beállított feszültség értéknek megfelelően kapcsol. Számos kísérleti modul része, ezért általánosítani lehet a használatát.

Infrared Obstacle avoidance sensor: one infrared transmitter and one receiver, the receiver can detect the distance to the obstacles as a analog value and LM393 collect and compare this analog value and output digital value.
TCRT5000 Infrared sensor: Same working principle as the infrared sensor above, but the transmitter and receiver is integrated. Performance is also better.
Microphone sensor: Sound is sensing by the microphone, and send to the LM393, the analog output is not supported for this one, but it still output the digital value to see if the sound is detected or not.
Photosensitive photocell sensor: Light intensity is sensed here by the photocell sensor, the sensor itself output the a analog value, and the LM393 IC here works same to generate a digital output.
Soil Sensor: The sensor itself detects the moisture of the soil, LM393 works same in this case.
Water Drop sensor: the water drop sensor board itself detects how many water drop on the board, when a certain value comparing to the potentiometer is reached, then the LM393 will be trigger in the same way.
To see how to use LM393 IC, here is some schematics based on the sensors describe above, a lot of parts are the same, only a few parts changed around the sensor.

A poenciométerrel beállított feszültség értéknek megfelelően kapcsol
Hall sensor
Infrared-Obstacle-Avoidance-Sensor
Mic sensor
LM393_mic-sound-sensor
LM393_Photocell
Photoresistor night light
Soil-moisture
Temperature sensor
NTC temp sensor

Comparator

Peak Detector


Op amp


SS49E - Hall Sensor - Linear Analog

Dokunemtáció
Videó
Mágneses tér érzékelése
3-5V GND AO

Csatlakoztatni a - VCC - GND - and “Output” egy Analog tüskéhez.

Az észak dél mezők láthatók a Serial ablakban
Output Type Sinking Sinking and Sourcing
gaussmeter

21 hall SS49 PIN.png
21 hall linear.jpg
21 outputgauss.jpg

PDF adatlap
SS49e_Hall_Sensor_Datasheet.pdf
honeywell.com

nr Modul Típus Csatlakozó VCC Kép Ár/HUF link tutorial
22 Hall Sensor Hall Sensor
VCC
GND
Analog OUT
3.3V - 5V bélyegkép‎ 290

TME

Részletek:

23 ss49 2.jpg
23_ss49_3.jpg

Gyártó HONEYWELL
Az érzékelő típusa Hall
Érzékelő típusa bipoláris
Mérési tartomány 650...1000Gs
Tápfeszültség 3...6.5V DC
Átkapcsolási áram 6mA
Üzemi hőmérséklet -40...100°C

Dokumentáció
Technical Specifications Series Name SS39ET, SS49E, SS59ET
Magnetic Actuation Type Linear
Output Voltage 1.0 mV/G min., 1.4 mV/G typ., 1.75 mV/G max.
Output Current 1.5 mA typ.
Output Type Sinking Sinking and Sourcing
Storage Temperature -40 °C to 165 °C [-40 °F to 329 °F]
Response Time 3 µs max.
Switching Time Fall (90 % to 10 %) 1.5 µs max.
Availability Global
Product Type Hall-effect linear sensor IC
Supply Voltage 3 Vdc to 6.5 Vdc
Supply Current 10 mA, max.
Leakage Current 10 µA max.
Operating Temperature -40 °C to 150 °C [-40 °F to 302 °F]
Package Type Flat TO-92-style, 14,5 mm [0.57 in] straight standard leads, 12,7 mm [0.050 in] spacing, 1000 units/bag
Switching Time Rise (10 % to 90 %) 1.5 µs max.
Sensitivity 1.0 mV/Gauss min., 1.4 mV/Gauss typ., 1.75 mV/Gauss max. at 25 °C


/*
GaussPlot
27/12/2011  Arduining.com
Showing Gauss measured by the SS495B in the serial monitor.
(Miniature Radiometric Linear Hall Efect Sensor)
Sensor connected to Analog channel 0.
*/
#define XRANGE  50 
int x,gss;
void setup(){
  Serial.begin(9600);
}   
void loop(){
  int aValue =analogRead(0);
  x = map(aValue, 0, 1024, 0, XRANGE);
  gss = map(aValue, 102, 922, -640, 640);
  Serial.print("|"); 
  for (int i=0;i<x;i++){
    if(i==XRANGE/2-1)Serial.print("|");
    else Serial.print("-");
  }
  Serial.print("O");
  for (int i=x+1;i<XRANGE;i++){
    if(i==XRANGE/2-1)Serial.print("|");
    else Serial.print("-");
  }
  Serial.print("|");
  Serial.print(gss);
  Serial.println("Gauss");
  delay(100);
}
Alkatrészek

IR Sensor

Rotary encoder switch

Dokunemtáció
Videó
Enkóder

KY040.jpg

8 Rotary-Encoder.png

 /*     Arduino Rotary Encoder Tutorial
 *      
 *  by Dejan Nedelkovski, www.HowToMechatronics.com
 *  
 */
 
 #define outputA 6
 #define outputB 7

 int counter = 0; 
 int aState;
 int aLastState;  

 void setup() { 
   pinMode (outputA,INPUT);
   pinMode (outputB,INPUT);
   
   Serial.begin (9600);
   // Reads the initial state of the outputA
   aLastState = digitalRead(outputA);   
 } 

 void loop() { 
   aState = digitalRead(outputA); // Reads the "current" state of the outputA
   // If the previous and the current state of the outputA are different, that means a Pulse has occured
   if (aState != aLastState){     
     // If the outputB state is different to the outputA state, that means the encoder is rotating clockwise
     if (digitalRead(outputB) != aState) { 
       counter ++;
     } else {
       counter --;
     }
     Serial.print("Position: ");
     Serial.println(counter);
   } 
   aLastState = aState; // Updates the previous state of the outputA with the current state
 }

Analog Multiplexer/Demultiplexer - 4051

http://playground.arduino.cc/Learning/4051

http://tronixstuff.com/2013/08/05/part-review-74hc4067-16-channel-analog-multiplexerdemultiplexer/

https://cityos.io/tutorial/1958/Use-multiplexer-with-Arduino

http://modelrail.otenko.com/arduino/multiplexing-photodetectors-to-detect-train-occupancy