Author Archives: foreglance

Setup 3D printer server OctoPrint on PCDuino

OctoPrint is a server controlling a 3D-printer over web-interface, running on the small computer like Raspberry Pi or PCDuino with Linux OS. If such computer has WiFi or connected to WiFi router within local network (e.g. personal WiFi router at home), the 3D-printer can be controlled and monitored remotely – on PC, tablet or smartphone.

OctoPrint-intro

Continue reading

ForQuilt – assistant for masters of quilt

Logo155

This program looks like regular painting program but in addition it has specific features designed to help masters of quilt:

  • Table for main work and additional table for sketches
  • Drawing lines with mouse or tablet pen
  • Manipulate with lines and images individually or grouping them
  • Take a picture from the web-camera
  • Clone lines in a sequences

Continue reading

Control robot via serial port

Robots can be controlled by a microcontroller (MCU) or a computer installed on-board – autonomous robots, or connected to a computer via communication channel – remotely operated robots. Both approaches have pros and cons:

  • Autonomous robots have everything they need on-board, they do not depend on a quality and bandwidth of communication channels. But they may have limitations on computer performance and size, its not easy to modify controlling algorithms and monitor state.
  • Remotely operated robots can be controlled by more powerful computer, monitoring is available for operator or developer, modification of a controlling program is much easy. But quality and bandwidth of communication channels are critical and limiting part of such system.

Intermediate solution is develop the controlling program on remotely operated robot and when it is completed – setup the program on on-board computer, leaving communication channel only for monitoring which is not such critical.

This article describes how remotely operate a robot where on-board MCU (represented by Arduino) takes care about hardware – controlling motor-drivers, monitoring sensors, providing communication, etc; a remotely connected computer displays monitored data and runs controlling algorithm. Program will be implemented on C++. Platform is Ubuntu.

Continue reading