<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tensile test machine?]]></title><description><![CDATA[<p dir="auto">Hi! I would like to get your assitance/assessment on a project :)<br />
Specifically if it is doable with UIflow2 or if I need to switch to micropython?</p>
<p dir="auto">I have:<br />
M5stack core s3<br />
M5stack Unit weight-I2C<br />
M5stack Stepmotor Driver Module 13.2 v1.1<br />
10kg load cell<br />
Step motor<br />
trapzodial rod T8x4.</p>
<p dir="auto">My aim is to build a small tensile test machine and plot displacement vs. load.<br />
Basically:<br />
*calibrate load cell with known weight.<br />
*Tare<br />
*Move load cell by stepper and count step(i.e displacement)<br />
*Poll load cell<br />
*Stop at a set max load<br />
*Save load vs disp in a csv-file<br />
*Reverse motor back to org position</p>
<p dir="auto">And a graphic on the display showing buttons for calibrate, tare and start.</p>
<p dir="auto">Best regards, H</p>
]]></description><link>https://community.m5stack.com/topic/7696/tensile-test-machine</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 15:16:42 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7696.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Jul 2025 11:13:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tensile test machine? on Fri, 18 Jul 2025 01:40:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killernils" aria-label="Profile: killernils">@<bdi>killernils</bdi></a> Your project is feasible with UIflow2 (MicroPython). Here's the breakdown:</p>
<p dir="auto">Hardware Compatibility:</p>
<p dir="auto">CoreS3 (SKU:K128) supports both Unit Weight-I2C and Module13.2 Stepmotor Driver v1.1 (SKU:M039-V11) via I2C<br />
Stepper driver provides precise control with microstepping (FULL to 1/32 step) and step counting<br />
Weight unit offers calibration, tare function, and filter settings through UIflow2 blocks</p>
<p dir="auto">Required Functions Implementation:</p>
<p dir="auto">Load Cell Calibration: Use WEIGHT_I2CUnit.set_calibration() with known weights<br />
Tare Function: Implement via WEIGHT_I2CUnit.set_reset_offset()<br />
Stepper Control: Utilize StepMotorDriverModule methods for direction, microstepping, and PWM frequency control<br />
Position Tracking: Count steps using motor control commands and convert to displacement based on T8x4 rod (4mm per revolution)<br />
Data Logging: Use UIflow2's file system blocks to save CSV data to internal storage<br />
HMI Interface: Create buttons and plots using CoreS3's display blocks</p>
<p dir="auto">Implementation Considerations:</p>
<p dir="auto">Ensure proper power supply (9-24V) for the stepper driver<br />
Implement step delay logic for smooth motor movement<br />
Add error handling for load cell over-range conditions<br />
Use filter functions on weight readings for stable measurements</p>
<p dir="auto"><a href="https://chat.m5stack.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://chat.m5stack.com/</a></p>
]]></description><link>https://community.m5stack.com/post/29540</link><guid isPermaLink="true">https://community.m5stack.com/post/29540</guid><dc:creator><![CDATA[yuyun2000]]></dc:creator><pubDate>Fri, 18 Jul 2025 01:40:15 GMT</pubDate></item></channel></rss>