Capturing Serial Data from Nidec Shimpo Force Gauge

We wanted to automate some testing. We had a Nidec Shimpo FG-3008 force gauge that we wanted to capture data from, but no obvious way to get it. Nidec Shimpo do offer their EDMS software that can log and graph data over time, but it can’t be automated.

The force gauge has two connectors, a USB-B port that is used for charging the force gauge and another port that has a serial out (only for connection to a printer) and some output pins that react relative to a set pin.

When connected via USB, the force gauge shows up as a COM port. The EDMS software obviously connects using this port. Connecting a terminal to the port doesn’t show any data streaming, implying a query needs to be sent to the force gauge to trigger a reading.

We eventually figured out that when you send a ‘?’ (0x3f) to the force gauge, it replies with the current force reading in plain text, of length dependent on the number of characters in the measured value, the last character always being a carriage return (0x0d).

Testing with Realterm

With this information, data capture can be easily automated with Python.

import serial

ser = ser_obj = serial.Serial("COM4",


2008 Hyundai Tucson 2.0 GLS

I’ve been spoilt in the last few years with the vehicles I’ve been able to drive on a daily basis. And I fear it has spoiled me (1, 2, 3, 4). When we moved to the US, I didn’t have work lined up and had to wait several months for a work permit. During that time we were living off a grad-student salary and savings. Very quickly we realised the need (or extremely strong desire) for a vehicle to get aroudn and out of LA. Although living in close proximity to public transport, it lacked in many areas. So we were shopping on a budget. Definitely pre-owned, but we wanted something we could at least take into the wilderness. 4WD wasn’t off the cards, but not a necessity.

As such our vehicle search landed us with a lowish mileage (72,000 miles) 2008 Hyundai Tucson. It was well-priced, likely as a result of its manual transmission and “small” 2.0 petrol engine. Besides a couple scratches on the bumpers, it was devoid of major dents or indication of having been in an accident. And so it became ours. It had two open recalls, which the Hyundai dealership quickly sorted for us free of charge and has otherwise been problem free.

Since getting it we’ve replaced the tires and brake pads, as well as the front rotors. An oil change and other minor maintenance have been all its required. Almost 10,000 miles in, and it’s still going strong. It doesn’t use oil, has been surprisingly capable off-road, and the platinum paint job hides the dirt well.

But as I mentioned I’ve been spoilt, and this car is underwhelming to drive. My 1996 Audi competes with this Hyundai on features. But it’s a car. It gets us from A to B, and doesn’t complain. The 2.0l engine is surprisingly sprightly, but lacks torque when climbing long hills at highway speeds; of which the Americans are fond. Was it a bad decision? definitely not. As we’ve gotten to know California better, my only regret is not having looked for a 4WD version. The ground clearance has let us do a good amount of exploring, and while the boot (trunk) isn’t large, it’s ample for two people, and camping for four has been achieved. Even in a bit of snow.

If you’re looking for an amazing car. This isn’t it. It has power steering, it has electric windows, and it has a radio (with front loader). It has AC, that battles on the hottest of LA days, but is otherwise capable. It has airbags and we’ve added a towbar. It is a car; it is ours; and we like it.

There isn’t really anythign else to say about it. It has done all that we’ve asked of it, but bar the fact that it is our Tucson, it is nothing special.

Would I suggest you buy one? Sure. If it meets your needs, and you can get one for a good price. Hyundais of this generation have a good reputation for reliability. And I expect this car to convey us many more 10s of thousands of kilometres before we eventually give it up.

Although we could afford a new car, why? We either cycle or take public transport to work. The car sits at home during the week, besides the odd grocery run. Otherwise it sits in waiting; waiting for our next adventure. It is a car, and it is ours.

Lego! For adults?

When I was younger, I was fortunate enough to get to play with a fair amount of Lego. An older brother meant I started out with a decent sized selection and was able to grow that as I too grew up. I would occasionally get new sets, but mostly made do building all kinds of things with the variety of Lego I had. I was usually encouraged to put money I received for birthday’s and things into my savings account, but remember winning some money in an art competition (go figure), and my Mom allowing me to buy a new Lego set. A special treat. I’m quite sure I used the whole amount R300ish to purchase the Res-Q Hovercraft 6473 set.lego6473That’s probably the last set I can recall receiving. It would have been 1998 some time. And while I enjoyed building the set; once it was completed and played with, it got torn apart for scraps, to be used in other developments. I can’t recall any set I received since then. My parents stocked me up on miscellaneous blocks for the various fortifications I built, and I continued to build occasional Lego items through high school. But little thereafter.

20 years later, I have money I can spend. The money was a gift, so with minimal effort I can convince my wife that it’s okay for me use it to buy Lego. But what to buy? The selection is truly huge, with wonderful NASA creations, various vehicles, the whole Technic selection. How does one decide? Eventually I settled on set 42043, a Lego Technic set of a Mercedes-Benz Arocs 3245. Partly as an homage to my previous employer, partly because it was close to 3000 pieces and reasonably priced, and partly because I have a fascination with trucks and large vehicles in general.

lego42043Little could I contain my excitement when Amazon delivered my first new Lego set, me in my late 20s. I knew this was a fairly large build, but was still amazed by the weight of the box, coming in at over 4kg. The build took a fair amount of time, but I was able to complete it in a few days in my free time. It was a hard battle between wanting it to be finished and wanting the build to take as long as possible.

Instructions are mostly clear, and I only made a few minor mistakes along the way. The instruction book has over 460 pages. But it was fun. It’s not especially difficult, you just follow instructions, but it was a nice way to shut off after a long day at work. Building is a methodical balance between reading the instructions, searching for the part on my limited work surface, and then fighting some of the parts to fit.

Looking at the Lego 42043 set itself, I was quite impressed with some of the technical implementations. I had previously built a much smaller technic set, whose most advanced feature was a piston block and a rack and pinion gear train for steering. This truck has independent suspension, two differentials and two-axis steering. Additionally there’s a battery powered DC motor that supplies power to a number of devices. Under the drawbed is an array of gears and gear selectors, similar to those in function on a manual gearbox.

These allow you to separately actuate:

  • the lifting and dropping of the drawbed
  • the extensions and retraction of the stability arms
  • rotate the boom arm
  • power the pump for the pneumatics.

The pneumatic pump then (although obnoxiously loud) supplies pressure to four pneumatic actuators on the boom arm that allow you to:

  • lower and raise the boom arm (two separate sections)
  • extend and retract a section of the boom
  • open and close the scoop.

Along with this are a number of other smaller features. What impressed me the most was the attention to detail and how all these features come together.

My least favourite part of the whole build, was putting the tires on the wheels. There are 12 wheels, and 12 tires, and you have to push the tires over and get the seals to line up. Not hard, just not as fun as the rest of the build.

My only disappointment of the set, is the pneumatic system. It’s really cool, and was fun to play with. It’s impressive what they’ve achieved, but the boom arm is heavy, and the pneumatic pump is small, so trying to lift the system is slow. In reverse, when gravity is helping, the system will drop instantaneously (yeah compressible fluids). I know why this is, and once you get the hang of it, you can kind of control how fast the boom lowers by limiting how much you adjust the lever.

Having built this set, I’m sure I’ll get another set at some stage, I think I value part count the most, as I want a longer build time, so I’m interested to see what my next set will be. It’s fun, and relaxing to build. I haven’t yet found a place to display my truck, but online there are instructions provided for alternative builds for the same parts. So I see myself tearing this apart and building something new. Also, they provide extra pieces in the set, like spares. Which is concerning when you’re used to building something and left over pieces implying you did something wrong.

Through all this, I’ve not yet answered my title question. And yet I think the answer is obvious. Yes. Lego, for adults. Much like a jigsaw puzzle, I think people of all ages can derive joy from the process of building, and with the huge selection that is on offer, the result can be a model of something you have an interest in. In some ways it reminds me of the ‘adult’ colouring in books that were notably popular a few years ago, albeit more expensive. I think the building can be as therapeutic as colouring in, not requiring much thought, but with a visible result at the end of the day.

Fake News makes me sad

While some of the blame for the surge in fake news belongs with organisations such as Facebook; it seems unfair to put it all on them. It’s up to us to do something as well. Mainly educating those around you who may inadvertently share such material.

Over the last few months I’ve come across a few articles to trigger this post. I don’t post much to Facebook, but tend to scroll through my feed several times a week. And with the amount of messed up stuff happening around the world, it’s making it harder and harder to discern what’s fake and what’s real. For whatever reason, it seems to be on Facebook where I notice most of these articles. Whether it’s just because of the number of ‘friends’ I have, or another reason, I see less such posts on other sites I frequent.

The first article I came across had the headline: “Your baby in you can also get pregnant if you have sex while you are pregnant – Minister of Health warns SA women on women’s day”. Now are ministers take a lot of flack for a lot of reasons. Often warranted. But some statements are too unbelievable to be true, which is generally my first indication.

The article is published by a website called “News at Last”. If you really want to check them out, their current domain is newsatlastsa(dot)online. Not believing this could be true, I checked out the website, and did some googling and searching of other news websites. No one else was reporting this. Based on this information, and the lack of any credibility or supporting evidence on the News At Last’s website, I deemed this fake news. Their only contact details are an email address on a domain that WebAfrica have listed as suspended.

More recently was an article published last week by HIN News – hinnews(dot)com. Apparently it stands for Happenings In Nigeria, but their logo looks like someone tried to poorly Photoshop the BBC News logo. Their Facebook page has a concerning million+ followers and likes.

I googled BBC news, and saved the first image. The HIN logo is a pixel for pixel copy of the BBC logo, besides the off-centred and off-colour text edit.

The article in question was titled “Breaking!!FARM MURDERS: US President Threatens To Intervene If South Africa Does Not Come Up With A Solution To Farm Murders.” Ignoring the two exclamation marks, the article was brief and ended with the author’s personal opinion on the matter. Odd for what one would suppose is an unbiased objective report on something that happened.

But it didn’t happen. Well not as far as I can tell. Nor can I find any reputable news site reporting anything related. While I’m about this, I’m going to throw Gossip Mill Msanzi, gossipmillsa(dot)com into this boat as well. They seem to be offering up the same garbage as the others, and whether intentionally or not, no credible news site should be posting articles without verifying the source.

The biggest problem, is these sites intersperse these fake articles with hoards of actual articles which they lift from larger news organisations, attempting to give them a credible appearance on first glance.

I don’t know what the answer is, but I implore everyone to take an extra look at those news articles. Especially the ones with the lovely clickbait titles. It’s hard to know for sure, but if you can’t verify it’s legit, rather don’t share it until you have reason to believe it’s true. On the same note, if you have friends and family posting articles which you know to be false, call them out on it. It doesn’t have to blatant and rude. Send them an email or PM, telling them you think an article they shared isn’t real and the reasons you think this.

I like to think that most of the people I know wouldn’t intentionally post false information, and approach them with that attitude. I want them to think twice next time a similar article comes up.