Author: harir949

Arduino and MF52 Thermistor

I bought MF52-103 3435 10K ohm 5% Thermistor from ebay, it is basically a very cheap temperature sensor. You can read very easily values from it with an arduino, all you do is the steps below. Step 1. Circuit Step 2. Arduino code [codesyntax lang=”c”] #include <math.h> double Thermister(int RawADC) { double Temp; Temp = Read More …

DIY alarm with arduino and MMA7361 Accelerometer

To make this diy alarm I use the MMA7361, learn how to use it you can go here. Arduino code. [codesyntax lang=”c”] #include <AcceleroMMA7361.h> AcceleroMMA7361 accelero; //declaration of variables int x,y,z,a,b,c,time1,time2; int sensitivity=12; //i recommend 1-30 long int duration=100000;// duration of the alarm void setup() { //Serial.begin(9600); pinMode(8,OUTPUT); accelero.begin(13, 12, 11, 10, A0, A1, A2); Read More …