Seeed Spartan Edge Accelerator Board, low cost FPGA

About 20 years ago, I started working on the design of a microprocessor. The goal was mostly to have fun building a small 32-bit RISC CPU, make it open source, and, most importantly, explain the process behind it. I abandoned the project roughly 18 years ago as I moved on to other things.

This year, I want to bring the project back. Processor design was something we used to learn in univerity at the time, but today it has become much more abstract. Even understanding what actually happens inside a processor is now often treated as a fairly distant concept.

That old work is a good foundation for explaining these ideas again. For that reason, I wanted to refresh the hardware I used years ago to build the processor, which was based on an FPGA that I will discuss in more detail later. Because this is relatively professional hardware, access to FPGA development kits is usually quite expensive. And while it was honestly worth the investment, Seeed Studio has since created a development kit looking like an Arduino, includes an ESP32, and remains much more accessible. It integrates a Xilinx Spartan FPGA. It is not one of the high-end models, but it is still roughly ten times larger than the one I was using around 20 years ago, which makes it a very good fit for this project.

Continue reading

BalenaFin – compute module motherboard

The BalenaFin board, made by balena.io is a compact Raspberry Pi compute module 3 mother board.

This kind of setup is really useful when making industrial embedded systems in small to average volume like I did and described in a previous post presenting my solution on waveshare system.

I thank you Balena.io, especially Marc, for giving me the opportunity to test this product. So you understand I did not payed to get that one, but as usual, I’m totally free about what I’m writing about it.

The BalenaFin costs $129 w/o taxes and can be ordered on the balena shop. So, let’s how to use it and get benefit of the balena.io platform.

Continue reading

Radio cable selection for outdoor (LoRaWan) antenna

When looking for a cable to connect an antenna, you need to consider different parameters:

  • The cable loss at 868MHz (if corresponding)
  • The connector type

In this post I’ve tried to list some of the mostly used cable and connectors for connecting LoRaWan antennas.

Continue reading

RAK WisBlock – a kind of industrial Arduino

RAK is a company specialized in IoT hardware, particularly in the LoRaWan domain. They are well known for their LoRaWan concentrators working with raspberryPi.

Since a couple of month they have launched a new family of device, the Wisblock. This is a kind of Arduino solution with a MCU part (running a NRF chip with a LoRa transceiver) and different sensors you can connect to it to make an IoT device. That’s a really simplified way to see the solution as in fact the architecture is really different.

At first, the solution is based on a motherboard where you can plug different type of modules. You can have multiple additional sensors both side of the motherboard. We are also going to see that the way all of this is connected is industrial and can be use for prototypes, medium scale field deployment and finished product. That’s the main difference with a classical Arduino board.

The unit price of a solution with a GPS, MCU, Accelerometer is about $50, nothing really expensive for prototyping, a bit too high for a field experimentation, really high for an end product but apparently you can negotiate that price when you have a certain volume.

Continue reading

IoT Antenna matching with Atyune

Recurrent step when making an IoT device, the antenna matching is a key activity to get the right radio performance for your device. You radio strip and antenna must be tuned to match a 50 Ohm impedance. For doing this I’m using a miniVNA Tiny Vector Network Analyzer (until a switch to my Rigol Spectrum Analyzer) as described on the previously linked post.

The impact of a correct antenna matching has been addressed in an old post on this blog also.

Currently, to tune my antennas, I’m also using the Atyune tool. This tool is free and really good to make the tuning but also to get a better understanding of what you are doing. Let’s see how to proceed.

Continue reading

Contact less connected thermometer

I’ve recently made a post on how to make a pandemic alarming system based on low cost connected thermometers. This post was more about the organization model and business model than the technological solution and implementation. So I also wanted to continue to investigate the connected thermometer solution, mainly for the fun. As I’ve been sponsored by digitspace.com for some free hardware, it has been the opportunity for testing contact-less thermometers module.

The design I’m going to propose in this post will not apply to the low-cost connected thermometers as the technology I’m going to use is far more expensive to the one I proposed in my previous post.

That said, this design can be useful for companies, public site or free access thermometer booth anyone would like to design at low cost.

Continue reading

Measure power consumption with Otii tool

A usual question you have when designing a device is the autonomy of your battery and the power consumption of your device. By the past I’ve tried different tools for this usage. Starting with USB sticks power consumption, only working for high consuming devices. They are low precision. Going to multimeter tools with USB connectivity precise but sampling at 3-5Hz only. During a certain time I’ve plan to make a solution on my own and finally I’ve found the OTII tool from QOITECH on the recommendation of friends from Sigfox community.

Here is my experience with that tool.

Continue reading

Battery selection for IoT design

When making an IoT project the battery choice is something really important. Batteries stands for autonomy, sizing, price and usage conditions.

There is no universal solution to power your device, the right battery really depends on your requirements. To find the right powering solution you need to consider a certain number of parameters. We will try in this post to list most of them. This post is not exhaustive: I’m not a battery expert. This post is based on my own experience and you may consider it as a starting point, not a solution.

Continue reading