Do you remember the laser mailbox? It works quite well, but we noticed a very annoying defect. Because the mailbox is made of metal sheets, it tends to slightly deform itself depending on temperature changes. This deformation changes the laser beam trajectory inside the box, sometimes to the point of bringing it off the light sensor target. Therefore, we had to regularly adjust the mailbox to solve this issue. After a while, we had enough and we came up with another idea to fix this. But this time, we are seeing big: we are going to render our mailbox autonomous thanks to a solar panel and a Wifi connection.
Last week, we used the new version of the library to trace a dynamic graph in C# .NET. At that time, we saw that the new Datalogger API and the TimedReport made the work a lot easier. This week, we are going to develop a small Android application that also traces a graph from the datalogger and from current values. But we are going to see that things are a little more complex under Android ...
Not long ago, tracing a dynamic graph with the values of a Yoctopuce sensor required you to have a database to store the history. Indeed, retrieving the data from the data logger was clearly too slow for an interactive application. It so happens that the data logger component of Yoctopuce products has been greatly improved, at both the API and firmware levels. Retrieving data from the data logger is now done in a flash. Demo with a C# example.
Until now, it was possible to use the standard Java library to access a YoctoHub or a VirtualHub, but one working mode was missing: the HTTP callback mode. This mode, previously available for PHP and Nodes.js only, is now available in the beta version of the Java API (v1.10). Let's show how to write a Java Servlet that can interact with a Yocto-Hub.
Among the precursors of today's automatic systems, we have the magnificient fairground organs used to accompany fairground rides and attractions in the 19th century. Without pretending to go into something as magisterial, we didn't resist the temptation to build an automatic instrument driven by a computer, based on Yoctopuce modules, to see where the difficulties would lay. Result: it's quite easy and it's not even that long to do. Supporting evidence in a video below!
1 ... 10 ... 20 ... 30 ... 40 ... 50 ... 55 56 57 58 59 60 61 62 63 64 65 ... 70 ... 80 ... 86