Why Docker sounds like a revolution ?

20140418-082531.jpgThese two last days, I was participating to devoxx in Paris. One of the star topic of the event this year was Docker so I attempt different talk about this container technology I already has discovered in a previous JUG session. It was not an evidence that this technology was more than something interesting for DEV needing small, fast starting, small memory footprint, environment for testing. With my OPS hat, I did not catch the interest. This was before Devoxx and the different talk. The aspects I’ll detailed in this post have not been addressed during Devoxx, as much as I have seen, as mostly the DEV aspects have been addressed, I going to synthesize my opinion.

Continue reading

Create a 3G Pir sensor with a raspberry Pi

Raspberry Pi 3G PIR sensor

Raspberry Pi 3G PIR sensor

Basically, it is something I was looking to do with SigFox, but unfortunately yesterday I bricked my chip because of a wire unsoldered right in the middle of the upload of a new firmware version … By the way, I’ll do it later once it will be fixed.

So I had to built it on a raspberry as a short term solution. Read next to get details

 

Continue reading

What about TD1208 / Sigfox current consumption ?

In a previous post about SigFox technology, I told I will measure the power consumption to see if the device can be use with a battery easily. And what I can say is that they have made a great job on power saving with this device.

What I measure (with my really low cost multi-meter) is a standby consumption of 2uA and a transmission power of 45mA. The transmission of a message is not depending on the size of the message and is about 7s. As you can transmit up to 1 message every 15 minutes, the communication consumption is an average of 0,35mA/h.

Assuming battery from 750mA to 2500mA this is an autonomy from 4 months to 10 months. It’s a really interesting duration on battery and not comparable with a 3G communication system.

Now … testing is finish … I’ll start to implement a first POC for a project !

Hack fun !

Using Sigfox callback API to create your own application

In different previous post, I explained what is SigFox technology (a radio-communication system made for Internet Of Things, allowing a sensor to communicate with servers on Internet at an affordable price) and how to send data from a sensor to the SigFox backend.

This new post is explaining how to configure this back-end to get the sensor data loaded in your system and create your own application.

Continue reading

Let’s start playing with sigfox technology

SigFox with TD1208I already wrote some stuff about Sigfox here, so may know that it is a really promising French technology IoT oriented. So I have a project to connect a Raspberry Pi and arduino system on a such peripheral.  The use of this technology is quite easy as it works like a modem, based on AT command transfered over a 9600bps serial line.  The main issue is that the chip is really CMS and hard to hack at home easily… by the way, as you see, a poor soldering makes it working for the test purpose.

As much as I have test, I can say that using this device to communicate with an Arduino or a PI is really easy ! code can be written in less than a minute ; compared to what you have to do to make wifi / Ethernet / GSM working in a stable way, this is incredibly easier ! You can also use the device as an autonomous sensor for temperature and contact switch of your choice for an affordable price.  In my point of view one thing is missing : you do not really know the signal quality and if you have a good connection or not with sigfox network. [update] The RSSI is indicated in the SigFox Api on the backend side for each of the received messages [/update] . Meaning you must receive the first one to know if the location is covered or not. This can be a problem to deliver a product and get an easy support to your consumer. The other limit of the technology, as much as I know is that you can transmit data but not receive some from the SigFox network [update] The ability for the device to receive messages will be soon added with limitation, but it will [/update]. In many case it is enough but sometime you like to respond to a specific value received. Read next to get details on how to use it …

Continue reading

Use SPI port on raspberry PI

SPI is a frequent way to interface slave device with a micro-controller / cpu. SPI is a 4 wires synchronous connection between a slave and a master. As part of the 4 wires, there is a CLK signal, the speed is not defined and depends on the slave but it is usually > 10Mhz. SPI allows fast data transfer. Two data signals (MISO and MOSI) for Master (In/Out) Slave (In/Out) are used to transfer data in sync with the CLK clock. The last wire is a chip select signal named CEx for Chip Enable. As you can manage multiple slave, you have to manage different CEx signal, one per slave.

Continue reading