Posts

Arduino Cheat Sheet and Pinouts

Image
You can find all the cheat sheets and pinout here.sometimes it really works fine mainly the programming cheat sheets. You can also download the pdf files from here: Arduino-Cheat-Sheet-and-Pinouts

0.96 OLED Display With Arduino & Getting Text From Serial Monitor...

Image
0.96 OLED Display With Arduino & Getting Text From Serial Monitor... Now we start to work with 0.96' OLED Display with arduino and we will try to display text from the serial monitor input... In this tutorial i will show you how to connect and test and write some data from serial monitor to a 0.96" i2c OLED display module to an arduino. Parts: Breadboard and hookup wires Arduino The OLED i2c display The connections from the display: VCC to arduino 5v GND to arduino GND SCL to arduino pin A5 SDA to arduino pin A4 Both libraries below needs to be installed before you are able to continue with this instructable. https://github.com/adafruit/Adafruit_SSD1306 (SSD1306 library) https://github.com/adafruit/Adafruit-GFX-Library (GFX library) Step 2: Correction in Library N Code.. For Adafruit_SSD1306 Library: Go to: C:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306 Open Adafruit_SSD1306.h (in a text editor like Notepad++ for example...

Adjustable Voltage Regulator 317T

Image
Adjustable Voltage Regulator 317T Parts List: 1) LM317T 2) 10uF 3) 0.1uF 4) 240 ohm 5) 50k variable resistor 6) Socket Tools : 1) Solder Iron 2) Solder Paste 3) Rojon Now put your LM317T on your breadboard pin 1 is adjustable voltage, pin 2 output voltage pin 3 is input voltage positive part of the 10uF capasitor should be connected with pin 1 and a 0.1uF capasitor will be connected with pin 3. The positive part of the 0.1uF capasitor should be connected with pin3. and rest of the pin of capasitor is ground. 220 ohm resistor is connected between ground and pin 2. Wiper pin of variable resistor should be connected to pin 1.

LM35 Temparature Sensor With Arduino

Image
LM35 Temparature Sensor With Arduino : Its quite an easy project...Lets Start It... Just connect the LM35 sensor to the arduino and run the code below... CODE : //TMP36 Pin Variables int sensorPin = 0; //the analog pin the TMP36's Vout (sense) pin is connected to //the resolution is 10 mV / degree centigrade with a //500 mV offset to allow for negative temperatures /* * setup() - this function runs once when you turn your Arduino on * We initialize the serial connection with the computer */ void setup() { Serial.begin(9600); } void loop() { int reading = analogRead(sensorPin); // converting that reading to voltage, for 3.3v arduino use 3.3 float voltage = reading * 5.0; voltage /= 1024.0; // print out the voltage Serial.print(voltage); Serial.println(" volts"); // now print out the temperature float temperatureC = (voltage - 0.5) * 100 ; Serial.print(temperatureC); Serial.println(" degrees C"); // now conve...

5V Linear voltage Regulator 1A

Image
5V Linear voltage Regulator 1A Parts List : 1) LM7805 2) 100 nF (ceramic capasitor) 3) 10 uF (electrolite capasitor) 4)100  uF (electrolite capasitor) 5)Breadboard (optional) 6)Vero Board 7) Solder Iron 8) Solder Paste etc.. https://www.instructables.com/id/DIY-5V-Linear-Regulator/ Now put your LM7805 on your breadboard pin 1 is input voltage pin 2 ground pin 3 is output voltage positive part of the 10uF capasitor should be connected with pin3 and a 100nF capasitor will connected with this in parallel. Then the positive part of the 100uF capasitor should be connected with pin1. The circuit is done.

Arduino & 4x4 Matrix keypad

Image
                              4x4 Keypad Pinout/Diagram Arduino to Keypad Connection Diagram After connecting as shown here we need to upload a code on our arduino. Here's the  Code : #include <Keypad.h> const byte numRows= 4; //number of rows on the keypad const byte numCols= 4; //number of columns on the keypad char keymap[numRows][numCols]= { {'1', '2', '3', 'A'}, {'4', '5', '6', 'B'}, {'7', '8', '9', 'C'}, {'*', '0', '#', 'D'} }; byte rowPins[numRows] = {9,8,7,6}; //Rows 0 to 3 byte colPins[numCols]= {5,4,3,2}; //Columns 0 to 3 //initializes an instance of the Keypad class Keypad myKeypad= Keypad(makeKeymap(keymap), rowPins, colPins, numRows, numCols); void setup() { Serial.begin(9600); } //If key is pressed, this key is stored in 'keypressed' variable /...