/RemoteMicrocontrollerLab

A set of PHP files, scripts and database to allow remote users to edit programs, upload code and access the serial port of real microcontrollers.

Primary LanguageJavaScript

RemoteMicrocontrollerLab

A set of PHP files, scripts and database to allow remote users to edit programs, upload code and access the serial port of real microcontrollers.

Screenshot

Setup

Features

  • Fully web based solution
  • Online web editor
  • Examples
  • Real time access to the device LEDs, surrounds using a webcam available with motion
  • Usage control with scheduling / with / without authorization
  • Real time access (full duplex) to the device's serial port using a web-base remote terminal (connected to the device's serial port)
  • Transparent remote code upload using avrdude or esptool from the web-browser

Tested with Arduino and ESP8266 boards. It would be easy to use with mBed / STM32 boards using UF2 bootloader

Dependencies

Installation / dependencies

  1. On a Linux machine, install Apache + MySQL + PHP and Apache+PHP+MySQL modules, if you still don't have it
  2. Install luxcal (https://www.luxsoft.eu/index.php?pge=dload) on /var/www/html/agenda folder (tested with luxcal 479)
  3. Configure luxcal database and SMTP. Test your calendar install and if approved events are senging email
  4. Install and configure motion
  5. Download and copy CodeMirror (codemirror-5.58.1) to /var/www/html/codemirror-5.58.1
  6. Download and copy http://xem.github.io/hex to /var/www/html/editor/network/hexEditor

Prof. Ricardo Menotti adapted it to work with FPGA devices, allowing synthesis, upload and test of FPGA devices remotely