Tuesday, 10 December 2019

Arduino Wire.requestFrom() Description & Explanation

I will talk about the "Wire.requestFrom()" from the Arduino Wire library for AVR microcontrollers (for example the Arduino Uno).

The Wire.requestFrom() is only called by an Arduino which is the Master on the I2C bus. The Wire.requestFrom() does a complete I2C transaction, with START, STOP, reading databytes, everything.

  • First it sends a START
  • Then it puts the I2C address on the bus with the "read" bit in the lowest bit.
  • It checks the acknowledge from the Slave, if there is a acknowledge, then continue with reading data bytes.
  • It reads a byte and give an acknowledge to the Slave for the next byte. It puts the read byte in a buffer (inside the Wire library).
  • After the last byte is read, it does not send a acknowledge. Sending "no acknowledge" is the same as a NACK.
  • It sends a STOP.

That's it. After calling the Wire.requestFrom(), the read data is in a buffer inside the Wire library. The activity on the I2C bus has finished.

You can read those bytes from that buffer with Wire.read(), and Wire.available() tells how many bytes are still in that buffer.

The Arduino reference about the Wire library caused a lot of confusion in the past, so I made an alternative explanation.

Is this enough detail, or do you want to know about that the Wire library is interrupt-driven, but the Wire.requestFrom() is still blocking ?

Tuesday, 16 May 2017

Pengertian Bulldozer Komatsu


Bulldozer merupakan sebuah tractor rantai (crawler tractor) yang berfungsi untuk melakukan pekerjaan menggali, menggusur, mendorong tanah atau material, menarik beban dan ripping. Unit ini dapat beroperasi dilingkungan berbatu, berbukit, maupun tanah lumpur. Lingkungan kerja dari unit ini adalah di lingkungan pertambangan (mining), konstruksi (construction), logging, forestry dan perkebunan.

Product Line
Secara garis besar Bulldozer Komatsu terbagi kedalam 4 tipe, yaitu : Bulldozer,
Swamp bulldozer, Dozer Shovel, dan Pipelayers



Bagian-bagian Bulldozer


Keterangan :

1. Blade
2. Lift Cylinder
3. Cabin
4. Fuel Tank
5. Ripper
6. Sprocket
7. Track Roller
8. Straight frame
9. Track shoe
10. Canopy

Power Train Pada Unit Bulldozer Komatsu

Pada Unit Bulldozer terdapat 3 jenis power train yaitu :
1. Direct Drive
2. Torqflow Transmission
3. Hydroshift Transmission

A. Bulldozer dengan Direct Drive System
1. Engine
2. Clutch
3. U-joint
4. Mechanical Transmission
5. Steering Clutch
6. Steering brake
7. Sprocket
8. Track

Pada unit ini masih menggunakan clutch sebagai pemindah tenaga dari engine ke
Transmisi. Contoh unitnya adalah D70LE.


B. Bulldozer dengan Torqflow Transmission System
1. Engine
2. Torque Converter
3. U-joint
4. Torqflow Transmission
5. Steering Clutch
6. Steering brake
7. Sprocket
8. Track
9. T/M Control Valve

Pada unit dengan powertrain ini menggunakan torque converter sebagai
pemindah tenaga dari engine ke transmisi. Jenis transmission gear box yang
digunakan pada system ini menggunakan system hidrolis (planetary gear system). Ada
beberapa unit yang dilengkapi dengan damper dan ada juga yang tidak dilengkapi
dengan damper.


C. Bulldozer dengan Hydroshift Transmission System
1. Engine
2. Damper
3. U-joint
4. Torqflow Transmission
5. Steering Clutch
6. Steering brake
7. Sprocket
8. Track
9. T/M Control Valve



Pada unit yang menggunakan transmisi jenis ini tidak menggunakan torque
converter maupun clutch. Akan tetapi system ini masih menggunakan transmission
gear box dengan system hidrolis (planetary system) dalam pemindahan tenaga.