Archive for the ‘USB’ Category.

LED decoration

This LED decoration is for beginners in microcontroller applications. It has 8 LEDs, audio generator and possibility to interconnect with other modules. The PCB is simplified to certain level in order to be manufacturable on a single sided substrate with minimum effort. There are only two wire bridges and one 0 ohm resistor in addition to other components. The LED decoration can be used in school projects or for new-years fun. Of course it’s not limited to X-mas tree. It can be used during Bodhi Day, Hanukkah, Id al-Adha, Winter Solstice celebration, Saturnalia, Yule, Kwanza, Omisoka or any other occasion which might come at the end of the year, when day is short and some LED blinking device might rise your mood.

The concept of this LED decoration:

LED decoration concept

LED decoration concept

Continue reading ‘LED decoration’ »

How to program blank STM32F1 with STLINK V2 firmware

Today I found out how to “flash” blank STM32F103xC to make STLINK V2 debugger interface.

So, instead of desoldering from Discovery board to make miniture STLINK debug interface:

a09 - stlink v2 brain desoldered                  a0a - stlink v2 finally assembled usb mini dongle

it’s possible to solder blank (or any) STM32F10x with USB and at least 64k flash + 20k RAM, program it with STLINK V2 Firmware and use your new USB dongle for debugging STM32 or STM8 devices.

Continue reading ‘How to program blank STM32F1 with STLINK V2 firmware’ »

Housing for ST-Link V2 on a single sided DIY PCB

“Quick and dirty” design of the housing for ST-Link V2 on a single sided DIY PCB is available on GrabCad and  __H__E__R__E__

h1 h2 h3 havzing

ST-Link V2 on a single sided DIY PCB

I am using U-Link from Keil for my debugging purposes. Sometimes it is quite bulky. I decided to design STLink V2 on a single-sided PCB in smallest possible size. Here is how it looks:

3d

This is preliminary preview. I will post more details after first testing.

Continue reading ‘ST-Link V2 on a single sided DIY PCB’ »

STM32F070 USB miniature dongle for prototyping

Here is single sided design for prototyping with 20 pin microcontroller STM32F070. This MCU is interesting due to:

  • small size in TSSOP housing
  • low price
  • interesting periphery: ADC, USARTs, timers, USB device!, etc…

Here’s the design. I will post some interesting USB projects in the future based on this board.

stm32f0dongle stm32f0dongle-foto1

Continue reading ‘STM32F070 USB miniature dongle for prototyping’ »

MODEM, parrot, CAT, …

Full bunch of wires is hanging from each HAM station and PC connected to the station: CAT, audio, each via dedicated interface for isolation or level shifting. Additional mess is with parrots or digital interfaces for digital mode. I wanted simple solution, which can be conected to PC via single USB cable.

I was looking for simple audio CODEC and found WM8731. To have enough processing power for some simple DSP audio I chose cortex M4F microcontroller. There is also micro-SD on the board for audio recording and playback, two mini-DIN connectors with YAESU pinout and galvanic isolation for USB. I stareted this project few months ago. I will add posts when I will make progress with module programming.

modem

The PCB is 80x45mm.

Here is schematic: modem

And PCB layout: lingva

 

Stay tuned for further progress reports.

 

The software will be published on git.

Universal USB port adapter with regulator

Many micro-controller circuits are powered from the USB port. Supply voltage is usually less than USB five volts. Supply circuit has adjustable output voltage with few jumpers. Some circuits require two supply voltages, one for digital part and second for analog part. Jumpers and resistors are selected such that when no jumper is inserted, the output voltage will be at minimum level. This prevents electronic circuit from damage when jumpers are forgotten. It’s shown in schematic:

usb_proto_napajanje.jpg

Continue reading ‘Universal USB port adapter with regulator’ »