Blog

Installing a TypeScript application on a YoctoHub

By mvuilleu, in Programming and Internet of Things, february 12,2021.

The TypeScript language is a great improvement on JavaScript, as it allows for error detection during compilation rather than during run time. But if it's quite easy to integrate with Node.js, its use to write HTML interfaces without a Node.js server is not so trivial. We are therefore going to show you how to implement an HTML application in TypeScript which optimizes network transfers, so as to install it directly on a YoctoHub-Ethernet.

No comment yetRead more...

How to start in TypeScript with Yoctopuce modules

By mvuilleu, in For the beginners and Programming, january 29,2021.

Starting this week, you can use Yoctopuce modules directly from an application written in TypeScript. We have indeed just published a new programming library for this language, which is becoming more and more popular. It's therefore the occasion to offer you a tutorial for new users of Yoctopuce modules, with a short and simple but realistic example. As usual, we assume that you have some prior knowledge of TypeScript programming, but we'll explain the rest in detail.

No comment yetRead more...

A light sensor for a connected cat flap

By mvuilleu, in Internet of Things, DIY and Programming, january 11,2021.

A few months ago, a small feline has taken up residence next to Yoctopuce and sometimes comes to visit. So that it can come in and out freely during the day, we installed a microchip cat flap which we can control remotely. When we installed it, we thought that there was bound to be some interesting tinkering that we could do with the cat flap and some Yoctopuce modules, and there we are...

No comment yetRead more...

One thousand methods to include the JavaScript library

By mvuilleu, in Programming, november 20,2020.

JavaScript is a language that doesn't stop evolving under the influence of web application developers. Moreover, the will to reuse components from one project to another and to ease the creation of web interfaces lead to the emergence of numerous systems of modules, of packaging, and of interface design frameworks. This lead in turn to multiple ways to integrate our library, depending on the framework used. Here is a short summary of the current situation and of the latest news.

No comment yetRead more...

Yocto-I2C and TSL2591

By martinm, in Measures and Programming, november 13,2020.

Someone recently asked us how to interface an AMS TSL2591 ambient light sensor with the Yocto-I2C. It's an interesting question for two reasons: the TSL2591 is considerably more sensitive in low light than the Yocto-Light-V2 or the Yocto-Light-V3 and more particularly its I2C protocol is not the simplest to implement. It's an opportunity to test the limits of the Yocto-I2C autonomous job system.

No comment yetRead more...

1 2 3 4 5 6 ... 10 ... 20 ... 27

Yoctopuce, get your stuff connected.