STM32F746G-DISCO Scope in Practical Electronics (EP) magazine

The article about the STM32F746G-DISCO Scope project was accepted and printed in the polish magazine Practical Electronics (Elektronika Praktyczna). It was divided into three parts and can be found in the May, June and July issues of the journal:

Part 1: Creating and building the project from sources.

Part 2: The usage of FreeRTOS.

Part 3: BSP, STemWin and CMSIS DSP libraries.


STM32F746G-DISCO Scope

STMicroelectronics is known for its Discovery family boards – quite cheap but very functional development tools. One of them is STM32F746G-DISCO (32F746GDISCOVERY) with a large LCD-TFT, Ethernet, audio line in and out jacks and some other features. Using these features I decided to build a simple scope which allows to sample the signal from audio in line and display it together with its FFT spectrum.

The project was created using SW4STM32 – a free, eclipse based IDE for STM32 microcontrollers running on both, Linux and Windows platforms. For simpler application development, the FreeRTOS was added to the project, together with STemWin graphical library for GUI and CMSIS DSP mathematical and signal processing library for FFT computation. All mentioned software can be downloaded from SW4STM32 during new project creation.

The source code of this project is available on my public github repository:

And here you can see how it works:

Java and STM32

Last time I spent couple of weeks learning the basics of MicroEJ environment. It allows to write Java applications for the microcontrollers from STM32 family. The applications run on a platform containing the implementation of Java Virtual Machine, peripheral drivers and libraries. I wrote some of articles which are published on website (polish only). You can read them here:

  1. Introduction
  2. GPIO
  3. ADC+DAC
  4. Alarm clock with external RTC
  5. Weather station


Raspberry Pi music server?

Since some time I’m a happy Spotify user. Therefore, couple of days ago,  I started to wonder how to configure my Raspberry as a home music server based on my Spotify account.

First, I wanted to install Spotify client application on Raspbian and access it via remote desktop (or similar protocol) from my PC. Unfortunately, there was no client for ARM architecture available.

Then I started to look for some alternative clients. I found a great project called Pi MusicBox. It allows you to access your music for example from Spotify, Google Music or Last.FM accounts. You could also use local SD Card or network drive to store music files or listen to the internet radio station. To control the server you can use any computer or mobile device connected to your home network through simple web interface.You get this all without writing or compiling any line of code.

Check out the Pi MusicBox page for instructions about installation and configuration of the music server.

Wireless Pi (out of the box)

In the last post I described how to connect the TL-WN725N v2.0 network adapter to the Raspberry Pi. This time I have some very good news. I’ve recently bought the Wireless N 150 USB Adapter from D-Link. It is recognized by the kernel just after plug in without any additional drivers. You need only to configure the WiFi connection.

Java in the service of science

Some time ago I started working on some software which could be used in genomic data analysis. It was during my PhD studies at Warsaw University of Technology. I worked together with guys from Maria Sklodowska-Curie Memorial Cancer Centre and Institute of Oncology and recently we managed to publish the results in BMC Research Notes. It is about exploratory data analysis and visualisation in ChIP-Seq research (Chromatin immunoprecipitation coupled with next-generation sequencing). The article is available here, so you can freely read it. The application is called jChIP and is available to download from SourceForge project page. Feel free to read, use and test.

Time to start – once again

This week I planned to describe first practical example of using kernel drivers. However I finally decided to put more effort into the description of SD card and kernel preparation. So take a look at the First steps page once again for more detailed tutorial of how to start. If you have any problems with the configuration don’t hesitate to contact me or just leave a comment. Good luck!

Not only Raspberry

Some time ago I found quite interesting article in Linux Magazine. I decided to try it myself. First I bought my own TL-MR3020 (for about 32$). By default it is a router so I connected my computer to it as a client.

Next I followed the instructions from the article and from OpenWrt project website. After couple of stressful minutes… it worked! The next few steps allowed me to start a SSH connection.

As I wanted to use it in my home network and connect it to my other router, I needed to change some configuration. I disabled the dhcp server, set the static IP addres, connected it to the router and… voila! I could change the configuration of LEDS and buttons using kernel drivers and connect to it from my home network with the web browser.




Now I plan to use it as a simple server but I still wait for a brilliant idea of its purpose.