u/curious_but_troubled

Bearing preload confusion

Bearing preload confusion

This is the most common type of configuration I could find but I don't understand how it works if both the shaft and the housing are fixed by some other means.

https://preview.redd.it/4rh8ze67fz1h1.png?width=1052&format=png&auto=webp&s=a334fca7c2b2acf3fecec49ded7e978da83a8bad

If both can't move the space in which the bearing is restricted never changes, right? So is the requirement for these kind of preloads that the shaft can freely move a bit axially?

https://preview.redd.it/0mman8xogz1h1.png?width=551&format=png&auto=webp&s=b182e9063d544d9dcdcc9668a49fdc346b14ce71

Then I also found this but I don't understand what the red part is for. Because the blue housing is already acting as a spacer, so we have two? When the flange gets tightened both inner racing are just compressed, how does this achieve any kind of preload?

reddit.com
u/curious_but_troubled — 4 days ago

C++ header include directory git friendly directory structure

My current project uses my own C++ header-only libraries and I want to include them. Currently I just have them next to the .ino file but I'd like to create a /src and /include directory structure. Is it possible to add an include directory so that I can use <> syntax to include them instead of ""? I know that there's a libraries directory but it's not really git friendly to split my source from my headers.

Edit 1: I guess this works, I'm not really used to the CLI tho:

project/
  src/
  include/
arduino-cli compile \
  --build-property "compiler.cpp.extra_flags=-I./include"

Edit 2: Just found this CMake approach: https://disconnected.systems/blog/arduino-and-cmake/ (not updated in 12 years tho)

reddit.com
u/curious_but_troubled — 8 days ago

End effector SCARA ball screw for up and down and rotational movement

What is the end of a SCARA robot. It appears to be some sort of ball screw that allows for both up and down but also rotational movement. I can't find this product on any manufacturers site.

Edit: Picture in comments

reddit.com
u/curious_but_troubled — 9 days ago

Can I use std::variant and other RTTI features when using the Arduino framework?

I'm currently working with an RP2040 using the Arduino Framework and PlatformIO and would like to use std::variant and other RTTI features in my firmware. Is there any way to enable this feature?

reddit.com
u/curious_but_troubled — 10 days ago