DIY Screen Switching Tool for Engineers

Sometimes slacking off is refreshing, but continuously slacking off is even better!

Who can withstand the “996” or “715” work schedule? Even the donkey in the production team wouldn’t dare to work like that; donkeys need rest too. Proper rest can recharge the brain, allowing us to face more challenges and complete our work more efficiently.

DIY Screen Switching Tool for Engineers

When we are surfing the internet and relaxing our brains (not just looking at legs), we need our colleagues to keep an eye on the boss. Even if our colleagues are very reliable and remind us in time, manually switching screens on the keyboard is not only unintelligent but also quite dangerous.
So, I realized I needed to do something…

Materials List

  • DFRobot Leonardo & Xbee R3

  • Gravity: Digital Wireless Switch (433MHz)

  • Gravity: 3-80cm Infrared Digital Obstacle Avoidance Sensor

  • Gravity: Digital Vibration Sensor (Arduino Compatible)

  • NOT Gate

DIY Screen Switching Tool for Engineers
DFRobot Leonardo
The Leonardo uses a separate USB-Serial converter chip, employing the Atmega32u4 single-chip to achieve USB communication and control. The native USB support of Atmega32u4 also allows the Leonardo to emulate a mouse and keyboard.

Circuit Connection

DIY Screen Switching Tool for Engineers
DIY Screen Switching Tool for Engineers
Install the sensor transmitter into a box (you can cut the wires and re-solder them to reduce the size significantly).
DIY Screen Switching Tool for Engineers
DIY Screen Switching Tool for Engineers
Wrap it with stickers (instantly upgrades its appearance).
DIY Screen Switching Tool for Engineers
Connect the receiver to the computer:
DIY Screen Switching Tool for Engineers

Key Functions

Keyboard.press() Select the keys you need to use:

Keyboard.press(KEY_LEFT_ALT);
Keyboard.press(KEY_TAB);

Keyboard.releaseAll() Release the keys to simulate pressing combination keys:

Keyboard.releaseAll();

Usage Testing

When the transmitter detects someone passing by, the receiver automatically switches the screen.

DIY Screen Switching Tool for Engineers

When the vibration sensor is hit, the Leonardo simulates pressing the enter key.

DIY Screen Switching Tool for Engineers

Watch the effect:

Click to see the effect👆

Wake up, friend, you can’t really believe this, right?

Slacking off at work, and the boss is shouting dismissal!!! But I’m not afraid of being fired; I can go work in a factory, I have connections.

Source | DF Maker Community

~END~

Statement: The article is reproduced from the internet, and copyright belongs to the original author! If it involves your copyright, please contact us for deletion!

Recommended Reading:

Resistors: Call us resistors, this is an ancient grievance, more unjust than Dou Er

Can you distinguish between SPI, I2C, UART, I2S, GPIO, SDIO, CAN?

Is domestic TP-Link better than foreign? Once taken apart, it’s really fragrant…

Follow our public account for new knowledge every day!

👇

Leave a Comment

×