author
4CommentsJoined January 21st, 2017

Tell us about yourself!

Complete Your Profile
  • Access control with Arduino + Keypad 4x4 + Servo (UPDATE)

    i want to control 360 servo such that when you press A1 the srvo rotate 60 degrees and A2 it rotate 120 and so oni tried using many codes but none of them is working probably the code is this#include <Keypad.h>#include <Servo.h>Servo myservo; int pos = 0; const byte ROWS = 4; //four rowsconst byte COLS = 4; //four columns//define the cymbols on the buttons of the keypadschar hexaKeys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'}};byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to the row pinouts of the keypadbyte colPins[COLS] = {5, 4, 3, 2}; //connect to the column pinouts of the keypad//initialize an instance of class NewKeypadKeypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); void setup(){ Seri...

    see more »

    i want to control 360 servo such that when you press A1 the srvo rotate 60 degrees and A2 it rotate 120 and so oni tried using many codes but none of them is working probably the code is this#include <Keypad.h>#include <Servo.h>Servo myservo; int pos = 0; const byte ROWS = 4; //four rowsconst byte COLS = 4; //four columns//define the cymbols on the buttons of the keypadschar hexaKeys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'}};byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to the row pinouts of the keypadbyte colPins[COLS] = {5, 4, 3, 2}; //connect to the column pinouts of the keypad//initialize an instance of class NewKeypadKeypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); void setup(){ Serial.begin(9600); myservo.attach(10); }void loop(){ int position; char customKey = customKeypad.getKey(); if (customKey){ Serial.println(customKey); } if(customKey=='1'){ // myservo.write(pos); myservo.write(60); // Tell servo to go to 90 degreesdelay(3000); }

    View Instructable »
  • How to Control Arduino With Smartphone

    Hello, can i want to connect 2 continuous rotational servos with 4*4 keypad, the keypad determine the angle each servos goes tocould you help me with the code please?

    View Instructable »
  • DC Motors Tutorial-2/3: Servo, Brushless and Coreless, Vibration

    Hello, can i want to connect 2 continuous rotational servos with 4*4 keypad, the keypad determine the angle each servos goes tocould you help me with the code please?

    View Instructable »
  • Access control with Arduino + Keypad 4x4 + Servo (UPDATE)

    Hello, can i want to connect 2 continuous rotational servos with 4*4 keypad, the keypad determine the angle each servos goes tocould you help me with the code please?

    View Instructable »