Skip to content

xabixab/web2board

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web2board

Native program that connects a website and a Arduino compatible board. It compiles Arduino sketches and uploads them onto a board.

This project has been developed in Python language and it is distributed under GPL v3 license.

Special Thanks

Installing

GNU/Linux Ubuntu

Download and install "web2board.deb"

If user has no access to serial port, execute:

sudo usermod -a -G dialout $USER

Logout from your session to apply the changes

logout

Windows

[TODO]

Development

web2board has been developed in Ubuntu Gnome. If you are a developer and you want to modify the code, contribute, build packages, etc. you may follow this steps:

1. Set up the environment

Tools

Sublime Text 3 IDE

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Arduino IDE

sudo apt-get install arduino arduino-core

Git version control

sudo apt-get install git gitk

Dependencies

Following dependencies are included in deb package, but if you want to install it manually, they are:

Python

sudo apt-get install python-serial 

AVRDUDE

sudo apt-get install avrdude

In order to generate Debian and Windows packages, some extra dependencies are needed

Packaging

sudo apt-get install build-essential pkg-config python-dev python-stdeb p7zip-full curl nsis

2. Download source code

All source code is available on GitHub. You can download main web2board project by doing:

web2board

git clone git@github.com:bq/web2board.git

3. Execute source code

In the project directory, execute the command:

python src/web2board.py

4. Build packages

web2board development comes with a script "package.sh", this script has been designed to run under *nix OSes (Linux, MacOS). For Windows the package.sh script can be run from bash using git. The "package.sh" script generates a final release package. You should not need it during development, unless you are changing the release process. If you want to distribute your own version of web2board, then the package.sh script will allow you to do that.

GNU/Linux Ubuntu

bash package.sh debian     # Generate deb package
bash package.sh debian -s  # Generate sources
bash package.sh debian -i  # Install deb package
bash package.sh debian -u  # Upload to launchpad

Windows

bash package.sh win32  # Generate exe package

GNU/Linux Fedora

[TODO]

Mac OS X

[TODO]

About

Native program that connects a web and a board. It compiles Arduino sketches and uploads them onto an Arduino board.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 74.6%
  • C++ 18.1%
  • Other 3.1%
  • Makefile 1.5%
  • Logos 1.0%
  • Python 0.8%
  • Other 0.9%