Square Inductive Proximity Metal Switch Sn04 N Dc Three Wire Npn Normally Open No Sensor Sensor
Rs. 85.00 Rs. 97.00
- Product Code: SEN-METAL
- SKU -
- Availability: In Stock
- Price in reward points: 2
- For Bulk Order
9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS:
Model :SN04-N NPN-NO
Type :Inductive
Detection distance :5 mm
Output Type :NO(Normally Open)
Operating Voltage (VDC) :10 ~ 30
Current Consumption (mA) :5
Cable Length (Meter) :1.5
Material :ABS Plastic
Operating Indicator :Red LED
OVERVIEW:
Operating Voltage(V) :10 ~30
Current Consumption Max :5 mA
Detection distance(mm) :5 mm.
Type of detection :Inductive.
Cable Length :145 cm.
Response Frequency :500Hz Max.
Protection class :IP 67.
PACKAGE INCLUDES:
1 PCS x Square Inductive Proximity Metal Switch Sn04 N Dc Three Wire Npn Normally Open No Sensor Sensor
//SOURCE CODE TAKEN FROM BELOW LINK
//https://www.codrey.com/arduino-projects/arduino-tachometer/
/*
* Arduino Tachometer (for beginners)
* uC Hardware: Arduino Uno R3 & DFR0009 LCD Shield
* Sensor: SN04-N Inductive Proximity Sensor
* Prepared & Tested by T.K.Hareendran
* Publisher: Codrey Electronics
*/
#include <LiquidCrystal.h>
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); // Pins assigned for DFR0009
volatile uint32_t rev; // Revolution Count
unsigned long measureTime = 0;
void setup() {
pinMode(2, INPUT); // Interrupt 0
// pinMode(2, INPUT_PULLUP); // Internal Pull Up*
lcd.begin(16, 2);
lcd.print("***TACHOMETER***");
delay(500);
attachInterrupt(0, addRevolution, FALLING);
}
void addRevolution() {
rev++;
}
void loop() {
delay(1000);
noInterrupts();
uint32_t rpm = rev * 60000 / (millis() - measureTime);
rev = 0;
measureTime = millis();
interrupts();
lcd.setCursor(0, 1);
lcd.print(rpm);
lcd.print(" RPM ");
}
15 days