stestet / cableway-backend

Just for fun, just to call myself a 'maker'....

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cableway Toy Project

Einführung / Intro

Das ist das Bastelprojekt für meinen Sohn bei dem es um die Fernsteuerung seiner Holzspielzeug-Seilbahn geht. Die Holzspielzeug-Seilbahn hat 2 Kabinen bei welchen das Zugseil 'bergseitig' via 2 Rollen umgelenkt wird. Via dieser Rollen kann die Seilbahn manuell angetrieben werden. Eine dieser Rolle wird neu durch ein Gleichstrommotor-getriebenes Exemplar ersetzt.

This is the tinkering project for my son which is about the remote control of his wooden toy cableway. The wooden toy cableway has 2 cabins with which the pull cable is deflected 'uphill' via 2 pulleys. The cableway can be driven manually via these pulleys. One of these pulleys is now replaced by a DC motor-driven model.

Was braucht's / What's it take:

Lösungsansatz / Solution approach

Der Raspberry Pi ist als WiFi-Access-Point aufgesetzt auf dem eine Webapplikation gehostet wird (Angular-Frontend mit CherryPy-Backend). Das Smartphone greift via WiFi auf die Webapplikation zu und zeigt im Browser des Smartphones die Bedienoberfläche der Seilbahn an. Steuerbefehle vom Smartphone (z.B. Start, Stopp) werden vom CherryPy-Backend via RPi Motor Driver Board an den Motor weitergeleitet. Die Motor-Bewegungen (links/rechts) sind zeitlich (5s) beschränkt, sprich nach dieser Zeit hört der Motor auf sich zu drehen. Dabei geht es darum, Motorbeschädigungen (z.B. durch Überhitzen) bei Fehlbedienung zu verhindern.

The Raspberry Pi is set up as a WiFi access point on which a web application is hosted (angular frontend with CherryPy backend). The smartphone accesses the web application via WiFi and displays the user interface of the cable way in the smartphone's browser. Control commands from the smartphone (e.g. start, stop) are forwarded from the CherryPy backend to the motor via the RPi Motor Driver Board. The motor movements (left/right) are limited in time (5s), i.e. after this time the motor stops turning. The aim is to prevent motor damage (e.g. due to overheating) due to operating errors.

Solution

Screenshots

Screenshot 1 Screenshot 2

Impressionen / Impressions

Impression 1 Impression 2 Impression 3 Impression 4

About

Just for fun, just to call myself a 'maker'....


Languages

Language:TypeScript 56.9%Language:Python 18.4%Language:HTML 13.8%Language:JavaScript 9.6%Language:CSS 1.4%