Blog

A pseudo terminal for the Yocto-Serial

By seb, in Tiny PC and Programming, may 20,2016.

Many home automation projects use mini-PCs running under Linux. Some of these mini-PCs have an HDMI output, but other, such as the OLinuXino, don't have a video output. In this case, the solution to configure these boards is to use a serial console. The problem is that no computer has a serial port anymore and if you have an old enough computer to have an RS232 port, you can't use it because the RS232 port works in 12 Volts. The traditional solution is to use a USB-serial adapter sold by the constructor. But you can also use a Yocto-Serial.

No comment yetRead more...

A new EcmaScript / JavaScript library for Yoctopuce

By mvuilleu, in Programming and New stuff, april 10,2016.

Some time ago, we presented the beginnings of a new Yoctopuce library designed to modernize our JavaScript support, for browsers as well as for Node.js. After three months of internal and external testing, and many improvements, it is now time to make official this EcmaScript library which is now supported at the same level as all the other languages.

No comment yetRead more...

Retrieving recorded measures over the Internet

By seb, in Programming, march 04,2016.

There is a data logger in almost all of our sensors. This data logger can automatically record values measured by the sensor. The advantage is that it continues to record data even network connectivity is lost or when the application stops. When the application takes control again, it is possible to get back the measures performed during the interval. But up till now, it was unfortunately impossible to retrieve data logger measure using the HTTP callback mode. Thanks to the new WebSocket callback mode, you can now use the data logger over an Internet link without limits. This week, we are writing a Java web application which illustrates this feature.

No comment yetRead more...

Yoctopuce modules: inventory and tree structure

By martinm, in Programming, january 17,2016.

The Yoctopuce API was designed to easily drive any Yoctopuce module with a minimum of code. It's therefore very easy to make an inventory of all the modules directly connected by USB to a machine. However, up till now, it was rather difficult, not to say impossible, to rebuild the exact tree structure of a system based on Yoctopuce modules, in particular for modules connected via the network. The latest version of the API now allows you to do this thanks to three new functions.

No comment yetRead more...

The WebSocket callbacks in Java

By seb, in Programming and New stuff, january 01,2016.

Last week we published a preview of our Java and Javascript library with WebSocket support. This week we have updated our RSS feed reader example in Java, which was using the classical HTTP Callback. We have now made it interactive with the help of WebSockets.

No comment yetRead more...

1 ... 10 ... 20 21 22 23 24 25 26 27 28 29 30 ... 37

Yoctopuce, get your stuff connected.