RN2483 – LoRa – upgrade firmware

Microchip RN2483 Lora

Microchip RN2483 Lora

The microchip device is in most of the case delivered with a 0.9.5 a version 1 seems to be available even if not downloadable from microchip product webpage.

This link contains a version 1.0 and a java tool that helps to configure the chip with a graphical interface. It is really usefull.

Main problem I found with the tool: it is not possible on a MAC to open the firmware file to load. Other functions are accessible. On W7 it is possible to flash the device :

 

  • Connect the device with bootloader mode check activated
  • Select the firmware hex file
  • Select 19200 bps as for speed
  • Clic … sometime it is short (and not working) sometime it is longer and working
  • At end, execute a hard reset and search for the module it should appear.

Actually on May 1st 2016 the current firmware version is 1.0.1 you can get it following this link. This version is the one validated for network operators like Objenious.

Continue reading

Flash a TD1204 over J-Link

For flashing a TD1204 / TD1208 over J-link you need to use the following commands:

JLinkExe -device EFM32G210F128 -if swd -speed 1000
J-Link> loadbin xxxxx.bin,0
...
J-Link> r                          # reset
J-Link> g                          # go

Total programming time is about 5 seconds. The circuit between the segger connector and the TD is the following one. (do not forget to connect VDD circuit to Segger VTref.

td1204 / j-link cable

td1204 / j-link cable

Get computers for less than $15

domino.io

domino.io

Announced in 2015 and mostly delivered in 2016, the 9$+ computers are now a reality. The first one  to be delivered was Domino.io with a price of 14$ it is actually the most expensive device but also one with a nice list of addon. The kickstarter campain was a success even if it raised only 46K$.

CHIP was in the same period of time a great success with 2M$ raised on Kickstarter for 50K requested. And actually it still incredible to me to reach a such cheap price for a device with a such complexity.

Last but not least, the famous RaspberryPI zero is just starting to be distributed at the incredible price of $5 and is actually impossible to obtained under $20 on ebay auctions.

As a owner of these 3 different platform, I will publish in this post the difference we have between them and what we can expect from them.

Continue reading

Getting start with XYZ DaVinci 1.0 3D Printer

DaVinci 1.0 3d printer

DaVinci 1.0 3d printer

After having play for a year with a Tobeca Printer, I decided to acquire a DaVinci printer. When I was looking for the Tobeca I was already interested in the DaVinci because of its really low cost. At this time, this printer was not available in Europe and the price for import was too expensive. The printer is actually distributed by Boulanger in France for a price about 500€ making it a really competitive solution with a good technical specification.

The XYZ business model is based on 2D printer business model : have a low cost printer and sell the cartridge at a higher price. For 800g of PLA you have to pay 50€ compared to 30€ for a Kg of standard PLA. By the way, it seems that you can get discount on Wednesday on XYZ website 😉

This post details my end user experience on getting the first print with this printer.

Continue reading

NRF 51 BLE library for custom services

nrf51 ble stack

nrf51 ble stack

After building my first project using an nRF51 device from the template given in the SDK I was really disappointed by the result, I mean, it works but the code is really bad and hard to maintain.

The given examples are not really generic and if you have to create your custom ble service and characteristics you have  to make many modification in a code that is not clean for all.

So my second project was to create a ble library to make creation of custom services & characteristics as easy as possible and to create a main file with less code.

Continue reading

Play with remote selfie shutter and make your own Amazon dash button

Bluetooth remote shutter

Bluetooth remote shutter

Remote Selfie shutter are really low cost Bluetooth 3 buttons that are really easy to hack for making different applications.

These button can be found on ebay, amazon or aliexpress like following this link for less that 6$. The button is paired to the smartphone and then allow to execute photo shoot without the need of any third party application.

 

 

Continue reading

RF433 – Raspberry PI GPIO kernel driver for interrupt management

You may have read some of my post about RF433 and Raspberry PI. Basically with RPI 1, I was using wiringPi interrupt handler to manage the RF433 decoding. The problem is that with RPI2 and RPI B+ the delay to take an interrupt that was becomes unpredictable. And the timing constraints are not respected. As a consequence part of the messages are loss because for these delay.

One of the solution (the software one) is to be more efficient to proceed the interrupts and the way to do this is to compile a kernel driver for directly handling the interrupts. This is what this post is about. This comes to complete the RFRPI code and associated hardware. A complete source code and software for using it is on the rfrpi bitbucket repository.

Challenge of the coming days : write a kernel driver to manage interruption quicker on a raspberry pi 2. I’m happy to find a lot of example on Internet and in particular this one, that is really looking like what I’m trying to do. This post is describing all the step needed to do this.

Continue reading

Let’s graph the Internet of Things

plot-IoTIoT is generating data and to quicky look at it during the prototype phase is sounds good to plot these data in a dashboard. There are many solution you can install on your server and configure to get pretty nice dashboard. But if you want to go faster it would be really nice to have a SaaS solution for doing this. I have tested some of the solution I have found and friends helped me to found (not easy to search on google …). This post details these experiments

Continue reading