Blog

A debug tool for Modbus

By martinm, in Misc, may 13,2022.

We have to admit that working with Modbus devices is quite tedious: data are often binary encoded, and all the transactions are validated with a checksum, forcing you to write some code before being able to obtain any result. So, this week, we have a small present for customers using Yoctopuce modules to drive Modbus devices.

No comment yetRead more...

A scale for large packages

By Tiago may 09,2022.

At Yoctopuce, we electronically send the information of all our packages, whether it is the content or the weight. For the later, we use a USB scale which is limited to a weight of 10 Kg. To overcome this limitation, we are going to test several types of scales, with a Yoctopuce sauce of course.

One commentRead more...

Detecting modules in "update" mode with the cmdline

By seb april 29,2022.

Our command line library enables you to use almost all of the features of our API directly from a terminal. But some debug features, such as the creation of a dump of the state of the Yoctopuce modules, were not available. This week, we present two new commands which could help you if your modules are not working correctly.

No comment yetRead more...

Catching log messages

By seb, in Programming, april 22,2022.

When you design an automation solution intended to last, you must think about integrating tools which you will need one day to detect failure signs or aging signs. In some cases, this goes through managing error messages or exceptions. But on top of this, there can be diagnostic information transmitted by the modules: log messages. We are going to show you here how to integrate them into your projects.

No comment yetRead more...

Scanning an I2C bus

By martinm, in Programming, april 15,2022.

A customer pointed out to us that the Yoctopuce API doesn't allow for the Yocto-I2C to scan an I2C bus to detect the devices connected to it. It turns out that this is not quite accurate...

No comment yetRead more...

1 ... 10 ... 15 16 17 18 19 20 21 22 23 24 25 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 130 ... 132

Yoctopuce, get your stuff connected.