GithubHelp home page GithubHelp logo

Comments (11)

alexrus avatar alexrus commented on August 9, 2024 1

I encountered this issue a few times in the past, but it was totally random, so I investigated a bit and the issue is that I'm waiting for a stream of data from maraX in the correct format, but the machine sends it otherwise. This can happen if the machine sends the endMarker (\n) during the transmission

We read it here: https://github.com/alexrus/marax_timer/blob/main/timer/timer.ino#L60

take a look here (https://github.com/alexrus/marax_timer/blob/main/timer/timer.ino#L74) and see how the data is coming back from the machine

from marax_timer.

Coolby81 avatar Coolby81 commented on August 9, 2024

I have seen same things but very rarely only when I turn on or off the machine and for a very short time.

from marax_timer.

rubdom avatar rubdom commented on August 9, 2024

I get the same during brewing. It could be caused by being underpowered? I haven’t tried to swap the power supply yet.

from marax_timer.

natewalck avatar natewalck commented on August 9, 2024

I'm using the microusb for power with an iPhone charger plug. Not sure if this is sufficient or not, but I believe it has enough amps.

from marax_timer.

Coolby81 avatar Coolby81 commented on August 9, 2024

I would guess it is more of an issue on the maraX side, probably false reading from the sensors or bad characters in the simple text message. Somehow the raw data should be checked.
I am also using a simple power supply from a wyze cam now. And I am powering through the pins and not through the usb port of the esp.
I had issues with flashing led (same as when the pump is running and the reed is active) even if the machine was turned off. I had the machine and the esp on the same 3-way socket with own usb outputs, so that I can turn everything on and off with a smart plug. But somehow the esp was flashing even with no power on it. So I swithed the socket usb port to a wyze power supply and the issue seems disappearing.

from marax_timer.

natewalck avatar natewalck commented on August 9, 2024

I was thinking the same on junk in the serial data. If we filter junk out, then that could lead to a less frequent update depending how many bad bytes we get. I guess this is acceptable for me anyways as I mainly use it to confirm I am up to temp. I may give that a try and do a PR.

from marax_timer.

alexrus avatar alexrus commented on August 9, 2024

I am powering my esp from an old iPhone charger, should have plenty of power for what it needs

from marax_timer.

natewalck avatar natewalck commented on August 9, 2024

Looks like I am getting the following over serial:

$⸮/�⸮�⸮s⸮�C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
C123b,120,112,097,0000,0
⸮⸮�120,112,097,0000,0

Every now and again we get a ⸮⸮�119,112,097,0000,0

PR #6 Should handle this case in a quick a dirty way.

from marax_timer.

natewalck avatar natewalck commented on August 9, 2024

Interestingly enough, it worked perfectly when plugged up to the laptop, but now that it is back on a power brick, its doing the same exact thing 🙄

I'll poke it some more.

from marax_timer.

natewalck avatar natewalck commented on August 9, 2024

Here is more info on this. Plugged into my laptop, it works perfectly. Plugged into a power brick, it does the funky behavior.

Laptop:
https://www.dropbox.com/s/mb9nw8q6npp0grh/IMG_3086.MOV?dl=0

5V 2.4A iPad charger:
https://www.dropbox.com/s/2xqdkp0xxps8i96/IMG_3085.MOV?dl=0

😕 The only real difference I can think of is that on the laptop, it is attached as a serial device. I tried commenting out all the Serial.println calls and that didn't change this at all.

from marax_timer.

natewalck avatar natewalck commented on August 9, 2024

Alright, should be the final update on this:

Even the 5V 2.4A plug was not enough. I used a Anker QI USB brick that I had kicking around and the display issues instantly disappeared. I wonder if the other plugs were also more dirty, electrically.

from marax_timer.

Related Issues (13)

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.