Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)B
Posts
2
Comments
700
Joined
2 yr. ago

  • Since the posts are about SIM7600, and the example shows, it's probably AT Command. So always newline delimited (either \r or \r\n)

  • I already replied to your other posts but I will also post here for completeness. Your code is consuming the buffer faster than the module could send out data. So your second while loop terminates before the end of the module reply

  • I assume you mean RXD to TX0. As for sporadic packets like that, I'd honestly check for the signal integrity. Maybe somehow the data line is picking up noise high enough to cause disturbance. It could be caused by a lot of things, but the most likely culprit are the connector/cable. Any connection going into/out of pcb should be checked. Or check your timing. Make sure the baud and other config (start, data, stop, parity) are matched. Small drift in baudrate is usually tolerable. UART is designed for async communication after all, meaning that any device may send anytime so CTS and RTS isn't usually needed provided that it is a hardware UART (not bit banging). You can check out Ben Eater video about it. In short, the TX is usually held high, the RX then can detect a falling edge which is a signal that a packet is starting. The UART hardware then processes the signal according to the config that you give it and is usually able to do a DMA transfer.

    Edit: Ahh, after reading the code I suspect that your code processes the data faster than the module can send the full reply. The first loop that you are waiting for the first data to arrive, you immediately process everything in the buffer until it is empty, not knowing that maybe the module has not yet finished transmitting. CTS and RTS would not help since they are used to signal if both devices would like to (or probably could) send / receive data. Not signalling end of data transfer

    Edit 2, the solution: Either parse the received packet until the expected end, or wait until timeout before returning.

  • 3Blue1Brown always puts it best. There are 2 ways to do statistics. The usual / frequentist, and bayesian / belief model.

  • In the context of art, I think it is useful to capture the author's original art as closely as possible when archiving. Especially because art can use wordplay and breaking grammar for the sake of the art.

  • Oh man, that manual is quite descriptive. I wish they could add a schematic or two there. But anyway, as others have suggested, be careful with CRT, but I guess you already know that. Next is from the circuit description, it seems like the display accepts some form or VGA signal without the color. You can see Ben Eater video to learn more about it, especially the line sync and vertical sync signal part

  • Which is why I said it matters for long run. A short cable run would still probably work even if suboptimal.

  • I thought that you mean the color doesn't matter just that they match on the termination point, not as a pair. So you can have C with brown and green for example

  • It matters for longer runs and higher speed. The twist provides noise cancellation effect

  • Also means that it will hopefully protect against malicious actors in between

  • Deleted

    Permanently Deleted

    Jump
  • I wonder how better off a competitor would be if they charge fixed price to both driver and consumer. Like, straight up just take only 2 USD from both. What is the BEP for infra and development?

  • Deleted

    Permanently Deleted

    Jump
  • Correct. From the ruling you don't pirate the book and from other rulings that I remember, AI output can't be copyrighted on their own. Neat isn't it?

  • Oh no, I mean the caps under CPU/GPU sorry

  • Is it because of the very low ESR of the caps that it appears shorted?

  • Also faker.js

  • Deleted

    Permanently Deleted

    Jump
  • Wanting to compete by driving away engineers feels like competing with Boeing to dig deeper

  • Because for big SaaS (international) companies, managing your own infrastructure can be hard or borderline impossible. Each country has regulation regarding data centers, each must have disaster recovery and scheduled backup, each must have redundancy to the max, and many other things to consider when hosting on your own infrastructure. Meanwhile you can use that money to pay developers instead of paying someone to wrestle with server stuff.

  • No, the cat on the left has visibly bigger body and somehow that makes me chuckle

  • It's cute for the two small enough cats. But its funny when its the big cat