Skip to content

trevorwslee/DDWifiBridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DumbDispaly WIFI Bridge

DDWifiBridge (DumbDispaly WIFI Bridge) is a tool that accompanies DumbDisplay Arduino Library. Hence, you might be interested in DDWifiBridge in the context of it -- https://github.com/trevorwslee/Arduino-DumbDisplay

Description

Very likely you will be using your desktop computer (Windows) for Arduino development, which will be connecting to your Arduino board via Serial connection. Wouldn't it be nice to be able to connect to DumbDisplay similarly, via the same USB connection as well?

Yes, you can do exactly that, with the help of the simple DumbDisplay WIFI Bridge Python program -- tools/DDWifiBrideg/DDWifiBridge.py. DumbDisplay WIFI Bridge acts as a "bridge" / "proxy" between your Ardiono board (Serial connection) and your mobile phone (WIFI connection).

When running the DumbDisplay WIFI Bridge, on one side, it connects to your Arduino board via Serial connection, similar to how your Arduino IDE connects to your Arduino micro-controller board. At the same time, it listens on port 10201 of your desktop, allowing DumbDisply to establish connection via WIFI. In other words, your desktop computer port 10201 is now a "bridge" / "proxy" to your Arduino DumpDisplay code.

Notes:

  • Can install DumbDisplay WIFI Bridge using PIP like
    pip3 install git+https://github.com/trevorwslee/DDWifiBridge.git
    
  • DumbDisply WIFI Bridge makes use of the PySerial library, which can be install like
    pip3 install pyserial
    
  • Can run DumbDisply WIFI Bridge as a command-line tool (without UI). Simply call it with necessary arguments like "port" (-p / --port=), "baud" (-b / --baud=), and "wifi port" (-w / --wifiport=), like
    python3 -m DDWifiBridge --port=COM5 --baud=115200
    
  • In Linux, acessing serial port will need special access right; you can grant such right to yourself (the user) like
    sudo usermod -a -G dialout <user>
    
  • My own experience shows that using a slower serial baud rate (like 57600 or even lower like 9600) will make the connection more stable.
  • If DumbDisplay fails to make connection to DumbDisplay WIFI Bridge, check your descktop firewall settings; try switching desktop WIFI to use 2.4 GHz.

Thank You!

Greeting from the author Trevor Lee:

Be good! Be happy! Peace be with you! Jesus loves you!

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages