STM32 ARM MCU are proposing different low power mode for saving energy when running IoT on battery. Some basic example of low power are delivered with the SDK as part of CubeMx solution but these example are not really complete, not well documented and in my point of view difficult to use in a Fresh new project. Basically my current feeling with STM32 is these guy are pretty good to write thesis on how to do magic stuff with the MCU, writing hundreds of pdf pages about really detailed stuff but they are really bad for providing some line of code to illustrate this valuable content with something practicable you can use on the go. So after spending a week working on a working and understood example of low power code, I’ll share with you the result of this work…
Category Archives: Hardware
Arduino is supporting STM32 platform and after following the installation steps, you can easily work with the st-microelectronics development kit.
In the real life you need to create a specific setup once your prototype is transformed into a custom board. This setup redefines the pin mapping, the target MCU and needs to refine the firmware transfer method as you will use and external STLINK programmer.
In this post we are going to see the different step for doing this.
In a previous post I explained how to getting started with STM32 with classical Eclipse or Keil environments. These environments are very cool for starting from scratch in designing firmware. That said, you have to recreate a lot of basic functions and libraries to create your firmware.
On the other hand, the Arduino community is proposing a lot a existing libraries and a development framework with a large number of supported features. The STM32 community looks active and that’s a good way to quickly create advanced firmware.
That said there is different point blocking in my point of view for using Arduino as a professional environment:
- Outside of the core libs and some nice one, most of the lib are badly written
- The official editor is a mess if you manage more than 3 files…
- Writing libraries with official editor is… “impossible”
For this reason, in this tuto, I’ll use Visual Code Studio to see if the 2 last point can be solved. Regarding the first point, there is nothing better than using well coded libraries and rewrite (and share) the badly written one.
I have this board in my stock since some months and never taken time to play with it. As I’m starting some developments with STM32 it’s time to do it. I’ve tried to do some stuff using it at reception but even if there is some kind of Arduino mentions on the package the start is not as easy as on Arduino. Not regarding coding (it is more complicated but it is not the problem) but regarding the development environment. You need to use different tools and find yourself the way to use each of them. In my point of view ST would do a good thing simplify all this stuff. So in this post I’ll describe how to get started by creating your first led blink project. Hope it will save your time.
IoT design a usually a matter of antenna as already seen in different previous blog post. Antenna performance is the assurance of your capacity to deploy your object in larger zone and a way to save energy by reducing transmission power.
As we will see, if you get a hardware component and simply put it in a box its radio behavior will be totally different as the box is impacting the transmission.
This post will practically show you the impact of a box on a device radio quality.
I’ve got my miniVNA Tiny+ this summer and start making test with it. A VNA is a Vector Network Analyzer. Behind this dark name, this is a tool able to analyze the radio response of your circuit and ensure your circuit is tuned to the right frequency. From the data measured by this tool you can find the right adaptation circuit to match your central frequency.
For more information about RF circuit matching, you can read this other post.
The miniVNA Tiny+ is a low cost VNA solution less than 300€ covering frequencies from 1MHz to 3Ghz. These frequencies are good for most of IoT need : LPWAN around 868MHz and Bluetooth at 2,4GHz. The steps are 10Hz for a large precision. With two ports you can measure S11 – power transmitted and received over the same port – and S21 – power transmitted from port 1 and received over port 2.
The miniVNA Tiny+ is an usb solution working with a computer connected to and a software running on the computer. The software is based on Java and may support different Operating Systems.
Ordered from Kickstarter and received quickly, this solder paste dispenser really changed my life !! Now since about 3-4 month I’m using it regularly and it still mking me really happy.
It has start from a Kickstarter project I back on but failed the first time. This was disappointing as the classical tool I’m using for dispensing solder paste are really noisy. So when they did a second KS and make it I was really happy. More over they are neighbor of me (about 200km on the Est) and seeing a such good idea made from France is as a good news as a surprise.
Sometime when you want to place a SMD component on a PCB you can use a handy vacuum pump. I’ve tried different low cost model from AliExpress this summer and this post will tell you what is looking best to me for my use.
First of all, I’m not using this tool for components like small resistor, I prefer tweezers for such components. I’m using a handy vacuum pump for larger components like QPF, TSSOP, SOP, QFN…
I’ve tried 3 different tools from AliExpress from 1$ to 9$