Use of BeagleBone GPIO for SWD programming

Recently I killed on of SigFox Td1208 device by misprogramming it, destroying the bootloader. In a such situation serial port is not anymore accessible for programming. The use of JTAG port is a necessity. On the TD1208, jtag has been repaced by SWD which is a 2 wires port doing the same thing.

To use this port, you generally need a specific interface. These interfaces like Jlink are expensive (> 300€), some are less like BusPirate (30€). By the way, if you do not have it, you will have to order and wait for it. That’s why I’ve taken the choice of using my BeagleBone black device GPIO to pilot these signal. This code can easily be port to RaspberryPI…

Continue reading

Create a connected PIR sensor with SigFox

Pir sensor

Pir sensor

In a previous blog post I described how I built a PIR sensor connected to Internet, based on the use of a Raspberry Pi device. As you can read in this previous post, the solution have a certain number of complexities like requiring a power supply, a 3G modem …

As it was originally planed to be done, here is the design of the same product, based on a SigFox device. This is really interesting to demonstrate the differences and the advantages of this technology. Let’s review how to built it !

 

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

TD1204 – TD1208 Raspberry PI Shield

Raspberry PI Shiel Hat standard

Raspberry PI Shield Hat standard

The TD1204 / TD1208 Raspberry PI shield is following HAT standard. Is can be use with a RaspberryPI B+ or Raspberry PI 2. It includes 3 programmable leds plus the TelecomDesign Led. Some and the GPIO of the TD chip can be read/write from the RaspberryPi, Some can be cabled on the small customization area to add you own components.

The shield can be delivered with an external antenna of use with an SMT antenna.

Telecom Design chip can be flashed with an FTDI cable or directly with the RaspberryPi

This shield is not SigFox certified so it can only be used for prototyping usage.

All details about how to get started with this shield is in this post : Get start with the SigRPI Shield

Availability : 1 weeks

Contains : Shield with TD1208 + External Antenna

1 SigFox access is also provided for makers

Price : 140€

[wpecpp name=”td1208-rpihat” price=”140″ align=”center”]

For other version, read more

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

Do you know sigfox ?

SigFox is a French radio frequency technology allowing a really low cost data transfer from Machine to Machine. Compared to GSM, this solution have some great advantages : it costs only 10-16€ per year and the energy consumption is about 1000 time less. For sure there is some constraint and the main one is the quantity of information you can transmit. In fact you have a limit of 150 sent messages / days with a length of 12Bytes. It’s not big but is it enough for a lot of IoT and M2M applications.

This technology works as a modem you can connect to any platform like Arduino, RaspberryPi. The chips are provided by TelecomDesign from a cost about 15€. The starter kit is about 150€ here.

The great advantage of this technology, in a operator point of view is the low density of the architecture where you need only 1000 antennas to cover a territory like France. As a consequence, at this time, already 90% of the country is covered by this technology.