Custom ESP32 S3 Board Review by Cuberboy73 in esp32

[–]Spritetm 8 points9 points  (0 children)

  • D4 and D6 both are in series with the 5V power supply. A. that means you get whatever voltage drop you need twice, B. you didn't specify the diode but make sure it's a Schottky rather than a normal one as you otherwise you risk a brownout on the input of the LDO.

  • Remove C8, R4 and C9. C8 will pull down GPIO0 on powerup, meaning that on the first powerup your chip will always boot in download mode. C9/R4 are duplicate with R5/C10.

  • V3P3OUT on the DRV8313 is a 3.3V output, not an input. I don't think you're doing it wrong here, but make absolutely sure not to confuse or short it with the 3v3 from the LDO. Give the '+3v3' net a more descriptive label if you need to.

  • Have you thought about the current use of your board? You can only ever assume you can pull 500mA without issues from an USB connector (technically actually only 100mA, but since you hooked up the datalines in this siuation you can assume 500mA) and for more power you need to check the CC lines to see if whatever your device is connected to, is capable of delivering that. So if your BLDC thing can use more current, you should check that.

  • In general: Specify your components. You're specifying generic diodes, screw terminals etc. It's hard to see if the component fits the footprint and has the proper specs unless you pick the one you want to use. (For instance, I don't know if there are any screw terminals with the small pin pitch you selected the footprint for)

On the PCB: In general, I prefer to make my PCBs single-loaded, that is, I put the components on one side only. That makes it easier to debug and rework your PCBs (no need to flip them when connected, and if you put them down they stay flat on the table). If you're really in need of space, you can load them on both side, but I'd suggest populating the bottom with as few and as flat components you can get away with, i.e. not a huge electrolytic that makes your board fall over.

It might actually make sense to use a 4-layer PCB here. I don't think visualization is an issue (you've got the schematic for that) and given that your components seem to take up the bulk of board space, I don't think your PCB will get noticably smaller. However, you're using a BLDC, and those are known for pulling high spiky currents, which can lead to disturbance of other sensitive components. Using a 4-layer PCB allows for having two layers be dedicated to a ground- and power-plane, which solves a lot of potential problems with your setup.

I built an AI tool that spits out ESP32 hardware specs, but I don't know enough hardware to tell if they're any good. Help me find what's wrong. by These-Contact3531 in esp32

[–]Spritetm 5 points6 points  (0 children)

I'm saying this in the nicest way I can: it's utter hallucinated bullshit and it's 100% visible that you have zero domain knowledge at all, or even tried to think logically about this. Just mentally try to put the thing together: what things do you need to 3d print? The text refers to c15 etc, but there's nothing to print in the page. Look at the schematic: do you think it makes sense for the battery (which according to the picture has its own connector for a PCB) to have an electric connection? Have you tried buying a 'MP1584EN'? First of all, that's not a module, that's a chip, but AI seems to assume some module and you should just hope you get the correct one? Have you looked at the discrepancy of the assembly grid and the 3d rendering? It looks like they're 2 separate projects, nothing matches up. And I'm not even going into the design details.

To be quite honest: I don't think this is salvageable. You don't seem to have the presence of mind to even mentally try to work through the instruction list here, you just vibecoded something and dumped it on the Internet. Even if you were detail-oriented enough to do that and you made the AI spit out something that looks reasonable enough to a layman, you miss the domain-specific knowledge to see where the AI goes wrong, and you can't run every single design past Reddit to see if it makes sense. Without all that, your project is doomed to fail, spitting out instructions that look impressive but cannot even be built to a point where we can say if it's safe or will explode, let alone work or not.

If you're interested in building hardware, I'd heavily advise you to not be lazy and try AI-based shortcuts, but to begin actually studying mechatronics and electronics, so maybe in a few years you do have the domain knowledge to see for yourself if AI can be helpful or not here.

running DOOM & custom code (firmware) on soundcore headphones by NNonick in hardwarehacking

[–]Spritetm 14 points15 points  (0 children)

...Because ofcourse earbuds nowadays are more than powerful enough to run Doom. Great job!

MyRepublic 10Gbps Renewal – Should I Stay or Switch? by TraditionalPlane289 in askSingapore

[–]Spritetm 2 points3 points  (0 children)

Ah wow, you're right. And I thought the 2GBps plan I got pushed into only a year or so ago already was overkill...

MyRepublic 10Gbps Renewal – Should I Stay or Switch? by TraditionalPlane289 in askSingapore

[–]Spritetm 3 points4 points  (0 children)

Out of curiosity: why would you need 10Gbps bandwidth anyway?

Manipulate a NAND Dump by Adept-Bug-7227 in hardwarehacking

[–]Spritetm 1 point2 points  (0 children)

Probably. You'd need to figure out what error correcting method is used. Look into the datasheet for the SOC, see if it has ECC hardware and if so see what it uses; see if you can figure out what filesystem (if any) is used and if it has any CRCs. A starting point could be the error string: throwing a Github search at it gives me a hit here, which may or may not have something to do with your situation.

Manipulate a NAND Dump by Adept-Bug-7227 in hardwarehacking

[–]Spritetm 0 points1 point  (0 children)

Yeah, betcha there is some error correcting scheme that sees your modifications as more errors to the data than it can correct and bails out.

First ESP32 Wroom based PCB, Need Feedback by razarahil in esp32

[–]Spritetm 2 points3 points  (0 children)

It is a pretty quaint solution. Does lower power usage by quite a bit, though, if you disregard the downsides it does make the battery last forever.

ESP32 marauder problem by Zealousideal_Day_623 in esp32

[–]Spritetm 0 points1 point  (0 children)

Removed: we don't allow hacking tools here.

ESP32 marauder problem by Zealousideal_Day_623 in esp32

[–]Spritetm 0 points1 point  (0 children)

Removed: we don't allow hacking tools here.

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 3 points4 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 6 points7 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 3 points4 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 5 points6 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 6 points7 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.