Project tutorial

COVID-19 Lazy Work from home HACK © GPL3+

A device to let you hack your work from home for a better sound sleep in the quarantine period of COVID-19.

  • 499 views
  • 0 comments
  • 5 respects

Components and supplies

Apps and online services

About this project

This is a simple project to hack your work from home days in this #covid_19 outbreak. This project is made on @arduino.cc uno board which tap a pen on a keyboard using the SG90 servo motor while keeping you online.

Thanks UTSOURCE.net to offer electronic components for our projects.

Working Video of the device

Code

CodeArduino
Arduino IDE code
// The following code is created by makers of Random Stuff We Make
//For more such content, please follow us on instagram

#include <Servo.h>
Servo myservo;  // create servo object to control a servo

int pos = 0;    // variable to store the servo position

void setup() {
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}

void loop() 
{
  for (pos = 80; pos <= 130; pos += 1)  // goes from 80 degrees to 130 degrees in steps of 1 degree
     
  {
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(5);                       // waits 5ms for the servo to reach the position
  }
  
  for (pos = 130; pos >= 80; pos -= 1) // goes from 130 degrees to 80 degrees
  { 
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(5);                       // waits 5ms for the servo to reach the position
  }
}

Schematics

Schematics
Connect the servo motor to the arduino uno as shown in image
Work from home yuxtakkjdg

Comments

Similar projects you might like

Work Logger - Log Your Daily Work with a Turn of a Knob

Project tutorial by teig

  • 1,672 views
  • 0 comments
  • 19 respects

HOW PIR SENSOR WORK

Project tutorial by DIY Partners

  • 13,844 views
  • 8 comments
  • 44 respects

Sorting Resistors the Lazy Way

Project tutorial by Federico Vivaldi

  • 13,675 views
  • 40 comments
  • 88 respects

Hack of the Future: A Flux Capacitor with OmniPreSense RADAR

Project tutorial by Jim Whitfield

  • 5,703 views
  • 2 comments
  • 17 respects

How to Hack IR Remotes

Project tutorial by Team TATCO

  • 19,773 views
  • 4 comments
  • 91 respects

Arduino Bluetooth Robot for Android Device

Project showcase by aip06

  • 4,905 views
  • 2 comments
  • 19 respects
Add projectSign up / Login