goo blog サービス終了のお知らせ 

ヒマワリ

夜のヒマワリです。

24/04/2020

2020-04-26 00:43:55 | 日記

Today, it is informed officialy, my work from home is extended up until 22nd of May..


I watched the Always, Sunset on the 3rd Street series.

My Japanese friend recommended me these films. She is an undergraduate student. We are lost in contact... though she has had recommended me these series.

While I watching the movie, I'll write down every word that I want to learn. Thank you Yuriちゃん、though you were gone with no reason..

I watched the films. These films told me how the 'Old Japanese manner' is, as what I've had known, and I like that idea. The way the Japanese insist on their idea, up until they know the truth, the will apologize. Watching on how they are going through the post-war has amazed me. If only the war had not happened, two of the family woman and the family man might had not been living an integral life. 

The city keeps changing too throught the series.

In one scene, they are waiting for a film, and they lined up together to get in the cinema, how civilized it is, I like that. The momentum they had after the war, the momentum that every one in the country acknowledge, to build the elemental knowledge of how a civilized society should be. I wonder how Indonesia can do that..


11/04/2020

2020-04-11 21:34:37 | 日記

The Binくん diary.

Was trying to use TB6612FNG.

 

I'm now in the process to create a trash bin robot, Binくん. I have bought all of the parts, waited for days, and eventually today, I can start the wiring process. It uses an H-Bridge to control 2 of its motors. I was wanted to use L298N, which is the common H-bridge used in the microcontroller world, but then I saw this video:

 

TB6612FNG.. sounds interesting, as it is very small and I don't have to build the diode circuit to tame the backfire voltage. So I searched for one and found it through the online marketplace. The store is in Surabaya, it took 3 days to arrive.

So, today, I tried to use it using the breadboard. It is a dual output H-bridge controller, and we can control the speed of each motor using PWM sockets, which is available for each output, according to this schematic diagram:

So I wired the breadboard, wrote some code to test it, and voila, It didn't work..

The motors run well, but I couldn't set the speed of each motor, It will only run at full speed. I tried to not use the common ground for, as I thought the chip alter the ground according to the PWM signal, but it didn't work either.

I was lost, as I really want to use this chip for the project. I've prepared my L298N and was about to dump the TB6612 chip, but then I take a look at the chip very carefully;

 

"DRV8833"

 What?!

I expected it to be a Toshiba TB6612 chip. Maybe that's why it says NC (Not Connected) on each of the supposed to be the PWM socket, which has assured me it couldn't receive the PWM signal.

Searched for the internet about the DRV8833 and I found out that it actually can receive PWM inputs, and it's not separated with the HIGH/LOW inputs as with the TB6612, but it's integrated with the AIN/BIN inputs, which is great! 

I rewired the wires and it needs 2 fewer GPIO outputs than before, as it doesn't need a separated HIGH/LOW signal and the PWM signal for each of the motor control, and it works very nice.

It is a good chip, effective, and small, but looking at its size, I don't know about its reliability. Well, let see how long this chip will last with me.