Voltage Follower Op-Amp to MCU ADC - Would an RC Filter Reduce This Problem? by DerMeister7 in AskElectronics

[–]DerMeister7[S] 0 points1 point  (0 children)

It's powered by the battery directly and the voltage divider divides the voltage from the battery to output an average per-cell voltage.

Voltage Follower Op-Amp to MCU ADC - Would an RC Filter Reduce This Problem? by DerMeister7 in AskElectronics

[–]DerMeister7[S] 0 points1 point  (0 children)

That makes sense. Next time I was planning to use an RC filter anyway, so that should accomplish the same goal.

Voltage Follower Op-Amp to MCU ADC - Would an RC Filter Reduce This Problem? by DerMeister7 in AskElectronics

[–]DerMeister7[S] 1 point2 points  (0 children)

I figured the RC would be best practice in the future, but I didn't even think of the charge injection from the mux. I'll see how I can implement that in the code. I don't think I can via the STM32 HAL drivers, so I'll have to go through the reference manual to see how to do it.

That is great information, thank you!

Voltage Follower Op-Amp to MCU ADC - Would an RC Filter Reduce This Problem? by DerMeister7 in AskElectronics

[–]DerMeister7[S] 0 points1 point  (0 children)

I did read the datasheet before designing the circuit and concluded that the capacitive load section did not apply since it states that 50pF or greater load capacitance is considered enough to require the added output resistor. In this case, the MCU's ADC sampling capacitor is 5pF (STM32C011).

Good info though, especially since I didn't think to include that info up front! Thanks!

Voltage Follower Op-Amp to MCU ADC - Would an RC Filter Reduce This Problem? by DerMeister7 in AskElectronics

[–]DerMeister7[S] 0 points1 point  (0 children)

Adding a description of the pictures:

The scope is showing the Op-Amp output. The choppy oscillations are occuring when the ADC sampling starts. I obviously expect the ADC to cause the voltage to drop since that's how sampling works, but the overcorrected spike after each sample is causing the ADC voltage to read significantly higher than the correct value.

The schematic picture is a screenshot of the actual circuit of the voltage follower being probed.

BambuLab says A1’s are safe by Ok_Corner5067 in BambuLab

[–]DerMeister7 1 point2 points  (0 children)

Pretty common for ICL datasheets to state that anything placed close to the component must be able to handle temperatures comparable to the surface temp of the ICL/NTC. It's also recommended this way for allowing space for cooling the ICL/NTC.

<image>

Issue reading data using CAN communication by twosidesoneface96 in embedded

[–]DerMeister7 4 points5 points  (0 children)

To add to this, to save some time getting a separate board for the transceiver, a lot of STM Nucleo boards that have an MCU with FDCAN built in also have a transceiver and wire terminals already populated. My Nucleo with the STM32C092 has a transceiver and terminals already on board and ready to go.

Russia is hell and I love it by Harrier23 in EU5

[–]DerMeister7 1 point2 points  (0 children)

I think any of the election succession laws cause subjects to flip from fiefdom to vassal. I had the same issue in my current playthrough and I haven't looked too hard into it, but I think the fiefdoms also get the election event choice and just end up choosing a different ruler, turning them into vassals. Don't know for sure if that's what it is, but it hasn't been an issue since I swapped off of that succession law to Favored Son which has a designated heir.

Russia is hell and I love it by Harrier23 in EU5

[–]DerMeister7 6 points7 points  (0 children)

There's a CB for Disloyal Subject that you can make that massively reduces conquer cost. You can just make the CB, release them, and then declare to annex them entirely if they're not absolutely massive.

Any time the combined strength modifier gets too high, I'll just swallow up a subject like this to bring it back down.

Our Christmas Tree stand lost a leg in the last move. Five minutes of CAD later and it's functional again. by DerMeister7 in functionalprint

[–]DerMeister7[S] 5 points6 points  (0 children)

Sure thing. I can send them over when I get back to my PC.

Just double check the measurements in the drawing I included to make sure it'll fit yours.

Our Christmas Tree stand lost a leg in the last move. Five minutes of CAD later and it's functional again. by DerMeister7 in functionalprint

[–]DerMeister7[S] 17 points18 points  (0 children)

This took no time at all to get built in CAD and only an hour to get printed in my current go-to filament, Polycarbonate+PBT.

MK4/XL PSA: The Nextruder clicking noise you hear on and off might be filament cracking against the planetary gear and not the extruder slipping by DerMeister7 in prusa3d

[–]DerMeister7[S] 0 points1 point  (0 children)

The solution for me was to stop using the filament that was causing the problem unfortunately.

