Git Product home page Git Product logo

labox's People

Contributors

pykoon avatar trusty77 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

labox's Issues

Speed shift of a 2 pace between the display of LaBox and the smartphone (EngineDriver or Witrhottle)

Could this disturbing shift of a 2 pace between the display of LaBox and the smartphone be removed ?

Typical sequence :

Power on LaBox
Display On icon
Power on smartphone + EngineDriver
Wifi connexion
Blinking quote on display
Engine 36 selection on EngineDriver
Display 36 pace 2
Hit Arrêt on EngineDriver, EngineDrivershows pace 0 then 5" later 2. Still pace 2 on display
After changing speed and back to 0 with EngineDriver, 5" later 2. Still pace 2 on display.

Hit Arrêt on EngineDriver, and immediately Arrière shows pace 0 on display but 5" later pace 2 on EngineDriver, and still 0 on display.

On the tracks we have the speed which is shown on the display i.e. Stop for pace 0, and 2 for pace 2.
LaBox does not go to 0 with the slide bar of EngineDriver and stays to 2 .

Fonctions F0..F28 stay ON, never OFF on HMI screen and locos

With Withrottle, IOS, fonctions buttons seems to be taken into account:

  • Light : display a star on Oled screen and light is on on the loco
  • F1..F18 : display the number of the last function on Oled

But another press on the button never stop the function

Multiple reference to display driver would make difficult to replace it by a new one.

For the future versions of LaBox (but let finish the current one)

It could be interesting to foresee the use of another display even not I2C (Now : SSD1306Wire.h)

like this 1.44/1.80
https://www.ebay.fr/itm/1-44-1-8inch-TFT-Full-Color-128x160-128x128-SPI-LCD-Display-Module-for-Arduino/193545945157
which needs :
#include <TFT_eSPI.h> // Graphics and font library for ST7735 driver chip
#include <SPI.h>
TFT_eSPI tft = TFT_eSPI(); // Invoke library, pins defined in User_Setup.h
Reference to display should appear in a single point in order to make the change easy.

Integrate AutotestSensor example as a LaBox function which can be reached by a menu choice

The AutotestSensor example allows you to test LaBox in complete autonomy.
The blinking of the lights and the back and forth movements of loco 3 validate its operation.
Incidentally, in the test I did, pin 12 (PIN_BTN_SEL) remained inactive.
It would be interesting to put this autotest as a function accessible from a HMI menu.
Anyone could customize this function whose script is clear.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.