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.
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:
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 mikrokontroler.pl website (polish only). You can read them here:
- Alarm clock with external RTC
- Weather station
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.
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.
I have recently managed to connect Raspberry to my home network using TL-WN725N v2.0 adapter. Check out the Wireless Pi page for step-by-step tutorial of how to prepare the driver and configure the connection. Have fun!
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.
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!
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.
Before we start playing with Raspberry Pi, we need to choose and configure the right Linux distribution. There are no better or worse systems. Th only thing is our comfort of use. I created a very short guide on the First steps page. Enjoy!