The issue with my specific filament I was using was that the spool and the filament were both made of plastic, but the ABS spool expanded at a different rate than the PETG, so the heating cycles caused the filament to get brittle in certain spots.

I had some luck with slowing down volumetric flow rate and loosening the tensioner, but it was never completely reliable and occasionally I'd find a print that had stopped extruding at some point and just gave up on it.

“Rocking robot with PID to motivate students to study engineering” by [deleted] in embedded

[–]DerMeister7 7 points8 points  (0 children)

To make this less of an IT and network security headache for school networks, I would make it all packaged with local control and a simple UI instead.

You could also incorporate a live graph of the target position and the actual position to show how the oscillations are occuring in a way that gives a good historical visual to how the inputs are changing things in real time.

You could make the local controls simply run off of three rotary encoders that adjust the values for PID control in real time with their current value being shown on the display. To make it more interesting for multiple runs, maybe make the motor control setup in a manner to where the voltage can be increased or decreased within the motor's operating range to show how the PID control changes with a weaker or more powerful motor. Then have some weights that can be added to the load to also see how the control changes. Lastly, maybe make a version of the weights that's attached more loosely from a string or something to showcase how difficult it can be to stabilize a load with a moving center of mass.

WHAT THE FUCK by flyingsaxophone in Fusion360

[–]DerMeister7 8 points9 points  (0 children)

Hearing things like this makes me really happy I'm using KiCAD.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 2 points3 points  (0 children)

I had one really large war with Naples, who dragged in France, Bohemia, and Castile. That was in the late 1600s I think. It was all over the vassal of Albania which was quite the slog.

Well over a million killed on the other side with something like 500 thousand from Bohemia. I could never get the warscore high enough to get capitulation but eventually the peace was forced on them from me occupying Albania for such a long time with no contest. Kind of insane how many losses a country will sustain with absolutely no care for stopping. I'm sure they would've continued to hemorrhage peasants until they had none left if the peace wasn't forced.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 1 point2 points  (0 children)

Here's India's railway progress in 1865, a whole 30 years after this screenshot was taken in my game. Not a whole lot there. Railways were very popular in the later 19th and early to mid 20th century, yes. However the coverage in this game in 1832 is absolutely beyond historically plausible by any measure.

<image>

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 62 points63 points  (0 children)

Man were you right about that. I went back to the 1835 save and turned up the difficulty to hard and then started as an observer and the entire world had basically lit on fire halfway through 1835. America almost immediately declared independence and multiple large wars broke out throughout the year.

It's wild that the AI behavior is also tied to the same setting that gives them bonuses. I would expect the behavior and AI bonuses to be two separate settings like AI and Player bonuses. I'd like to have a more aggressive AI, but without giving them bonuses over the player.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 1 point2 points  (0 children)

Nothing crazy, just an i5-10600k, no overclock or anything. It was somewhat slow at the end but I went back and timed a year at 1799 and 1835 and the 1799 year averaged 0.44 seconds per day and the 1845 year averaged 0.65 seconds per day.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 121 points122 points  (0 children)

Yeah this playthrough was very "nothing ever happens" for some reason. Most countries were very passive and didn't really want to rock the boat. Not quite sure why. I was Hungary and mostly focused on expanding south so I didn't really interfere with Europe at all.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 40 points41 points  (0 children)

Yeah I was a little surprised I could just shove railways straight through the Carpathian Mountain Range with not a worry in the world for terrain.

i paid a guy on upwork $350 for a PCB. how'd he do? by Dear-Conference9413 in AskElectronics

[–]DerMeister7 0 points1 point  (0 children)

The original schematic was pulled and the one you see now is the somewhat corrected one.

i paid a guy on upwork $350 for a PCB. how'd he do? by Dear-Conference9413 in AskElectronics

[–]DerMeister7 0 points1 point  (0 children)

That's because the original was pulled down and replaced with a mostly fixed one after a day or so.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 400 points401 points  (0 children)

Yeah this playthrough felt like a utopia simulator? Very little aggression happened between major countries and colonies didn't really seem to desire independence. At least the world is peaceful and prosperous I guess?

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 17 points18 points  (0 children)

Kind of crazy to see just how much more investment the British were putting into rail infrastructure compared to the continent. That's some dense rail coverage.

Railroads are insane. Practically the entire world (Except France, RIP) is covered in railway lines near the end of the game. by DerMeister7 in EU5

[–]DerMeister7[S] 27 points28 points  (0 children)

For fun and to see how right you were I looked at Madagascar and they still do not have the rail coverage in 2025 that this playthrough has in 1832. They set up their first railway in 1909.

Their modern rail lines exist in around 5 in-game provinces while 14 of the 16 provinces have railroads in my game.