Posts

4X4 Keypad Input Display Through OLED

Image
In this tutorial basically we’re going to learn how to take input from keypad and show it on our desired OLED display. For this i would suggest you see my other tutorials as prerequisite Keypad Tutorial and OLED Display Tutorial If you miss these tutorial you might not be able to do this. Step 1: Working With the Oled DIsplay Including Library: 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_SSD1306 (GFX library) The connections from the display: VCC to arduino 5v GND to arduino GND SCL to arduino pin A5 SDA to arduino pin A4 Library Correction : 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) Find and comment out the line: #define SSD1306_128_32 Uncomment the line: #define SSD1306_128_64 Open the ssd1306_128x64_i2c example i…

Home About Contact Using Minim OSD in NAZA

Image
So if you dont wanna break your bank for an iOSD module for you DJI Naza , here are some simple (yet DIY complicated) stuffs to follow. NOTE: TRY AT YOUR OWN RISK (VERY LOW RISK IF YOU FOLLOW THE INSTRUCTIONS PRECISELY WITHOUT ERRORS OR SYNC FAILURE. YET, I AM NOT RESPONSIBLE FOR A FRIED NAZA, THERMONUCLEAR WAR OR YOU NEIGHBORS DEAD CAT DIY project that shall make it possible to connect DJI Naza-M (v1, v1 Lite, v2) with MinimOSD using either: Arduino board (Pro Mini, 16Mhz, 5V) and serial connection (works with DJI Naza-M v1, v1 Lite and v2)Teensy 3.1 board + TeensyDuino (tested with version 1.20) + CAN transciever and CAN connection (works with DJI Naza-M v1 and v2 with PMU, does not work with v1 Lite). I did not test in flight, all the tests were done on the ground. It converts data from Naza GPS/FC data into Mavlink and provides the following information via the MAVLink GPS_RAW_INT, ATTITUDE, VFR_HUD, SYS_STATUS and RC_CHANNELS_RAW messages: latitudelongitudealtitude (barom…

Arduino Cheat Sheet and Pinouts

Image

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) Find and comment out the line: #define SSD1…

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 convert to Fahrenheit float temperatureF = (temperatureC * 9.0 …

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 //If key is not equal to 'NO_KEY', then this key is printed out //if count=17,…