FreeCAD and Arduino Smart Systems Notes
FreeCAD Principles and 3D Modeling
Polyline Tool: Draws continuous 2D sketch outlines consisting of connected straight line se
gments.
Sketch Constraints:
Horizontal Constraint: Forces a line segment to remain strictly horizontal.
Distance Constraint: Defines exact linear dimensions (e.g., setting an edge length to ).
3D Solid Operations:
Pad: Extrudes a closed 2D sketch profile to give it a 3D thickness.
Pocket: Removes material from a solid body using a closed 2D shape (e.g., creating cylindrical holes or cable openings).
Reference Planes and Faces: Selecting specific faces or utilizing a Datum Plane ensures new sketches align accurately relative to existing geometry.
Construction Geometry: Acts as non-printing visual guide lines or shapes (e.g., construction circles) to position features accurately without altering solid features.
Fillet Feature:
Rounds off sharp internal or external corners and edges.
Increasing a fillet radius from to increases the curvature along the edge.
Provides advantages such as reduced stress concentrations, safer physical handling, and improved aesthetics.
Electronics and Robotics Fundamentals
Microcontrollers: An Arduino board serves as a programmable controller that reads input signals, processes data, and controls electronic output components.
Input Components:
Ultrasonic Sensor: Detects object proximity and measures distance.
Push Button & Potentiometer: Capture user interaction and manual control adjustments.
Output Components and Actuators:
Servo Motor: Produces mechanical movement based on dynamic control signals.
LED: Emits light signals in response to system states.
Circuit Protection and Resistance:
Resistors connected in series with LEDs limit current flow to prevent LED damage.
Under identical electrical conditions, a resistor with higher resistance allows less current to flow compared to one with lower resistance.
Arduino Smart Ventilation Control System

neCompoSystemnts and Roles:
Input Component: Potentiometer connected to analogue pin .
Output Actuator: Servo motor (SM-S2309S) connected to digital pin , physically controlling the position of the ventilation flap.
Controller: Arduino Uno board processing analogue inputs and commanding the servo output.
Analogue Input Processing:
analogRead(potPin)reads variable analogue input levels from pin .On a standard Arduino Uno,
analogRead()outputs an integer value between a minimum of and a maximum of .potValuestores the raw reading for processing.
Value Mapping and Servo Command:
servoAngle = map(potValue, 0, 1023, 0, 180)re-maps input values from range to a servo angular range of .ventilationServo.write(servoAngle)sends the mapped angle to the servo motor.A calculated
servoAngleof shifts the servo motor shaft to approximately a midpoint position.
Continuous System Execution:
Executing statements inside the
loop()function continuously polls the potentiometer reading..
Ensures real-time repositioning of the servo motor whenever the user adjusts the control knob