Electronics for Everyone

Like ender5r I run my own VPN server.

They are running in the guest network and have no contact to any other hardware, so if a device gets hacked, there is not much they can do.

Arduinos are running at their limit when driving 3D printers. Also if you look into marlin source code you see where this 8bit shit takes you. It is all spaghetti code, because there was no space to do it right. The whole language and menu stuff is a mess. Functions are within the menu function and since they are over complicated implemented to save space, the same functions are build in at several locations wasting memory.

You cannot even enable all features without running out of flash memory. I had high hopes that marlin V2 will drop 8bit stuff and the source will get cleaned and more grouped. Unfortunately they changed their minds.

Right! A cnc shiled is doing the rest! You can use stepper drivers such as TMC or DRV for up to NEMA 17 up to 2A and External drivers to run up to Nema 42 up to 10A.

I wish my brain wasn’t old and damaged so I could learn some of this stuff.

A guest network is great step in a layered defence system.

Yeah. I ran into the space issues when I had to upgrade my Ender 5 v1.1.5 controller’s firmware. Installing TH3D Unified definitely removed a number of options, but, at least the printer worked after that.

And, definitely, spaghetti code is an issue. Way, way back, I was involved in a few real-time projects where we had to use spaghetti code to make things work. We actually counted CPU cycles in order to find the fastest way to get functions done. Structured code just wasn’t possible. I once commented to a colleague that we needed a spaghetti code generator. When he asked what the heck that was, I said it was a program that would allow us to use structured methodology when coding, but it would then take the resulting compiled binary and optimize it, finding the fastest way to perform all the functions. It would’ve saved us a ton of work. That said, doing it by hand meant we knew exactly what the program was doing at every instant. There was no black box. For us it was clear as acrylic. That did make troubleshooting quicker and easier.

Like many things, the concepts are simple, the implementation complicated. As for the UNO and stepper shield, the UNO can handle the operation of a small stepper motor: e.g. one that drives a clock or lithophane lamp ?. In order to work, the stepper motors on a 3D printer (NEMA 17s typically) need a lot more power (i.e. amperage) than the little lithophane lamp motor. An UNO cannot handle that much power: it would burn out. So, a “big brother” approach is used; the UNO communicates with a ‘helper’ circuit (device) that can handle the required power. In the case of 3D printers, that’s the stepper drivers. The UNO tells the stepper driver, “Please turn on power on this pin for this long”. The stepper does that, and the stepper motor then turns either clockwise or anti-clockwise for a certain number of degrees or rotation.

A human equivalent would be for a very small person to ask a large, powerful colleague to, “please pick up that box and put it over here”. The small person is the UNO, the large one the stepper driver.

Good analogy there ?

How old are you? I’m 51 and still learning…

R U not aware of his history? I’ll let him tell it, or link you to the posts where it’s been described, but let’s just it say it’s colorful.

Lololololololollol

I was born in 1945

I’m older than Trump.

My respect sir! But never let your bain growing older than you! My father is born is 1939 and he’s still learning.

My brain was destroyed by lightning 20 years ago.

Wow!!!

He’s being modest: [U]I want to activate the M600 command. - MakeWithTech Community Forum

I just feel that you are such a good friendé Mr. Ender 5 r

Everybody here is a good friend of yours!!!