ARTech

ARTech

Share

We are capable of doing university level project in Arduino Development board and PIC(Peripheral Interface Controller) micro controller.

Pulse Width Modulation Based on Analog Input using PIC18F2550 07/08/2018

http://ahamod-artech.blogspot.com/2018/08/pulse-width-modulation-based-on-analog.html

Pulse Width Modulation Based on Analog Input using PIC18F2550 Hello people in this project I will discuss an interesting topic. The main focus will be on PWM (Pulse Width Modulation), though I hav...

Photos from ARTech's post 02/03/2017

Introductory seminar on Arduino and Embedded System at St. Gregory's High School and College.

21/02/2017

Real Time Clock using PIC 16F877 and DS1307 Module.

Obstacle Avoiding Robot Car Code:

#include 

/* 
   The circuit:
  * VCC connection of the sensor attached to +5V
  * GND connection of the sensor attached to ground
  * TRIG connection of the sensor attached to digital pin 2
  * ECHO connection of the sensor attached to digital pin 4
 */

int DistanceIn;
int DistanceCm;
int FrontDistance;
int LeftDistance;
int RightDistance;

#define LM1 11                    // Left Motor
#define LM2 10                    // Left Motor
#define RM1 9                     // Right Motor
#define RM2 6                     // Right Motor

#define leftled 12         // Left Led
#define rightled 13        // Right led
/*-----( Declare Constants and Pin Numbers )-----*/

#define TRIGGER_PIN  2
#define ECHO_PIN     4
#define MAX_DISTANCE  20                                 // Maximum distance we want to ping for (in centimeters).
                                                         //Maximum sensor distance is rated at 400-500cm.
/*-----( Declare objects )-----*/
NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE);      // NewPing setup of pins and maximum distance.
/*-----( Declare Variables )-----*/

void setup()   /****** SETUP: RUNS ONCE ******/
{
  Serial.begin(9600);
  Serial.println("Obstacle Avoiding Robot");
  Serial.println("Developed By Ahamod Ibne Abdur Rouf");
  pinMode(LM1, OUTPUT);
  pinMode(LM2, OUTPUT);
  pinMode(RM1, OUTPUT);
  pinMode(RM2, OUTPUT);
  pinMode(leftled, OUTPUT);
  pinMode(rightled, OUTPUT);
}//--(end setup )---

void loop()   /****** LOOP: RUNS CONSTANTLY ******/
{

  delay(100);                       // Wait 100ms between pings (about 10 pings/sec). 29ms should be the shortest delay between pings.
  DistanceCm = sonar.ping_cm();
  Serial.print("Ping: ");
  Serial.print(DistanceCm); 
  Serial.println(" cm");
  
  FrontDistance = DistanceCm;
  
  if ( (FrontDistance 04/02/2017

Obstacle Avoiding Robot Car Code: #include /* The circuit: * VCC connection of the sensor attached to +5V * GND connection of the sensor attached to ground * TRIG connection of the sensor attached to digital pin 2 * ECHO connection of the sensor attached to digital pin 4 */ int DistanceIn; int DistanceCm; int FrontDistance; int LeftDistance; int RightDistance; #define LM1 11 // Left Motor #define LM2 10 // Left Motor #define RM1 9 // Right Motor #define RM2 6 // Right Motor #define leftled 12 // Left Led #define rightled 13 // Right led /*-----( Declare Constants and Pin Numbers )-----*/ #define TRIGGER_PIN 2 #define ECHO_PIN 4 #define MAX_DISTANCE 20 // Maximum distance we want to ping for (in centimeters). //Maximum sensor distance is rated at 400-500cm. /*-----( Declare objects )-----*/ NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); // NewPing setup of pins and maximum distance. /*-----( Declare Variables )-----*/ void setup() /****** SETUP: RUNS ONCE ******/ { Serial.begin(9600); Serial.println("Obstacle Avoiding Robot"); Serial.println("Developed By Ahamod Ibne Abdur Rouf"); pinMode(LM1, OUTPUT); pinMode(LM2, OUTPUT); pinMode(RM1, OUTPUT); pinMode(RM2, OUTPUT); pinMode(leftled, OUTPUT); pinMode(rightled, OUTPUT); }//--(end setup )--- void loop() /****** LOOP: RUNS CONSTANTLY ******/ { delay(100); // Wait 100ms between pings (about 10 pings/sec). 29ms should be the shortest delay between pings. DistanceCm = sonar.ping_cm(); Serial.print("Ping: "); Serial.print(DistanceCm); Serial.println(" cm"); FrontDistance = DistanceCm; if ( (FrontDistance

Want your business to be the top-listed Engineering Company in Dhaka?
Click here to claim your Sponsored Listing.

Telephone

Website

Address


Agargaon Taltola
Dhaka
1207