Tag Archives: raspberry pi

RFRPI – wiringPi delayMicrosecond problem with RPI 2+ and fix

I fixed tonight a problem with rfrpi and Raspberry 2+ ; it seems that wiringPi 2.25 have a bug with delayMicroseconds() function that works perfectly when less than 99us and do not work correctly with larger values.

Waiting for the fix the code have been updated to work correctly with RPI2+ ; so please if you are using the shield with RPI2+, update the rfrpi code from bitbucket.

Posted in Hardware | Tagged , , , | Leave a comment

SWD programming using a RaspberryPi

I previously write this post on how to use a BeagleBoneBlack as a JTAG (SWD) programmer. It was fun but really slow. I port my code on RaspberryPI and now what was taken 5-8 hours is a couple of minutes.

To connect the SWD connector to the PI use the following schema

Connect SWD to RaspberryPi
Connect SWD to RaspberryPi

I use this peace of code to reflash my TD1204 and TD1208 based both on EFM32 when bricked after unsuccessful update…

Here is the python file to interact with SWD : https://github.com/disk91/PySWD/blob/master/RpiGPIO.py

I hop it will be soon integrated in the main PySWD project as the previous one.

You should check or modify flashEFM32.py file

import array

from PirateSWD import *
from RpiGPIO import *
from SWDCommon import *

[...]

def main():
    busPirate = RpiSWD("", vreg = True)
    debugPort = DebugPort(busPirate)
    efm32     = EFM32(debugPort)

To run the Flash program, just launch

# ./flashEFM32.py ../myProgram.bin

 

Posted in Programming, Sigfox | Tagged , , , , , | 5 Comments

RFRPI shield V1.2 released for RPI B+

Raspberry Pi B+ - RFRPI Shield
Raspberry Pi B+ – RFRPI Shield

I’m proud to announced the Raspberry PI shield for high quality RF433 have just been released to be compatible with Raspberry Pi model B+ (and A+).

The shield works exactly the same with the RFRPI lib. It is a little bit mode compact and modified to fit the usual cases.

You can contact me for orders.

Posted in Hardware | Tagged , , , | 7 Comments

SigFox arduino Raspberry PI hacking board

sigfox hack board
sigfox hack board

I assume you know a little bit who I am and what I’m doing, I’m not the one to by > 100€ to buy a one shot development board kit to test & hack a device like the Telecom Design chip. So basically I built my own with the objective to work with multiple configuration.

My “cahier des charges” was to make a board able to be installed as a dauther board on a raspberry PI,  able to support an arduino, able to run autonomously and being able to own a TD1204 as a TD1208.

It was a huge work to route it and I must recognize that it do not have all the GPIO connected as I expected but it exists, it works and it help me to build my first SigFox prototypes with success.

So, now, I propose to distribute this board to those of you looking for a such swiss knife.

Continue reading

Posted in IoT, Sigfox | Tagged , , , , , | 14 Comments

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

Posted in IoT | Tagged , | 1 Comment

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€

For other version, read more

Continue reading

Posted in Shop | Tagged , , , | 1 Comment