BUILDING THE RECEIVER

리시버 만들기


After some comments of Mahjqa 

Mahjqa의 코멘트들 후에

I’ve changed the default cabling 

and added a reverse power protection circuit. 

나는 몇가지 기본 케이블을 바꾸고 리버스 파워 프로텍션 서킷 하나를 추가했다


First impression is good. 첫인상은 꽤 좋았다

 Also, I saved myself a lot of headaches to change the programming connector pinout 

to the standard Atmel ISP pinout.

또한 커넥터 핀아웃에서 스탠다드 Atmel ISP 핀아웃으로 바꾸는 프로그래밍하는 많은 골치거리들에서 벗어났다


For the end users the greatest change is that 

엔드 유저들에게 큰 변화가 있는데

LEGO power functions cables can easily be soldered into the board, 

레고 파워 펑션 케이블들은 쉽게 보드로 납땜이 쉽다

AND these have the power connection as well! 

그리고 전원연결도 한다

In the original design I hadn’t thought people would like to use 

the Power Functions cables 

because they’re bulky, but I was wrong. 

원래 디자인에서 나는 생각하지 못한게 

사람들이 파워펑션을 사용한다라는 것이다

왜냐하면 사람들은 많아서 내가 틀렸다

Now you can also hook up PowerFunction servos!

지금 당신또한 파워펑션 서보스에 훅업될 수 있다(빠질 수 있다)



------

그림 : New receiver circuit board – Now with power on terminals!

새로운 리시버 서킷 보드 - 지금 터미널에 전원이 들어와있다


그림 : Open PowerFunctions Receiver for Mahjqa

Mahjqa를 위해 파워펑션 리시버를 열었다


------


Hooray! I finished my troubles with the motor driver. 

올레! 나는 모터드라이버로 문제를 해결했다

I switched to other types 

(first something from TI, then back to ONsemi again with a different type)

 to solve my issues with resetting the driver, 

나는 드라이버 세팅을 바꾸며 이슈를 해결하기 위해 다른 타입로 바꿨다

(첫째로 TI 부터 뭔가 바꿨다 그리고는 다른 타입으로  ONsemi로 다시 돌어왔다 )


if anyone is interested I can provide you with details… 

만약 누군가 내가 자세한 사항을 제공하기를 원하면

For now I’m happy I can finish the receiver I was planning to build for Mahjqa, 

as I would have liked to finish it weeks ago

지금은 그저 내가 Mahjqa를 위하여 내 리시버 빌드하는 계획을 세운것을 끝내는데 만족한다

일주일 전 내가 끝내기를 원했던것 처럼


------

The last few weeks I’ve been trying to control the LVM8548 to NOT shutdown the outputs;

지난 몇주간 나는 LVM8548이 출력에의해 Shutdown 안되는것을 제어하기위해 노력했다

 I tried several schemes, from resetting the driver once in a while 

to adding series resistors to the output to nog driving the outputs continuously high 

when going full throttle to … leaving the LVM8548 at rest; 

몇가지를 시도했다. 

LVM8548이 리셋에서 full throttle(밸브를 활짝열기)로 갈 때

출력에 저항들을 추가하여 드라이버를 잠시 리셋하는것부터 

출력을 지속적으로 높게하는 nog driving(짧은 운전)까지

 



The problem is that the automatic restore is not functioning, 

문제는 자동으로 복구되는게 제대로 작동하지 않았다

you have to restore the driver by pulling all inputs low.

당신을 모든 입력을 낮게 당김으로 드라이버를 복구시켜야한다

 

In normal behavior this happens once every pwm cycle when you’re pwm-ing both inputs. 

정상적인 동작에서 당신이 입력들이 모두 PWM-ing일 때 모든 PWM 사이클에서 한번은 일어난다 

When one input is constantly high (full throttle forward / backward) 

the driver does not reset. 

하나의 입력이 지속적으로 높으면(full 스로틀이 전진 또는 후진) 드라이버는 리셋되지 않는다

There is no way to check whether something is going on. 

어떻게 그게 일어나는지 체크해 볼 방법이 없다

Now I’ve switched to the DRV8835 from TI.

지금 TI에서 DRV8835로 바꿨다 

The part is ridiculously small, 

and I bought a hot air soldering station to be able to solder it, 

and made a new layout. 

웃길정도로 작은 부분인데 납땜을위해 뜨거운 공기로 납땜하는(hot air soldering station)기기를 하나 샀다

그리고 모습이 새롭게 바뀌었다


The preliminary results are promising, 

유망한 예비결과,

although a direct connection of the motor to the outputs still shuts down the driver. 

물론 모터의 직접연결에서 출력은 여전히 드라이버 shuts down


