Cookie Robotics

My Personal Website About Robotics & Programming

Electronics

Simulate & Log AVR

Steps to run AVR program on AtmelStudio simulator and log register values.

Lookup Table

ATmega328P Timer/Counter0 fast PWM period and duty cycle.

Interrupts

How interrupts work on ATmega328P.

Timer/Counter0

Summary of Timer/Counter0 on ATmega328P.

Memory

An overview of ATmega328P memory summarized from the datasheet.

28BYJ-48

Stepper motor 28BYJ-48 was disassembled to understand how it works.

Transistors

Types and symbols of transistors and their behavior.

VL53L1X Breakout

Comparison of VL53L1X breakout boards.

PCB

プリント基板に関する用語とそれらが指す物・寸法のまとめ。

KiCadでunicraft

unicraftで基板発注する際のKiCadの設定。

CNC

アルミ切削条件

卓上CNCでアルミを切削するときの条件。

Custom Gears

How to make gears from scratch with desktop CNC.

Misc

Low Pass Filter

Time constant of low pass filter code.

RCヘリ分解

2000円のラジコンヘリを分解。回路を分析。コントローラーとの赤外線信号の解読など。

Order of Operation

Pre and post multiplication of rotation matrices and quaternions.

FFT

Input and output of Fast Fourier Transform. Units and vector length.

Covariance Ellipse

How to draw ellipse of covariance matrix.

Cov vs Cor

Covariance and correlation formulas as well as conversion between the two.

Programming

Non-Break Space

Replace non-break space with regular spaces.

ノーブレークスペース

ノーブレークスペースを半角スペースに置き換え

Atmel Studio

Blink Arduino's on-board LED with Atmel Studio 7.

Global Functions

How to use C++ global functions.

Win32 Char

About Windows character string types: LPSTR, LPCSTR, LPWSTR, LPCWSTR, etc.

Static Const Member

How to use C++ static const member variables of different types.

Python 3 Snippets

Integer, string, array, loop, function, etc.

Control Theory

Mass Spring Damper

Mass spring damper system. Transfer function, block diagram, state space model.

LR Circuit

Series resistor inductor circuit system. Transfer function, block diagram, state space model.

Series RLC Circuit

Series resistor inductor capacitor circuit system. Transfer function, state space model.

Torsional Friction

Torsional friction system. Transfer function, block diagram, state space model.

Gears

Gears system. Transfer function, block diagram, state space model.

DC Motor

Permanent magnet DC motor system. Transfer function, block diagram, state space model.

Block Diagram

How to construct transfer function from block diagram and vice versa.

Car Suspension

Car suspension system. Transfer function, block diagram, state space model.

Canonical Forms

Control and observer canonical forms for 1st, 2nd and 3rd order systems.

Representations

Control system representations and conversion between them.

State Space Model

State space model. How to choose variables. How to simulate.

1st Order Response

First order system response formula. Step and frequency responses.

1st Order Ex1

Determine frequency response of known system.

1st Order Example 2

Modify a given system to respond faster.

1st Order Ex3

Modify a given system to reach steady state after 8 sec.

1st Order Ex4

Determine system model from step response measurement.

2nd Order Response

Second order system response. Step and frequency responses.

2nd Order Ex1

Modify a given system to respond faster.

2nd Order Ex2

Design a system with fastest response and no overshoot.

2nd Order Ex3

Design a system to overshoot a little.

2nd Order Ex4

Design a system with fastest response and no overshoot. Analyze failure scenario.

Closed Loop System

System error and unity feedback.