Git Product home page Git Product logo

hanimandl's People

Contributors

amotl avatar andreash-esp avatar clemensgruber avatar dependabot[bot] avatar rallef80 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hanimandl's Issues

Using PlatformIO on Windows natively

Dear Clemens,

#8 adds a wash & go build command for *nix environments, it should work out of the box for Linux and macOS. However, I would be interested if we can make this also work on Windows without any significant efforts.

So, by following [1,2,3], the setup might be as easy as:

Install prerequisites

# 1. Install Chocolatey
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command " [System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

# 2. Install Python
choco install python --version=3.8.6

# 3. Install PlatformIO
pip install platformio

Acquire sources

Build firmware

platformio run

With kind regards,
Andreas.

[1] https://chocolatey.org/docs/installation
[2] https://chocolatey.org/packages/python/3.8.6
[3] https://docs.platformio.org/en/latest/core/installation.html#python-package-manager

Random crashes when using the rotary encoder

Compiled the code and flashed it on the Heltec. The program starts and when I try to change settings the response is very slow and by using the rotary encoder the program crashes at a random point.
The serial monitor shows some kind of exception in the task scheduler.
Going to investigate the reasons and post the error message later.

Weight cell readings show crazy values (-2147..g)

You get crazy reading, no change in weight and you had checked your pinning twice?
It might be related to an internal overflow - please test if a calibration AND a tara procedure (see -> setup) helps

Use newer Version of ESPServo library (at least for Heltec Wifi V3 Boards)

Hello Everyone!
In the platformio.ini which is provided with the project the defined environment uses the board "heltec_wifi_kit_32" together with the library ESP32Servo@^0.9.0

Recently the old Heltec Wifi Boards (V2) are not longer purchasable. So new buildups probably are mostly realized with the newer Heltec Wifi Boards (V3). But with these Boards, the Library ESP32Servo is not working in Verison 0.9.0. Instead at least Version 0.12.1 needs to be used together with Heltec Wifi V3. If not, the Servo is not moving at all.

Therefore i would recommend to update the platformio.ini for the default use of the Heltec Wifi Boards (V3) boards together with ESP32Servo in Version 0.12.1.

In Platformio it is possible to define development environments for various boards. So maybe it is a good idea to define a additional environment for the newer boards and also define a default environment which should be used. This would look like this:

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
src_dir = .
default_envs = heltec_wifi_kit_32_v3

[env:heltec]
platform = espressif32
board = heltec_wifi_kit_32
framework = arduino

monitor_speed = 115200

lib_deps =
    HX711@^0.7.4
    U8g2@^2.28.6
    ESP32Servo@^0.9.0


[env:heltec_wifi_kit_32_v3]
platform = espressif32
board = heltec_wifi_kit_32_V3
framework = arduino

monitor_speed = 115200

lib_deps =
    HX711@^0.7.4
    U8g2@^2.28.6
    ESP32Servo @^0.12.1

Another solution could be to use the newer Library ESP32Servo @^0.12.1 for all types of boards and keep going with a simpler platformio.ini. But i could not test at the moment if this version of ESP32Servo works for all types of boards.

Abgebrochenen Autostart besser kenntlich machen

Ein zu schweres Glas kann beim Aufsetzen kurzzeitig die "Start" Meldung auslösen, führt dann aber zum Abbruch des Autostart, weil das Glas ausserhalb der Toleranz ist.

Das führt zu dem Eindruck, dass das Gerät nicht funktioniert, weil dieser Zustand nicht zurückgemeldet wird.

Mögliche Lösungen:

  • Dokumentieren
  • Auf stabile Gewichtsmessung warten
  • Meldung bei Abbruch

Idea: low batt warning

I run my Hani Mandl on a Heltec board via USB power supply. Sometimes I use a power bank as power source. That's why I thought about a litte soft- and hardware addition:

  • use one of the A/D pins with an appropriate voltage divisor to measure the "5V" voltage
  • test for the voltage every 60 seconds and
    • warn, if the voltage droppes below 4.5 V
    • close the servo and stop operation with appropriate screen message
      This would prevent running low on battery while the servo is open.

Servohalter/Heilbronn ist krumm. Soll das so sein? :)

Hi,

ist mir nur aufgefallen, weil ich es zu dieser Seite auf dem Druckbett ausgerichtet hatte. Ist irgendwie krumm der Servohalter von der Heilbronn Variante. Soll das so sein? Ist das erste Mal, dass ich den Bausatz drucke. (Die Pfeile sind zur Verdeutlichung)

grafik

Danke & Gruß

Make wiring compatible for the WiF LoRa 32 also

The Heltec WiF LoRa 32 is, beside the WiFi only version, a widespread board. So it may be that people have this laying around and want to use is also for the HaniMandl. Check used pins to get not in conflict with the already used pins for LoRa.

Öffnungswinkel speichern

Der zuletzt über den Drehgeber eingestellte Öffnungswinkel wird aktuell (V0.2.9) nicht abgespeichert.

Ein sinnvoller Workflow wäre, in den Servoeinstellungen die geometrischen Anschläge zu hinterlegen, und mit dem Drehregler "zur Laufzeit" / zur Abfüllzeit den passenden Öffnungswinkel anzupassen - abhängig von Honigsorte, Temperatur, Füllstand.

Poti does not work correct randomly

The potentiometer should e.g. adjust the opening angle or act as menu item selector. It is not working randomly an my hardware setup. Don't know if this is a hardware issue or a software bug.

What I did:

  • used an other poti
  • used an other pin 34 instead of pin 39 because pin 39 has some capacitors build in
    but without any change.

Missing License

This project should include a license such like the MIT or the GPLv3 license to protect your work appropriately.

Add option for choosing rotation direction in setup

You recently added my design suggestion with a gear arm.
(https://github.com/hiveeyes/hanimandl-hardware/tree/main/variants/variante-5_dresden)

In order to be able to use this design, the option "#define QUETSCHHAHN_LINKS" must always be activated in the source code. However, this will only be possible for people who are confident in programming. For this reason, the question is: Could you possibly offer compiled versions for this direction of rotation in future releases, or even better: Could you also make the direction of rotation selectable in the setup? I think that would considerably reduce the hurdles to rebuild the geararm-desgin.

Add support for Over The Air Update (OTA)

Hello,
it would be great if you could add OTA support so you don't have to remove your controller from the case.

Idea:
WLAN, AP Mode and Password can be activated temporarily in the config menu.

Uploading a finished image via browser should also work, because the config values are stored in the corresponding part of the controller.

Many thanks & greetings

Heltec WiFi Lora32 Board

I slightly modified the hardware (pull up resistors) and the pin out, so the code runs on a heltec wifi lora32 board. Is this of interest for you?

Fehler im Counter

Speichern in Preferences prüfen

Bug in der Automatik:

  • Aktiver Autostart zählt den Counter hoch wenn das Glasgewicht überschritten wird, auch wenn der Servo nicht aktiv ist.

Add support for TTGO T-Display

Hi there,

based on #21, we might want to add first-citizen support for the TTGO T-Display, see also [1] and [2]. I will try to get some slot for that together with @ClemensGruber. Thanks already for outlining the nitty gritty details to be considered on the implementation side within [2].

With kind regards,
Andreas.

[1] https://community.hiveeyes.org/t/ttgo-t-display-als-alternative-zum-heltec/3733
[2] https://community.hiveeyes.org/t/prototypische-verwendung-des-ttgo-t-display-als-hanimandl-board/3830

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.