A small inductor in series (‘chokes’ the inrush current) helps, 

시리즈안의 한개의 작은 인덕터가 돕는다('chokes' 현재 유입되는)

I’ve ordered some ferrites to test, and hopefully that will be the end of redesigning.

나는 테트스를 위해 몇가지 페리티를 주문했다

그것이 리디자인을 끝내기를 바란다


23-8

I’ve been messing around with some software issues lately, 

나는 최근에 몇가지 소프트웨어 이슈를 놓치고 있었다


had a tough time trying to find a bug in my code 

where the output pwm duty cycle of one channel depended on 

the state (on/pwm/off) of the other channel. 

다른 채널의 상태(on/pwm/off)에 의지하는 출력 PWM 듀티 사이클 코드에 있는  버그를 찾는데

꽤 시간을 허비했다


The reason was that the 8548 driver is ‘reset’ 

when all 4 inputs are low, and needs an extra 7us to start up when inputs are asserted. 

이유는 모은 4개의 입력이 낮(low)고 입력이 검증(asserted)된 다른 여분의 7us 하나가 시작될 때

 8548 프라이버가 리셋이었다


Now, when I’m pwm-ing both channels, 

at the end of one period both channels have been set to ‘float’ 

지금 나는 두채널이 'float'로 셋되는 한 기간(period)의 끝에서 두 채널 모두를 PWM-ing한다

e.g. all inputs low. 

예를들면 

When re-asserting the inputs,

the motor driver needs an extra 7us to start. 


모터 드라이버가 시작하기위한 하나의 엑스트라 7us가

다시 검증된 입력들의 모든 입력이 low다


This is roughly 10% of the complete pwm period, 

이것은 대략 PWM 기간(period)의 10%이다

so it was clearly noticeable. 

Fixed this in software. 

Will be testing more elaborately soon….

곧 좀 더 정교한 테스트를 가쳐

이 소프트웨어가 고쳐짐을 확실히 공지할만하다


-----


Lego PCB still in tape. Two other boards for size reference.

레고 PCB는 여전히 테잎로 쌓아놨다. 두 다른 보드들은 크기를 가늠하기 위함이다


Open PowerFunctions Receiver for Mahjqa

Mahjqa를 위해 파워펑션 리시버를 열었다


New receiver circuit board – Now with power on terminals!

새로운 리시버 서킷보드 - 지금 터날에 전원이 공급 됨


Glueing the block, using other bricks for alignment

다른 블로의 위치를 정하기위해 블록을 붙임(glueing) 


MIcrocontroller and motor driver

마이크로 컨트롤러와 모터 드라이버


Wiring passing through opening

오프닝을 지나는 선작업


receiver, power supply, button

리시버(수신기), 파워 서플라이(전원공급기), 버튼


Gutted bric, 3.2mm removed from base

베이스에서 분리된 3.2mm, 초라한 조각(bric)


------------------


BUILD LOG

12-6-2012

Gutted a lego brick at tkkrlab, 

tkkrlab에서 초라한(?) 레고 조각

and cut the bottom off to fit a regular LEGO plate at the bottom. 

그리고 한 일반적인 레고조각의 바닥에 맞추려고 바닥이 잘림

The space left inside is minimal. 

안쪽에 작은 공간을 남겼다

Very curious how this will work out mechanically.

이것이 기계적으로 동작할지 매우 궁금함

13-6-2012

PCB’s have arrived from ITeadStudio! 

PCB가 ITeadStudio로부터 도착함

I didn’t take into account the ribs inside the LEGO brick, 

나는 레고벽돌안에 ribs account(?)에 넣어두지 않았다

so it fits nearly when removing all ribs. 

그래서 모든 ribbs를 제거할 때 이것은 대부분 맞는다

I might try to do a redesign to make it fit easier. 

아마 쉽게 맞추도록 리디자인을 해야 할 것 같다

Now I’m waiting for the components to arrive…

지금 난 그것을 위한 콤퍼넌트를 기다리고 있다.


728x90
BLOG main image
"그게 뭐 어쨌다는 거냐?" 늘 누가 나에게 나에대한 말을할 때면 이말을 기억해라. by nobang

카테고리

nobang이야기 (1933)
Life With Gopro (7)
Life With Mini (79)
Diary (971)
너 그거 아니(do you know) (162)
난 그래 (159)
Study (290)
속지말자 (10)
Project (34)
Poem (15)
Song (0)
Photo (113)
낙서장 (45)
일정 (0)
C.A.P.i (2)
PodCast (0)
nobang (27)
고한친구들 (4)
recieve (0)
History (0)
android_app (2)

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

Total :
Today : Yesterday :