ガラクタ置き場




PELTIER.BMP


サーボモータ動作テスト
servo_test_20161225.ino

LTSpice実験結果
VL_SCILLATION.tar.gz

function [pos2]=galv(x)
	pi = 3.14159265
	xAng = pi / 7
	yAng = pi / 8
	i = 1
	dis12 = 15 
	dis2w = 200
	vec = [1;0;0]
	pos = [0;-dis12;0]
	for r = pi / 2 - yAng:pi/600:pi / 2 + yAng
		i = 1
		vec1 = [cos(r),0,0; sin(r),0,0; 0,0,0] * vec
		pos1 = dis12 / vec1(2) * vec1 + pos
		for s = pi / 2 - xAng:pi/600:pi / 2 + xAng
			vec2 = [1,0,0; 0,cos(s),0; 0,sin(s),0] * vec1
			pos2 = dis2w / vec2(3) * vec2 + pos1
			x(i) = pos2(1)
			y(i) = pos2(2)
			i = i + 1
		end
		plot(x,y)
	end
 
endfunction