Skip to content

Latest commit

 

History

History

stack_exchange

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This file is part of eRCaGuy_hello_world: https://github.com/ElectricRCAircraftGuy/eRCaGuy_hello_world

Table of Contents

(click to expand)
  1. Stack Exchange research and answers
  2. My Physics, Sensing, and Controls answers on Stack Exchange that I am most proud of

Stack Exchange research and answers

I'll store partial answers and learning notes and documentation here.

As I conduct research and document what I learn, for later retrieval and use, I frequently compile my information into answers on Stack Exchange websites such as Stack Overflow, Unix & Linux, Ask Ubuntu, Electronics, or Arduino. However, having 3 kids and a full-time job, I get frequent interruptions, some of which can block me from finishing the research and documentation for days, weeks, or even months or years at times.

When interruptions are that severe and prolonged, it's easy to lose many hours of valuable research and documentation which I'd really have liked to save somewhere.

Let this folder be that place.

Let this folder be a place where I can save work-in-progress answers or questions so that I don't lose a ton of hard work and research and valuable knowledge I need myself just because my baby got poop on the couch and I have to go clean it up, or some other family emergency or event has happened and I have to suddenly stop without warning to go handle it.

My Physics, Sensing, and Controls answers on Stack Exchange that I am most proud of

  1. Stack Overflow: Physics-based controls, and control systems: the many layers of control
  2. Stack Overflow: Numerical derivation and integration in code for physics, mapping, robotics, gaming, dead-reckoning, and controls
  3. Arduino: How to make your own coulomb counter (Amphours [Ahr] meter, or Wattshours [Whr] energy meter) with an Arduino
  4. Electronics: When is a MOSFET more appropriate as a switch than a BJT?
  5. Arduino: Switching a Solenoid Using Arduino's 5V Output?: Low-side switching an inductive load (such as a relay) using a microcontroller (such as Arduino), NPN BJT transistor (with full base resistor calculations), and snubber/flyback diode
  6. Stack Overflow: Quadcopter PID Controller for distance
  7. Stack Overflow: Here is how to get simple C-like millisecond, microsecond, and nanosecond timestamps in C++
  8. Stack Overflow: How to get a simple timestamp in C
  9. Stack Overflow: How to configure the Linux SCHED_RR soft real-time round-robin scheduler so that clock_nanosleep() can have improved sleep resolution as low as ~4 us minimum, down from ~55 us minimum, depending on your hardware
  10. Stack Overflow: How to run a high-resolution, high-precision periodic loop in Linux easily, at any frequency (ex: up to 10 KHz~100 KHz) using a soft real-time scheduler and nanosecond delays
  11. Stack Overflow: How to do high-resolution, timestamp-based, non-blocking, single-threaded cooperative multi-tasking