Home Creators Posts Import Register Favorites Logout

Content

It's time for an update. During these busy summer months I've mostly been doing bug fixes and working on some of the less visible and sexy stuff that makes a real difference to user experience.

A few days ago I put out a release that included bug fixes for TCode v0.4 for the Arduino and ESP32 OSR2/SR6 code. There were a couple of issues with the new code that people had noticed and I had to hunt those down and fix them.

I've had a few people ask what the benefit is to putting TCode v0.4 onto their devices. Whilst there should be some small improvements to stuff like live control the real benefits will start to appear over time as the script players and control apps start to adopt the expanded protocol: XTP and MFP already incorporate it. Much smoother movements with lower data rates are now possible.

With the bug fixes out I have turned my attention to getting TCode v0.4 onto my brushless motor devices. It's actually very easy to drop in the new TCode library, but I have been taking the opportunity to re-work my code and make long overdue improvements to the motor control algorithm.

For a long time now I have been aware of some roughness in the motion of SSR1 and SSR2 (control voltage plot pictured above), which I had previously attributed to the way the motor loop runs alongside other tasks on the ESP32 processor. On closer investigation I discovered that this is actually noise created by the motor control algorithm. I have since been able to make changes that make the motion significantly smoother.

So you might not think coding is sexy, but you wait until it's moving a fleshlight!

I have also been making updates to the code to make it run with the latest ESP32 and SFOC releases. They keep putting out "updates" that break my code, which cause issues when users compile the code in Arduino IDE. Ultimately the direction I am going is that I'm going to supply the code for those of you who want it, but I also want to make pre-compiled binaries and a tool to flash them to the ESP32 available. That should make everybody's lives much simpler.

For my maker tier patrons I intend to get the significantly improved SSR1 code out in the next few days. SSR2 is going to need more work, so I'll aim to get it out later this month.

For those of you on my supporter tier I plan to do a livestream on Monday 3rd August (11pm BST, 6pm EDT). It's difficult to livestream the fruits of a coding marathon, but I'm going to give it a go.

My benefactors will have seen me waxing lyrical at great length about rebound deceleration and back-EMF in the last week or so in the special channel on Discord. If you want to give me that extra bit of support and get a unique window into my work it's the place to be! Once I get the SSR1 code up the next instalment of the newsletter will be my next priority.

Thankyou again to everyone who supports my work. It's you that makes this continuous improvement of these devices and what they can do possible.

Tempest

Files

Comments

No comments found for this post.