Skip to content

An arduino sketch and corresponding python sniffer to communicate a physical button press and hear it on a USB connected PC.

Notifications You must be signed in to change notification settings

dreed1/ArduinoSerialComms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

#Arduino Serial Comms (with python!)

This repo contains the arduino sketch to run a physical button and connect it to your computer through the serial port. This allows for some pretty creative opportunities, I want to use it to have a one button deploy process for our server but you could make some footswitch or maybe a 'my boss is watching me' button... the possibilities are endless.

Hook up the button on pin #2 and an RGB LED on pins 6,5, and 3 (RGB, respectively) and just use the USB cable. you'll know it works if your LED lights up when you press the button.... should be pink.

fill the python scripts 'doSomeMagic()' function with whatever you want done and finally run the python sniffer with python SerialSniffer.py

note that you can use 2 way communication the make the light do some cool stuff and let you know how the status of your action is going.

About

An arduino sketch and corresponding python sniffer to communicate a physical button press and hear it on a USB connected PC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages