Tag Archives: MCU

ARM:0011 STM32CubeMX – Pin interrupts

Next tutorial- interrupts, keyboard (PS2 input) and USB COM port. I have a small keyboard in my stash. It was from some flop device made by Amstrad. This keyboard has a 4 pin connector and I had hoped that it … Continue reading

Posted in Anything, MCU | Tagged , , , | Leave a comment

ARM:0009a – bug in CubeMX makefile

First you generate code, then you regenerate code, do make and… > “make.exe” all make.exe all -C .. make.exe[1]: Entering directory ‘F:/MyDoks/elektronika/ARM/daiktas-cube/SINGLE_UART’ Makefile:118: *** missing separator. Stop. make.exe[1]: Leaving directory ‘F:/MyDoks/elektronika/ARM/daiktas-cube/SINGLE_UART’ make.exe: *** [makefile:3: all] Error 2 > Process Exit … Continue reading

Posted in Anything, MCU | Tagged , , | Leave a comment

ARM:0010 STM32CubeMX- USB 2 COM dongle

This article is also an introduction, but this time a bit more practical- USB to serial port (COM) dongle. This tutorial will show how to create USB devices from “canned” software using only STM32CubeMX. For this example I used some … Continue reading

Posted in Anything, MCU | Tagged , , , | Leave a comment

ARM:0009 STM32CubeMX tool from STM MCUs

There will be several posts about using the cheapest MCU board from China. So called Bluepill- PCB containing STM32F103C8T6 microcontroller, USB connector and some small elements. For a few bucks/euros we have upto 72MHz CPU, 64Kb of ROM and up … Continue reading

Posted in Anything, MCU | Tagged , , | Leave a comment

AVR USB printer device and teletype

I have old teletype printer T-63 (it is made by RTF in Eastern Germany, clone of old Siemens Teletype). And the idea is about connecting it as USB printer to our-days computer. Easiest way is to connect it using RS232 … Continue reading

Posted in MCU | Tagged , , , | 1 Comment

RGB matrix: organization

This post is about structure and organization of big RGB LED matrix. Just notes to remember how it works, as paper notes tends to be lost. And it is much easier to find information back in the internet compared to … Continue reading

Posted in Anything | Tagged , | Leave a comment

ATMEGA USB 12

Next toys connected to my AVR-USB testing board are two Freescale semiconductors (ex Motorola) accelerometer chips: MMA3202D and MMA7260QT. First is “catastrophic” accelerometer chip with high-G (100g X-axis and 50g Y-axis) sensor. If you apply such acceleration to human body … Continue reading

Posted in Anything, MCU | Tagged , | Leave a comment

ATMEGA USB 11

There are lots of “rainbow LED” projects in the internet. So, I decided to place something similar in my weblog. There are 4 hardware PWM outputs in ATMEGA16. So do not need to build fancy software routines to make pulse … Continue reading

Posted in Anything, LED, MCU | Tagged , | 1 Comment

ATMEGA USB 009

Blog entry 008 is not working… so here is 009 I installed electronic lock with Dallas (Maxim) i-Button chips. It was very simple, low security version of electronic lock as it uses DS1990A chips as the keys. Original lock was … Continue reading

Posted in Anything, MCU | Tagged , | 4 Comments

ATMEGA USB 006

It is time to use USB. After several unsuccessful experiments I found some working project in the internet. Maybe other project are working too, but only this one was usable and understandable for me. As I need not only binary … Continue reading

Posted in Anything, MCU | Tagged , | 1 Comment