QuantityUnit(s) | Discount per unit | Net price per unit |
{{(typeof focus_pdata.price_list[idx+1] == 'undefined')?('≥ '+price_row.min_quantity):((price_row.min_quantity < (focus_pdata.price_list[idx+1].min_quantity - 1))?(price_row.min_quantity+' - '+(focus_pdata.price_list[idx+1].min_quantity - 1)):price_row.min_quantity)}} | {{number_format(((focus_pdata.price_old === null)?focus_pdata.price:focus_pdata.price_old) - price_row.price,2)}} THB | {{number_format(price_row.price,2)}} THB |
In-stock | ชิ้น |
Quantity (ชิ้น) |
- +
|
BUY NOW Add to cart BUY NOW Add to cart This item has already been added to your cart 0 ชิ้น
Other purchase channels
|
|
|
|
Chat with seller | |
{{ size_chart_name }} |
|
Category | IMU / Tilt / Angle / Vibration sensors |
Type | New item |
Condition | |
Type | Pre-owned Items |
Condition | |
Item status | |
Prepare duration | |
Join promotions | |
Information |
Item weight
Barcode
Created time
Last updated on
|
Item description |
รายละเอียดสินค้า
วิธีการต่อวงจรแบบ I2C (ตำแหน่งขาอาจไม่ตรงกัน ให้ดูที่สัญลักษณ์เป็นหลัก) ![]() ตัวอย่าง Code /* Arduino and ADXL345 Accelerometer Tutorial www.arduinoNa.com */ #include <Wire.h> // ไลบรารี่ที่ใช้กับการสื่อสารแบบ I2C int ADXL345 = 0x53; // ตำแหน่ง Address บนบัส I2C ของ ADXL345 float X_out, Y_out, Z_out; // ค่าที่ได้รับแต่ละแกน void setup() { Serial.begin(115200); Wire.begin(); // ใช้ I2C ต้องมีการเริ่มด้วยบรรทัดนี้ทุกครั้ง // เริ่มอ่านค่า ADXL345 Wire.beginTransmission(ADXL345); // เริ่มสื่อสาร Wire.write(0x2D); // สั่งให้ register POWER_CTL - 0x2D Wire.write(8); // (8dec -> 0000 1000 binary) เซ็ตบิต 3 เพื่อเริ่มวัดค่า Wire.endTransmission(); delay(10); } void loop() { // === อ่านค่า acceleromter data === // Wire.beginTransmission(ADXL345); Wire.write(0x32); // เริ่มจาก register 0x32 (ACCEL_XOUT_H) Wire.endTransmission(false); Wire.requestFrom(ADXL345, 6, true); // สั่งให้อ่าน 6 registers, โดยแต่ละแกนใช้ 2 registers X_out = ( Wire.read()| Wire.read() << 8); // X-axis value X_out = X_out/256; //สำหรับช่วง +-2g ตาม datasheet ค่าที่ได้ต้องหารด้วย 256 Y_out = ( Wire.read()| Wire.read() << 8); // Y-axis Y_out = Y_out/256; Z_out = ( Wire.read()| Wire.read() << 8); // Z-axis Z_out = Z_out/256; Serial.print("Xa= "); Serial.print(X_out); Serial.print(" Ya= "); Serial.print(Y_out); Serial.print(" Za= "); Serial.println(Z_out); } รายละเอียดเพิ่มเติม 1. On-board ADXL345 digital output (supports I2C / SPI), low power consumption, compact acceleration sensor; 2. Support 5V / 3.3V voltage input, on-board RT9161 power chip, lower voltage drop than 1117, faster load corresponding speed, very suitable for high noise power environment;
3. The commonly used pins have been led out, and the pins are standard 100mil (2.54mm), which is convenient for dot matrix boards;
4. PCB size: 28 (mm) x14 (mm)
5. Post-purchase test procedures and related information ![]() ![]() |
Conditions |
|
Tags |
Every item comes with a 30-day warranty. However, there are certain conditions that apply:
The customer should not be responsible for any self-inflicted damage, such as incorrect power connections (for example, supplying 5V instead of the required 3.3V for a sensor).
The product must be in perfect condition, without any breakage or damage caused by electricity (e.g., short circuits leading to electrical fires).
The store does not accept product exchanges due to customer misunderstandings, such as purchasing the wrong size for their project or buying something without eventually using it. Customers can inquire about the product details and ensure compatibility before making a purchase by contacting us through our Line account @modulemore during business hours. Please note that there may be delays in response between 12:00 PM and 2:00 PM.
Return Policy: To initiate a product return, customers must provide the original receipt or a copy for quick verification. Returns can be sent to our store address by following these guidelines:
Please note that the store reserves the right to make the final decision regarding product replacement or refund.
Pageviews | 2,072,435 view(s) |
Visitors | 1,333,161 time(s) |
Last updated | Sep 6, 2025 |