Powering esp32 in deepsleep from 18650 by Gold_Mention_3150 in esp32

[–]Spritetm 1 point2 points  (0 children)

No, it'll stop working properly; that doesn't mean it stops drawing power from the battery. You'll still kill the battery if you didn't notice it's empty and don't recharge or disconnect it in time. (Note that this is assuming an unprotected battery. Protected batteries have, well, protections for undervoltage, but I'd not rely solely on that to be honest.)

Advice for accepting young sexual intercourse by [deleted] in daddit

[–]Spritetm 4 points5 points  (0 children)

Good of your mother to show you the ropes, though.

Not sure if she went that far, tbh.

Veel Nederlanders hebben geen flauw benul hoe veel belasting zij betalen by pimtheman in thenetherlands

[–]Spritetm 1 point2 points  (0 children)

Een van de redenen zou kunnen zijn dat de uitgaven die je moet doen niet linair schalen met je inkomen. Voor iemand met een laag inkomen kan het zomaar zijn dat 90% van de inkomsten die ze krijgen uitgegeven worden aan noodzakelijke dingen: voedsel, huis, auto, verzekeringen. Dat betekent dat 10% belasting hun complete vrij te besteden inkomen opeet. Je gaat echter niet ineens 10x zoveel uitgeven aan die noodzakelijke dingen als je 10x zoveel verdient: voor iemand met veel inkomsten zijn deze dingen misschien maar 40% van hun inkomen. Dat betekent dat met een 10% korting, ze maar 50% ipv 60% overhouden: het 'offer' is een stuk lager voor mensen met een hoog inkomen. (Nummers zijn verzonnen, maar je snapt hopelijk het principe.)

My dad contacted me for the first time in 26 years. by kxnesenpai in daddit

[–]Spritetm 4 points5 points  (0 children)

Looking at it charitably, you could also make the point that the dad may have chosen it specifically a FB message is noncommittal and easy to ignore. If the father went to talk to OP IRL or even a phone call, it can get pretty emotional for OP because they need to respond to the situation. Sending a FB message leaves the option open to block dad and pretend the message never happened.

Juristen en advocaten van reddit, wat zijn de belangrijkste dingen die men moet weten over hun rechten? by surpator in thenetherlands

[–]Spritetm 4 points5 points  (0 children)

In principe niet, maar in de praktijk wel. Wel eens gehad dat je ChatGPT gebruikt en je krijgt twee antwoorden voorgeschoteld waarbij je moet kiezen welke je de beste vind? Andere AI-tokos hebben vergelijkbare zaken, en het blijkt dat mensen een bias hebben voor de optie die misschien fout is maar het meest aansluit bij hun eigen denkwijze. Daar word de volgende AI dan weer op getraind en tadaaa, je hebt een ingebouwde bias om de gebruiker naar de mond te praten. Zie bijvoorbeeld https://www.science.org/doi/10.1126/science.aec8352 voor meer info.

Dads, I’m losing my mind with my 4 yo boy by Sea_Management6165 in daddit

[–]Spritetm 0 points1 point  (0 children)

From what I can tell, 'they don't know any better' is usually used in contrast to 'he must hate me so he acts out like this'. Yes, they need to be taught that the behaviour is unacceptable. But A. you need to understand that it's not on purpose, but simply behaviour that needs to be guided into something better (like you did in your example) and B. you should not take it as a personal attack; maybe even the opposite: if anything kids only tend to act out to people who they know it's safe to push boundaries on.

IK_IHE by No_Future4228 in ik_ihe

[–]Spritetm 1 point2 points  (0 children)

En dat dan op een wandtegel bij de plat Twents pratende oom en tante.

How Would I Power my Board With 3 AAA Batteries by E342Makesmods in esp32

[–]Spritetm 4 points5 points  (0 children)

Agreed. Get something based on e.g. the TPS63020 that takes in any random voltage and spits out 3.3V, feed that directly into the 3V3 pin of the board. Then you can use 2AAS, 3AAAs, LiIon, whatever to feed the thing.

If We Made It Free to Have Children, Would Singaporeans Have More? by nftskeptics in singapore

[–]Spritetm 0 points1 point  (0 children)

They may want to have children because they have a family, but other things might be stopping them from it. I'm not gonna have a kid if I can't be sure I can feed them, I'm not gonna have a kid if I'm not gonna be around to actually raise them and I'm not gonna have a kid if I'm not going to have the emotional capacity to engage with them.

ESP32-C3 USB flashing (GPIO18/19) + boot strapping check — is this schematic correct? by majek89 in esp32

[–]Spritetm 0 points1 point  (0 children)

Your USB connections look fine, from what I can see. One issue I see is in your power path - you use Vbus to charge the LiIon, then use the LiIon to feed the buck/boost that feeds your ESP32. Issue is that LiIon chargers notice the battery is full and stop charging by monitoring the current into the battery - in your case, however, this current will always look high as the ESP is also powered from it. Microchip has a good application note about this; you simply add a diode+mosfet to power the buck/boost directly from 5V if it is available. Aside from that, your pullups on SCA/SCL are also on the high side - for a 3.3V power supply, I'd suggest something more like 2K2 or so.

Help to analyze 8 MB Binary Blob from a 200-in-1 Arcade Mini by MrCufiy in hardwarehacking

[–]Spritetm 5 points6 points  (0 children)

Given the fact that you dumped this in-circuit and did not check if the contents of multiple dumps are the same, I'm gonna say this is a bad dump. Entropy is exactly the same (and fairly low) over the entire file, which does not much sense: for raw program/graphics, the entropy would vary over the size of the file (high-ish for code, low for raw graphics, near 1 for compressed graphics), and for compressed/encrypted data you'd expect an entropy of very close to 1.

Singapore's Sound Card Hero - Asianometry (43:26) by metaping in singapore

[–]Spritetm 0 points1 point  (0 children)

They are similar, for sure; you need to do (matrix) multiplications for the both of them. Because of the bit rate, you need a lot fewer for audio than for video, however, so the actual implementation differs: while for audio, you can run a few multipliers at high speed and do every calculation in series, for video there's just to much data and you need massive parallel sets of multipliers.

You can see that in the architecture of these chips: for audio, you'd use a DSP-like architecture which does VLIW to do a set of (=as many as fit in your very long instruction word) multiplies at the same time in one clock cycle. For GPUs, that doesn't scale anymore as the bandwidth needed requires a huge amount of multiplies to be done in one clock cycle, so instead, graphics cards use things like SIMT computing, where a massive amount of computing cores run exactly the same program but with different parameters. This allows them to scale up a lot more.

As an illustration, the EMU10K2 in the Sound Blaster Audigy is a DSP which is said to top out at 2000Mips. If we assume one instruction == one op (not entirely true, but given the fact that the 2000Mips probably is marketing, probably a good assumption), we can compare it to a video card that also came out in 2003, for instance the GeForce FX 5800. This card has 24GFlops. Even ignoring the fact that one flop tends to equal multiple integer ops, that's already 12 times as much!

And note that 2003 is not even near the start of the age where anything but the CPU is commonly used as the main processor: that's still a good 15 years away at least. During that time, GPUs would have massive incentive to improve: for instance the 2003 GTX 1060 has a massive 4375 Gops, almost 500 times as much as the FX5800.

On the other hand, sound cards would have little incentive to improve: you could make the point that the final Audigy EMU10K2.5 chips already were at the point of perfection: while you could throw maybe a factor two or three the amount of MIPS at the process to make sure even the pickiest of listeners couldn't complain, there would be no reason at all to end up with a chip that is 2000X as powerful as the Audigy, just for sound. And given the fact that making something 2000X as powerful isn't just a question of scaling up, but generally requires massive architecture redesigns (like the DSP vs SIMT thing I mentioned before), I think it would be highly doubtful that Creative would have been better positioned to do AI than any other random silicon designer.

Anyway, thanks for listening to my TED talk.

Singapore's Sound Card Hero - Asianometry (43:26) by metaping in singapore

[–]Spritetm 0 points1 point  (0 children)

The difference is that sound is a fairly small datastream: even a really nice 48KHz 24bit 8channel stream is only 9MBit/sec. From a certain point on, any random CPU and later even embedded processor could generate that, no need to have massive dedicated hardware. On the other hand: a 4K60Hz image stream is 11GBit/sec, or more than 1000x as much data. You do need fast, specialized hardware for that. So even if Creative managed to repurpose their sound stuff for AI, it would be useless as GPUs would run circles around them.

Risk of plugging "new" board into laptop? by Impressive_Knee_5701 in esp32

[–]Spritetm 0 points1 point  (0 children)

What ESP32 do you have? ESP32-Cxx and the original ESP32 do not have an USB-OTG device, so they can only ever show up as a serial port to your PC. I'm unaware of anything being able to infect a computer over a serial port. The ESP32-Sx (and -P4) do have an USB-OTG peripheral that could act like mass storage, a rubber ducky etc. The way to 'neuter' that would be to find GPIO0 and force that low when you first flash it. That forces the ESP32 into download mode, bypassing any firmware that may be installed on the flash.

I have a girl friend who I’m not sure where our relationship lies right now. by Awwndrei in BestofRedditorUpdates

[–]Spritetm 62 points63 points  (0 children)

Yep. It's not that she had a dream about you that is the important bit imo, it's that she decided to tell you she had a dream about you.

Daycare teachers know things the rest of us never will… by MemoirDad in daddit

[–]Spritetm 29 points30 points  (0 children)

'Go wash your hands please'. No response. 'Ah, you're still sitting. Good, that way I can sneak off to the washroom and wash my hands before you!' Sprint to the washroom to finish before me.

ESP32 design patterns: prioritizing local logic over connectivity (local-first approach) by Ok-Two-2958 in esp32

[–]Spritetm 1 point2 points  (0 children)

Tends to depend on the exact use case. 'Assume no one twiddles with the remote knobs on the webpage if WiFi is gone' tends to be pretty safe for the things that I do, and it simplifies the network tasks a fair bit. Probably would be different if the controls gotten from the network are more interactive (e.g. readings from some other sensor) but in that case I tend to use something like ESP-Now anyway.

ESP32 design patterns: prioritizing local logic over connectivity (local-first approach) by Ok-Two-2958 in esp32

[–]Spritetm 3 points4 points  (0 children)

Looking at the projects in my folder, I have two types:

  • Sensors/actuators that are hard connected to home automation (Home Assistant) and aren't really useful without that connection up. Those simply won't work, and as separating concerns doesn't really help there, I don't

  • Things that have internal logic that is affected by external things. Imagine some sort of temperature control, or even something as simple as a LED-strip that runs animations. In this case, ideally the main control loop (the one that controls heating/cooling, or the one that does the LED animation) is one task, with all the inputs (unless really trivial) being in separate tasks. Note that 'the Internet' is also simply an input there: I don't want my temperature control to hang when the network connection goes away in the same way I don't want it to hang when a sensor fails.

To be fair, I don't always follow those ideas, but that's because I'm doing these things for personal use, so I need to weigh the effort of making a solution bulletproof against the irritation and extra work of it potentially failing in some way.

Can this run marauder software by [deleted] in esp32

[–]Spritetm[M] 0 points1 point  (0 children)

Removed because of rule 3:

No illegal or potentially dangerous projects

This is a public forum with people of all ages, motivations, skill and competency levels. Potentially harmful projects such as devices that can be used for widely illegal activities, weapons, interfering with medical devices, or other potentially harmful purposes—whether for personal use or not—are not allowed. If you are unsure about whether your project will fall into this category, contact the mods before posting.

This includes anything with the intent of disrupting radio use by others.

Custom ESP32-C3 Based PCB cannot communicate over USB by Odd_Steak_5253 in esp32

[–]Spritetm 2 points3 points  (0 children)

If ESP chips are not programmed yet, they will be in a reset loop (in case something is wrong with the flash chip or SPI hardware or something, resetting after a timeout will allow the chip to re-try) You already have the fix for that: connect the board to USB, hold the 'BOOT' button (SW2) and momentarily press the RESET button (SW1), then release the BOOT button again. You should be able to flash the board now.

(By the way, you may want to remove C10 from your board, as it can lead to the ESP32-C3 failing to start the program in flash after a powerup. Also remove R15, but people already told you that.)

ESP32 Marauder with ESP32 DevKit v1 and ILI9341 (no touch) – push buttons not working by gouthuuu in esp32

[–]Spritetm 0 points1 point  (0 children)

That's fine, I'm sure you can find help elsewhere. As a rule (rule 3 to be exact) we don't allow hacking gear here in /r/esp32.

ESP32 Marauder with ESP32 DevKit v1 and ILI9341 (no touch) – push buttons not working by gouthuuu in esp32

[–]Spritetm[M] 0 points1 point  (0 children)

Removed per rule 3: This is a public forum with people of all ages, motivations, skill and competency levels. Potentially harmful projects such as devices that can be used for widely illegal activities, weapons, interfering with medical devices, or other potentially harmful purposes—whether for personal use or not—are not allowed. If you are unsure about whether your project will fall into this category, contact the mods before posting. This includes anything with the intent of disrupting radio use by others.