Reading USB sensors using callbacks

By Sébastien Rinsoz, in Programming, february 14,2012.

Most examples that we provided so far to interact with Yoctopuce USB sensors use sequential function calls. This is called the procedural approach, using polling. We recommend this technique as a starting point, because it is generally more intuitive and less risky. There is, however, an alternative approach, sometimes more convenient: the event-based technique, using callbacks. This is the new API feature that we present today.

No comment yet

The USB data logger

By mvuilleu, in Measures, february 06,2012.

One of our customers recently noticed that the description page of our temperature, light, humidity, and pressure sensors mentions the capability of recording data to a flash memory. The documentation however does not cover this topic, and there is nothing about it in the programming library either. It is now time to fix that...

No comment yet

Luminous USB picture frame

By martinm, in DIY, january 28,2012.

Do you recall the USB/laser mail box? It is working well, thank you. But the signaling part has a big WAF issue. Indeed, a Yocto-Color device directly glued on the wall might look at bit ugly to some sensitive people. This article will explain how to use Plexiglas® refraction/reflexion properties to make a luminous picture frame with a changing color feature.

No comment yet

New products !

By mvuilleu, in New stuff, january 21,2012.

This week, we are happy to announce the availability in our on-line shop of two new USB sensors: the Yocto-Meteo, that superseeds the Yocto-Humidity, and the Yocto-Light, that was used in last week project. Let's take this chance to tell you more about them.

No comment yet

The laser USB mail box

By martinm, in DIY, january 13,2012.

Do you remember the Yoctopuce mailbox we customized to detect the postman? Well, the system was working reasonably well, but it had some flaws. We had to use insanely long and expensive USB cables, the ball-switch wires were too fragile to be put on an articulated part, and the system could only detect letters, not parcels (our mail box has two sections, one for letters the other for parcels).

So we decided to improve the concept using a Yocto-Light and a laser.

3 comments

1 ... 10 ... 20 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 119 120 121 122 123 124 125 126 127 128 129

Yoctopuce, get your stuff connected.