Generated by All in One SEO v5.0.1.1, this is an llms.txt file, used by LLMs to index the site. # Slemi's webpage Slemi's web page about electronics, airbrush and woodworking ## Sitemaps - [XML Sitemap](http://slemi.info/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [Programming STM32 from TrueSTUDIO using ST-LINK clone](http://slemi.info/2018/08/28/cli-sw4stm32/) - In this article I will explain how to program STM32 microcontroller directly from TrueSTUDIO using ST-LINK clone we made in previous article. If you are using some ST-LINK clone or you are just using SWDIO and SWDCLK to program STM32 microcontroller, you need to use ST-LINK Utility. And each time you need to load new - [Blinky and Hello World! for STM32 "Black Pill" tutorial](http://slemi.info/2018/08/17/black-pill-blinky/) - In this article I will guide you through to make LED on Black Pill blink and also to send "Hello World!" through USB to terminal on your computer. First we need the schematic diagram to know what goes where, this is the only site where I found it, this is link directly to PDF with - [Custom GLCD Font Tutorial](http://slemi.info/2020/03/19/custom-glcd-font-tutorial/) - In last tutorial I wrote how to use Adafruit GFX library for GLCDdisplays. This time I would like to explain how to use GLCD custom font using ESP8266.I will continue from last project. We only need two things. Our custom font in form of .h file and a few lines of code to include it - [Measuring temperature using DS18B20, ESP8266 and GLCD](http://slemi.info/2020/04/01/esp8266-with-glcd-and-ds18b20-temperature-measurement-tutorial/) - In this article I will show how to read DS18B20 sensor with ESP8266 and display values on GLCD.Now that we have GLCD set with our nice custom font, we can start measuring temperature. First we need to connect our temperature sensors to ESP8266. There are two ways to do this: traditional with multiple DS18B20 sensors - [1.8" GLCD with ESP8266 (NodeMCU)](http://slemi.info/2020/03/19/1-8-glcd-with-esp8266-nodemcu/) - In future I am planning some DS18B20 temperature measuring with ESP8266 and to show the values I will be using 1.8" GLCD. Like the one on the photo below (top and bottom view): I program ESP8266 using Sloeber which is basically Arduino using Eclipse. I like Eclipse a lot. I am using Adafruit_ST7735 and Adafruit_GFX - [Playing with micro:bit](http://slemi.info/2019/05/04/playing-with-microbit/) - Recently my daughter had birthday and I had an idea to introduce her to coding. I got her micro:bit and here are a few small programs we did. Dice. Most interesting of them: Available here: https://makecode.microbit.org/_KUxg2H09hcM3 Flashing symbols with press of a button or combination of buttons: Available here: https://makecode.microbit.org/_YTbELgeCzgWp And the simplest of them. - [Quick tutorial on new STM32CubeIDE](http://slemi.info/2019/05/02/quick-tutorial-on-new-stm32cubeide/) - STM recently unveiled new tools for programming STM32 microcontrollers called STM32CubeIDE. I tried it and created short video while doing it. If you have some spare BluePill boards, you can try it. I used my home made ST-LINK and another BluePill as target. Below is the video: https://www.youtube.com/watch?v=9FdXXDr3pYg Thank you for watching! Slemi - [Upholstered oak rocker and tabouret](http://slemi.info/2019/02/06/upholstered-oak-rocker-and-tabouret/) - Hello everyone! After long time I am posting another woodworking project. This is for my girlfriend's birthday (no I won't tell you her age). When I started in current workshop, this was supposed to be first project in it. Well it is not first, but I am really happy that I went and made - [STEmWin with Touch Screen on STM32F746G Dicovery – Part 2](http://slemi.info/2017/07/01/stemwin-touch-screen-stm32f746g-dicovery-part-2/) - This is second part of tutorial for using STEmWin on STM32F746G Discovery board using CubeMX and SW4STM32 - [STEmWin with Touch Screen on STM32F746G Dicovery - Part 1](http://slemi.info/2017/06/20/stemwin-touch-screen-stm32f746g-dicovery-part-1/) - This is tutorial for using STEmWin on STM32F746G Discovery board using CubeMX and SW4STM32 - [New projects to come...](http://slemi.info/2018/08/11/new-projects-to-come/) - I finally received five packages ordered at the end of June on Aliexpress... They consist of so called "Blue pill" and "Black Pill" and also BMP280 (temperature and barometric pressure sensor) and HTU21D (temperature and humidity sensor) and Air280 (one of many GPRS modem boards). Here is photo of the stuff (I already converted one - [Making your own ST-LINK V2 from STM32 Blue-Pill or STM32 Black-Pill](http://slemi.info/2018/08/14/making-your-own-st-link-v2/) - In this article I will explain how to create your own ST-LINK V2 with cheap board from China (Blue Pill). Well we also need USB to Serial converter and some software. First we will look at software. We need so called "Flash Loader Demonstrator", you can get it at the bottom of this page, or - [Installing System Workbench for STM32 SW4STM32](http://slemi.info/2017/04/13/sw4stm32/) - Step-by-step instruction on installing System Workbench for STM32 (SW4STM32) - [Installing STM32CubeMX](http://slemi.info/2017/04/13/install-stm32cubemx/) - Step-by-step instruction on instaling STM32CubeMX on Windows - [Simple Blinky tutorial on Nucleo-F401RE using STM32CubeMX and SW4STM32](http://slemi.info/2017/04/13/blinky-nucleo-f401re/) - Simple and quick step-by-step Blinky example on STM Nucleo-F401RE using FREE tools - [Configuring IO pins on STM32 (STM32CubeMX and SW4STM32)](http://slemi.info/2017/04/16/configuring-io-pins/) - Simple explanation on configuring ports and pins on STM32 microcontrollers. - [Reading Buttons on Nucleo-F401RE (SW4STM32 and STM32CubeMX)](http://slemi.info/2017/04/19/reading-buttons-nucleo-f401re/) - Quick and simple step-by-step example on reading inputs/buttons on STM32 microcontrollers using FREE tools - [Nucleo F401RE Ports Alternate Functions and sending numbers over UART](http://slemi.info/2017/04/29/nucleo-f401re-uart/) - In this article I will explain how to read register values using debug and how to send unsigned long integer over uart using two different methods. - [STEmWin with Touch Screen on STM32F746G Dicovery – Part 3](http://slemi.info/2017/07/22/stemwin-touch-screen-stm32f746g-dicovery-part-3/) - This is third part of the series. If you have not finished part 1 and part 2, you need to, if you want to continue with this one. STEmWin is very big and for beginner as I am very hard to undrstand. So in this tutorial I will only show hot to display simple button - [STEmWin with Touch Screen on STM32F746G Dicovery – Part 4](http://slemi.info/2017/07/29/stemwin-touch-screen-stm32f746g-dicovery-part-4/) - This is part four of our tutorials using STEmWin. You can check previous three parts here: part1, part2, and part3. In this tutorial I will show how we can draw buttons just by using low level STEmWin functions. Simple button would consist of: gradient fill (for 3D look), border and text inside. For gradient filling - [STEmWin with Touch Screen on STM32F746G Dicovery – Part 5](http://slemi.info/2017/08/26/stemwin-touch-screen-stm32f746g-dicovery-part-5/) - In this article we will finally add touch capabilities to our project. Before You start with this tutorial, You need to finish previous four parts. You can see it here part1, part2, part3 and part4. We already included the needed .h file: #include "stm32746g_discovery_ts.h" Next thing we need to do is initialize touch screen. We - [Arduino web temperature datalogger](http://slemi.info/2017/11/25/arduino-web-temperature-datalogger/) - There was one thing that kept me occupied lattely. It was temperature datalogger using Arduino, ESP8266 and DS18B20 and these all together save data to thingspeak.com. So now that I have everything working, let me make a little tutorial. There are quite a few tutorials online about this topic, with different combinations of these components, - [STEmWin on STM32F429I-Discovery with SW4STM32 (Part 1)](http://slemi.info/2017/12/21/stemwin-stm32f429i_discovery-sw4stm32/) - Hi everyone! I am starting new series of articles in which I will show how to get STEmWin working on STM32F429I-Discovery board. - [STEmWin with Touch Screen on STM32F746G Dicovery - Bonus -Part 6](http://slemi.info/2018/01/16/stemwin-touch-screen-stm32f746g-dicovery-bonus-part-6/) - In this part of tutorial we will use touch in STEmWin using GUIBuilder to design our user interface. For quite some time since last part of tutorial it has been bugging me how to use nice shiny buttons from STEmWin and touch support for them. Well I must say it finally worked and below is - [KnobMan and SkinMan, two nice programs for creating user interface](http://slemi.info/2018/02/05/knobman-and-skinman-two-nice-programs-for-creating-user-interface/) - This is a little demo of KnobMan and SkinMan on STM32F429I Discovery board.As the name suggests KnobMan is used to design knobs, sliders and SkinMan is used to design the skin of your design. Here is a simple design I used to test everything: It consists of one background and four buttons, two for each - [STEmWin on STM32F429I-Discovery with SW4STM32 (Part 2)](http://slemi.info/2018/02/06/stemwin-stm32f429i-discovery-sw4stm32-part-2/) - This is the second part of our STEmWin tutorial for STM32F429I-Discovery board. - [SkinMan and KnobMan continued](http://slemi.info/2018/02/16/skinman-knobman-continued/) - In this tutorial we will use data prepared in previous article. First we need to finish part 1 and part 2 of STEmWin tutorial to have display ready. After that we need to get Demo.c into our project, we do this by dragging file from file explorer on our PC to our src folder in - [STEmWin on STM32F429I-Discovery with SW4STM32 (Part 3)](http://slemi.info/2018/02/23/stemwin-on-stm32f429i-discovery-with-sw4stm32-part-3/) - In this part of tutorial we will finally get STEmWin working. Well it has been a long time since last part 2 of this tutorial. I had to do a lot of reading and code writing to get this done. You need to finish part 1 and part 2 to continue with this one! Let - [Quick SkinMan video tutorial](http://slemi.info/2018/02/16/quick-skinman-video-tutorial/) - This is simple video tutorial for SkinMan, because it is hard to make writen tutorial for it. I have tutorial here which uses SkinMan graphics, but since it is simpler and more enoyable to watch video, I made it to show a few tricks how to make nice skin: https://www.youtube.com/watch?v=gU8g5IBbNvo Enjoy! Slemi - [RFM12B with MSP430 Tutorial](http://slemi.info/2018/03/07/rfm12b-with-msp430-tutorial/) - Here is a quick tutorial of basic communication between two RFM12B's driven with MSP430 Launchpads. Last couple of days (10 days) I have been occupied with two FRM12B modules, trying to get them to communicate. I need them to make some kind of wireless temperature sensors. I had some simple weather station from Lidl, but - [ADC conversion on STM32F746G-Discovery](http://slemi.info/2017/12/04/adc-conversion-stm32f746g-discovery/) - This is first article, tutorial on ADC, and later I will try to make oscilloscope with STM32F746G Discovery board. - [RTC (Real Time Clock) with calendar on STM32F3-Discovery board](http://slemi.info/2018/04/14/f3-rtc/) - In this article I will explain how to use RTC in STM32. For this example I will use STM32F3-Discovery board with STM32F303VCT6, because it has USB port for serial data, so that we can get feedback. We start as usual with new project in CubeMX. And we select STM32F303VC and click Start Project: (I have - [Nokia LCD With PCF8833 on STM32](http://slemi.info/2018/03/27/nokia-lcd-on-stm32/) - Tutorial on how to drive PCF8833 based LCD display with STM32. I have two Nokia 6100 LCD displays on stock and I tried them, how they work with STM32. I must say I am dissapointed with speed. another anoying thing is that the LED backlight needs 6V. But I will let you know how to, - [RFM12B on STM32 (STM32L476-Discovery board) - Part 1](http://slemi.info/2018/03/16/rfm12b-on-stm32-stm32l476-discovery-board/) - In last post I managed to get two RFM12B module to communicate with MSP430. In this post I will make receiver using STM32L476-Discovery board. Before You start this tutorial you need to know you need two of these boards or some other board which will be controlling the other RFM12B. As usual we start by - [RFM12B on STM32 (STM32L476-Discovery board) - Part 2](http://slemi.info/2018/03/16/rfm12b-on-stm32-stm32l476-discovery-board-part-2/) - In previous post we configured and created base for our project. In this post we will start receiving data. Our project is imported in SW4STM32 and is in the list of already made projects (note I named it wrong): We need driver files for LCD from CubeMX repository. First we need to create inc and src - [STM32 Logic Analyzer - Part 1](http://slemi.info/2018/03/26/stm32-logic-analyzer/) - Lately I had some problems with serial communication, so I made myself a simple logic analyzer with STM32F4 Discovery board. I googled fro STM32 logic analyzer and found a few, but the one I used was this one. Ther are four different files on download page, but the last one is the one I use - [STM32 Logic Analizer - Part 2](http://slemi.info/2018/03/26/stm32-logic-analizer-part-2/) - In this part of tutorial we will see in practice how this logic analyzer works and I will give you a little tip for easier use... For logic analyzer to work we need some kind of software on computer. I am using windows so I can't really help users of other operating systems, but the ## Pages - [Contact me](http://slemi.info/contact-me/) - Hi! I got sooo much spam from this form I decided to disable it. You can contact me at: gregor.slemi(at)gmail.com Thank you! - [Yop Poll Archive](http://slemi.info/yop-poll-archive/) - [yop_poll_archive] - [About me](http://slemi.info/about-me/) - Hello! I am an average person with multiple hobbies. I am electrotechnician by profession, but I do a lot other stuff too. In the past I did some airbrushing. Now I mostly do woodworking, but besides that I do some electronics so I don't forget the stuff I learned. I decided I will write ## Categories - [Woodworking projects](http://slemi.info/category/woodworking-projects/) - [Electronics projects](http://slemi.info/category/electronics-projects/) - [STM32 Programming](http://slemi.info/category/electronics-projects/stm32-programming/) - [MSP430 Projects](http://slemi.info/category/electronics-projects/msp430-projects/) - [ESP8266](http://slemi.info/category/electronics-projects/esp8266/)