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.

Running sigfox with a Raspberry-Pi

Sigfox on Raspberry Pi

Sigfox on Raspberry Pi

Based on my sigfox multi-board shield, it is possible to hack sigfox with a raspberry pi. The standard telecom Design firmware allow to use it as a modem. The raspberry Pi just have to send the expected AT commands

 

 

 

Continue reading

RFRPI works certified with Raspberry PI 2+ for RF433

Raspberry Pi B+ - RFRPI Shield

Raspberry Pi B+ – RFRPI Shield

I’m proud to announce the compatibility of the RFRPI shield (RF433 transceiver for RPI) with the new Raspberry PI 2+

To get all detailed information about this shield you can read this post

You must use wiringPi >= 2.25 for RPI2+ compatibility.

baby and child alarm clock

Arduino alarm clock for baby

Arduino alarm clock for baby

The purpose of this post was to create an alarm clock form my 2 year old son. I’m lucky he is sleeping well but is waking up before I do and generally call me and mum to go out of the bed, then play in his room … So the problem is that he never know if can wake up and play or if it is too early and have to stay in the bed. For this reason I created this alarm clock to easily indicate him if it is sleep or play time.

The system is quite simple : you program the number of hour you want him to sleep. During sleep time a led display a pink color. After this configured duration, the color change for green. When green, my son is allowed to wake up and play in his room

The post describe how to do it based on an arduino nano.

Continue reading

Draw breadboard circuits on Mac Os X

Tp7_schema_bbTo prepare some lessons on Arduino I was looking for a solution to draw breadboard schemas. I found fritzing open-source tool really great.

The tools works on Max Os X but also many other platform. It includes many standard component libraries with arduino board and shields and standard components.

The time to be ready for using it is not really more than a minute. It exports your design is PNG, JPG, SVG. It also includes different display to create circuit schema and PCB printout. But I did not use them, preferring kicad for such things. By-the-way, this is a really great tool.

Start playing with LiPo batteries

lipo battery

lipo battery

LiPo (Lithium Polymere) batteries are interesting batteries for IoT as they are nt so much expensive, easy to get with multiple form factors and multiple capacities. As they are used for radioguided planes and such toys, you have a lot of really small batteries available for a couple of euros.

The Lipo battery is typically providing 3.7V. This sounds good for 3.3V circuit. The charging circuit is quite easy and low expensive compare to some others battery technology.

But there is no miracle and a couple of problem I’m actually discovering and this post will introduce.

Continue reading

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.

TD1204 – getting start with accelerometers

The Telecom Design TD 1204, used on Sigfox network have a builtin 3 axis accelerometer and a lack of documentation as usual… By the way, here is the result of my searches to make it work.

Basically, the provided libraries makes it easy to use, in the setup part you have to initialize the accelerometers and in the main loop you have to run a TD_ACCELERO_Process(); method to monitor the IRQ and call your callback function to read the data.

It means that the accelerometers is not automatically waking up the device but managed during the 32KHz wakeup look.

The next part is detailing how to use it.

Continue reading