Giter VIP home page Giter VIP logo

Comments (5)

jamarju avatar jamarju commented on August 16, 2024

On main.c, where it says:

        if ((capsensor_is_button_pressed() || extrigger_read()) && !heartbeat_outage()) {
            switch_toggle();
        }

do:

        if ((capsensor_is_button_pressed() || extrigger_read()) && !heartbeat_outage()) {
            switch_on();
            CLK_125KHZ();
            DELAY_125KHZ(pulse time in ms);
            CLK_4MHZ();
            switch_off();
        }

CLK_125KHZ momentarily underclocks the PIC to minimize power usage during the pulse.

(not tested).

from livolo-firmware.

DG0JG avatar DG0JG commented on August 16, 2024

Hello Jamarju
Unfortunately I have problems with the firmware
I exchanged the PIC for a new one to have the original one
I compiled your firmware and transferred it with an ELNEC programmer via the ISP port
After the transmission and installation in the existing power board, the red LEd lights up briefly and the blue lights are constantly lit.
Unfortunately, however, via the sensor keys no switching possible
do you have an idea what it could be?
I will try again tomorrow with a PICKit3 to program

regards
Stephan

from livolo-firmware.

jamarju avatar jamarju commented on August 16, 2024

from livolo-firmware.

DG0JG avatar DG0JG commented on August 16, 2024

Hello Jamarju
the software works with the PicKit3
but two small problems are
I have the version with two relays (where would I change something?)
And the relay should wear as long as I press on the sensor surface
short on the sensor surface short pulse
long on the sensor surface press long pulse

could you help me there?

regards
Stephan

from livolo-firmware.

jamarju avatar jamarju commented on August 16, 2024

from livolo-firmware.

Related Issues (4)

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.