Skip to content

Instantly share code, notes, and snippets.

View dsvakola's full-sized avatar
💭
Want help?

DSVAkola dsvakola

💭
Want help?
View GitHub Profile
/* Understanding the use of Serial Monitor & Serial Plotter to measure actual voltage using Arduino */
int potpin = A0;
float pot_voltage = 0;
float actualvoltage;
void setup()
{
Serial.begin(9600);
}
#include <AFMotor.h> // library file included
/**** global declaration ****/
AF_DCMotor RM(3); // Right dc motor connected to M3 socket
AF_DCMotor LM(4); // Left dc motor connected to M4 socket
int trigger = 8; // for US sensor
int echo = 9; // for US sensor
float time = 0; // for US sensor
float distance = 0; // for US sensor
@dsvakola
dsvakola / Arduino nano 5 Channel Quiz Control System with Auto Reset Facility
Last active December 23, 2019 03:33
The 5 channel quiz control system with auto reset facility is a unique project with Arduino nano. There is no need to reset the system everytime by the quiz taker judges panel. It automatically resets after each round of questioning. The code is incomplete given as a sample.
/*
* Arduino Nano based 5 Channel Quiz Controlling System with automatic reset
* Yash Vidyasagar
* www.vsa.edu.in
* Date: 17.12.2019
*
/*
======= Connection details =======
Switches connections:
player1: A0, player2: A1, player3: A2, player4: A3, player5: A4
@dsvakola
dsvakola / Arduino railway crossing automatic gate system
Created December 16, 2019 10:01
The CBSE Regional Science Exhibition 2019 was held at Bhavan’s B.P. Vidya Mandir, Nagpur on 29-30th November, 2019. Constructed by Vidyasagar Academy Akola.
/*
* Railway crossing automatic gate system to avoid accidents
* Emerald School, Akola
* Date: 22.11.2019
*/
#include <Servo.h>
Servo servo1,servo2;
int const trigPin=10;
/* This project is written by Ved Soman
Program of Black Line Following Robot
using ATMega8 microntroller robotic kit
====== For further details about our robotics training
====== visit our website at: www.vsa.edu.in
*/
#define F_CPU 12000000UL
#include <avr/io.h>
@dsvakola
dsvakola / gist:c096cc9a11abcef74ec1d901e9d1b3dd
Created November 26, 2019 11:31
Code of Arduino UNO based Teaching Pendant 4 DOF Robotic Arm in less Jitter Environment of Servos
/*
* This code was developed at Vidyasagar Academy, Akola
* Website: www.vsa.edu.in
* License: you can use it for any purpose as long as
* you don't claim that you are its author and
* you don't alter license terms and formulations (lines 2-8 of this file).
* If you can improve this code, please do so!
* You can contact us on our email addresses.
*/
@dsvakola
dsvakola / coin_sorter_counter_system
Created October 17, 2019 09:59
This is a working model to sort variety of coins with different shapes and sizes. The coins are passed through a narrow channel, with different size holes in it. Below the trey of collection of different coins, a vibrator is used which gives thrust to the pile of coins and they pass through the narrow channel and fall into different collector bo…
/*
* Project of Coin Sorter & Counting Machine
* Designed by: Kaushik Joshi, Tanish Patil,
* Om Sonone, Shreyas Patil and Sarthak Kharote
* Guided by: Prof. Dattaraj Vidyasagar
* Website: www.vsagar.org
* Starting Date: 18.09.2019
* Program Compilation Date: 04.10.2019
* Finalisation Date:
*/
@dsvakola
dsvakola / Simplified_LCD_display_code
Created October 17, 2019 07:19
Simplified code for 16x2 LCD display with Arduino UNO
/*
* The code is used with simplified connections of LCD display 16x2 with Arduino UNO
* Prof. Dattaraj Vidyasagar
*/
#include <LiquidCrystal.h>
const int rs=2,en=3,d4=4,d5=5,d6=6,d7=7;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
int i;
/*
* Single Blinking LED program for Arduino UNO
* Date: 24.11.2018
* Vidyasagar Academy, Akola
*/
int LED=13; // The variable LED is assigned to pin-13
void setup() // Here we define the output or input pin
{
@dsvakola
dsvakola / OEVR.txt
Created July 28, 2018 15:26
Obstacle & Edge Avoiding Robot using Arduino
/*
Arudino Obstacle Avoiding Robot
Vidyasagar Academy, Akola
www.vsagar.org
*/
#define LS 2 // left sensor // left sensor input pin defined
#define RS 3 // right sensor // right sensor input pin defined