Tag Archives: ARM

A development board for the STM32F042 TSSOP package

via Dangerous Prototypes


Andy Brown designed a development board for the STM32F042 in the TSSOP20 package:

Development board features

  • USB. The 042 series supports USB and although 32Kb is not a lot of space to include a USB driver and your application logic it does make sense to hook up those USB data lines and thereby enable USB device development.
  • Switching regulator. All the development boards that I’ve seen seem to use a low dropout regulator (LDO) to supply power to the MCU which means that they’re unable to supply much current to any peripherals that you’re prototyping. The discovery boards warn you not to draw more than 100mA and many of the 3rd party boards use one of the 1117 regulators which, with up to a 1A limit, look great on paper but the universally chosen SOT-223 package will burn up in smoke long before you get anywhere near that figure.
  • VDDA control.The discovery boards allow you to supply VDDA externally if required. I’d like to keep this ability.
  • Onboard 8MHz crystal. All the F0 series can be clocked from the internal high speed internal (HSI) 8MHz oscillator with an option to use an external 8Mhz crystal. I’ll include such a crystal on my board.
  • Onboard NPN transistor. I often need to use an NPN transistor as a low-side switch to control a load either requires too much current to power from a GPIO or is running from a different voltage level (e.g. 5V). I’ll include a simple transistor on this board configured ready to function as a switch.
  • A LED. Because, well, you know, blinky.

Project info at Andy Brown’s blog.

Check out the video after the break.

Mesa-Video: 800×600 digital video for Arduinos over 2-wire serial Mesa-Bus

via Dangerous Prototypes


kevinhub88 writes:

This post describes Mesa-Video, a low cost, low power, small size and fully Open Source Hardware and Software solution for providing 800×600 digital video for Arduino ( and other ) microcontrollers.  Mesa-Video makes it quick and easy to display text and 24bit color graphics from any MCU using a single UART serial port pin. Applications for Mesa-Video are embedded projects requiring video output and embedded developers wanting real time visibility into their system operation. Mesa-Video is the 1st of multiple Mesa-Modules planned.

More details at Black Mesa Labs site.

Raspberry Pi garage door controller

via Dangerous Prototypes


As a follow up to yesterday’s Raspberry Pi and ARM uC Breakout + DirtyPCBs mini-review post,  hipfan75 has posted the completed Raspberry Pi-based Garage Door controller project:

Right now, all of the sensors and actuators are connected to Raspberry Pi GPIOs. At some point I may move them to the STM32.
I have disabled I2C on the PI and use the SDA/SCL pins as GPIO, reusing the external pull-up resistors on those lines for my sensor pullups. (Sensors are active-low)
GPIO 17, 27, 22, 23 (outputs) are used for the light and door toggles for the two garage doors.

Project info at hipfan75 imgur.   Reddit discussion here.


A GUI and CLI utility for EFM32’s UART bootloader

via Dangerous Prototypes


Mario writes:

I’ve been doing mostly sensor-based systems and I think these microcontrollers are the perfect fit. ARM Cortex (they go from M0 to M4, and their series seem to keep growing), an architecture that was specially designed for low-power sensor-based embedded systems, allowing to measure “stuff” while the CPU is stopped, a nice set of peripherals (OPAMP, 12bit DAC and ADC), great support for GCC ARM Embedded (which makes them really ease to use or getting started to) and a factory-programmed UART bootloader.
The bootloader uses XMODEM-CRC protocol and TeraTerm may be used for uploading. However if you want a command-line tool (like “avrdude” for AVR microcontrollers), there’s anything you can use. So, I built one.

Source code is on Github.

Via the forum.

Project details at Mário Ribeiro’s blog.

Tiva C launchpad FFT with real time plotting using pyQtGraph

via Dangerous Prototypes


Shane of Wattnotions writes:

The biased signal generator signal is connected to AnalogIn 1 on the Tiva C which is pin PE_2. Signal Gen and Tiva C ground is common. The two 10k resistors from a voltage divider which will halve the 3v input to give a 1.5 v bias…

See code at Wattnotions page.

Check out the video after the break.

tinyK20: New board with micro-SD card

via Dangerous Prototypes


Erich of MCU on Eclipse has posted an update on his open source tinyK20 project. We wrote about it previously:

Changes from the earlier version (see “tinyK20 Open Source ARM Debug/Universal Board – First Prototypes“):
1.Replaced the K20 crystal with one having a smaller footprint.
2.Added Micro SD card socket on the back (same socket as on the FRDM-K64F or FRDM-K22F).
3.Because SD cards can draw more than the 120 mA the K20 internal 3.3V provided, there is a footprint on the backside of the board to add an extra DC-DC converter.
4.Moved reset button and headers.
5.First version with transparent enclosure.