Things used in this project

Hardware components:
102110017%206
MediaTek Labs LinkIt Smart 7688 Duo
×1
RFID reader (generic)
×1
11026 02
Jumper wires (generic)
×1
09590 01
LED (generic)
×1
1260 00
Adafruit Flora RGB Neopixel LEDs- Pack of 4
×1
Texas instruments l293dne image
Texas Instruments Dual H-Bridge motor drivers L293D
×1
Servo (generic)
×1
DC motor (generic)
×1
Hand tools and fabrication machines:
Hy gluegun
Hot glue gun (generic)

Custom parts and enclosures

Smart table small model images
This is just a prototype and anyone can make it using wood, PVC pipes and a hot glue gun with other electronics components.
Img 5142 cuxyytkrts

Schematics

Circuit Without RFID
Please Refer Code for RFID mfrc522 connections.

Will add more pictures of Linkit mediatek smart duo 7688 for better circuits connections.
untitled_sketch_htuibJuQId.fzz

Code

Smart Furniture Small PrototypeArduino
This code is for smart furnitur usiing rfid tag to control Servo motor,Dc motor to control height adjustment of table using L293D with Mediatek Smart duo 7688 Board
#include <SPI.h> //RFID
#include <RFID.h> //RFID Library 
#include <Servo.h> // Servo motor

RFID rfid(9,5); //Connect SDA (RFID MFRC522) to pin 9 of Linkit Media tek Smart Duo and RST Pin to Pin 5

byte userA[5] = {0xF5,0x85,0xD3,0x65,0xC6}; // user C//F5 85 D3 65 C6 //(Security Tag code can be obtained from file >examples > MFRC522> Dumpinfo examples

byte data[5];  //Defining value in data

int servoPin = 6; //analog or orange wire of servo to pin 6 of mediatek smart duo

Servo doorLock; //Use of servo to lock door

 int motorpin1 = 3; // Table Height Adjustment using DC motor and L293D Motor control
 int motorpin2 = 5; // Define Input pin 1 & 2 From motor control to pin 3 & 5
 
//int enablePin = 4; If you want to control on and off of motor 

char d;  // Defining d for motor control using serial monitor or Serial Communication

//int redPin = 11;
//int greenPin = 10;
//int bluePin = 9;

void setup()
{ 
  pinMode(enablePin, OUTPUT);
    // sets enablePin high so that motor can turn on:
  digitalWrite(enablePin, HIGH);
  doorLock.attach(servoPin); // defining door lock to servo pin
  
  Serial.begin(9600);

  SPI.begin(); 
  
  rfid.init(); // Initialzing RFID
  
  pinMode(servoPin,OUTPUT); //Defining servo pin as output
  pinMode(motorpin1,OUTPUT); // Motor pin 1 as output
  pinMode(motorpin2,OUTPUT); // Motor Pin 2 as output
  //pinMode(redPin,OUTPUT);
 // pinMode(greenPin,OUTPUT);
  //pinMode(bluePin,OUTPUT);
}

void loop()
{ 
  
    boolean userA_card = true;  //  Defining ID card As user name you can also add your name
   
    if (rfid.isCard()) { // valid card found
    
    if (rfid.readCardSerial()){ // reads the card
    
      delay(1000);
      
      data[0] = rfid.serNum[0]; // stores the serial number
      data[1] = rfid.serNum[1];
      data[2] = rfid.serNum[2];
      data[3] = rfid.serNum[3];
      data[4] = rfid.serNum[4];
    }
    
      rfid.halt();
      for(int i=0; i<5; i++){
    
      if(data[i] != userA[i]) userA_card = false; 

  }
  
  Serial.println();
 
    if (userA_card){
  
    Serial.println("User A Access granted");
    doorLock.write(0); 
    delay(3000); // wait 5 senconds
    doorLock.write(90);
 }
 
    else {
    Serial.println("Unknown User");  //Wrong person trying to access drawer can add a buzzer for better alerts 
    delay(1000);}
}

    if(Serial.available()>0);

 {
    d=Serial.read(); //Reading values from serial communication for table Height adjustment
    
    if(d=='m') // write m to move table height
 
 {
    digitalWrite(motorpin1,HIGH);
    digitalWrite(motorpin2,LOW);
    Serial.print("motor rotates");
    delay(5000);
    digitalWrite(motorpin1,LOW);
 }
 }
 }

Credits

Fl9twm2lp8z6lfbtlq9u
abhishek n chatrani

mechanical engineer , Entrepreneur & Innovator

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Driving Parameters Analysis System
Advanced
  • 1,486
  • 21

Full instructions

Smart system for analyzing the driving skills of a person using IOT and Cloud Computing powered by Mediatek LinkIt One

Energy Planner
Advanced
  • 238
  • 6

Full instructions

Solar panels produce when there is sun, and during daytime I can earn money with my generated energy. When should I use the washing machine?

Employee safety controller
Advanced
  • 692
  • 10

Work in progress

Safety controller care about employee health

Employee safety controller

Team KNITU-Embedded Lab

Air Quality System using LinkIt ONE and MCS
Advanced
  • 2,300
  • 24

Monitor the Temperature, Humidity, Pressure, Air Quality, Dust particle concentration online & even detect Fire using LinkIt ONE & Sensors.

Pill Machine
Advanced
  • 371
  • 7

Full instructions

Smart way to take medicine without worry schedule, miss medicines or wrong pills

Pill Machine

Team HA Geek

Barbecue Planner with Amazon DRS integration
Advanced
  • 243
  • 5

Full instructions

A barbecue shaped alarm that tells you when it’s going to be barbecue weather. It will order your supplies through the Amazon DRS system.

Add projectSign up / Login