Category: Embedded Development

User HMI Applications

The drawing above illustrate the different components used to achieve a complete application with HMI. We have briefly discussed the internals of the Hat (left) consisting of hardware interfaces or communication drivers, a IO configuration and the SPI driver communicating with Raspberry PI. RPI have the master SPI driver and two new components that are…

Read the full article

Zero Running

Just moved a MicroSD card from a Raspberry PI 3 over to Zero and it just works. The only challenge I have is cables for keyboard/mouse + I use a HDMI adapter cable that is a bit unstable. Nice to know because the easiest way to develope for the Zero is probably just to use…

Read the full article

Raspberry PI Zero

Wow, I actually got a Zero in my hands. I have been holding back production of new Hat’s because I wanted to check with zero drilling holes. I am not sure where I got my dimensions from, but I was actually 1 mm off.

HMI Solution

Dealing with embedded solutions you also need to deal with HMI. A majority of HMI will always be on displays so having the Raspberry PI as base is quite nice. It is very capable of supporting our GUI needs, but how do we program it? A friend of mine uses Python with various libraries. I…

Read the full article

XML Parser

It’s some years ago I wrote my first XML parser. The story was that I was doing a communication interface and discovered that the interface sent XML messages. In two days I wrapped up a small XML parser as a library and got the task done.The technique I used was a classic recursive descent parser.…

Read the full article

8 bit AVR

Alf & Vegard’s RISC processor was created while they where students at NTH in Trondheim, Norway back in 1996. It has since become one of the most popular MCU’s worldwide. It’s foremost competition was Microchip’s PIC series, so it’s ironic that it’s now Microchip that own Atmel (and AVR). Even more ironic that while Atmel…

Read the full article

CAN eXtended, Message Format

Modern CAN uses two formats referred to as CAN 2.0A and CAN 2.0B. These again can use at least two wired solutions. The one we discuss here is the high speed version using twisted pairs. Two newer relatives to CAN that require either a logic circuit or MCU with special port support are CAN FD…

Read the full article

Raspberry PI Zero

Wow – I actually managed to order a Raspberry Pi Zero for 3.33 GBP. I have wanted one for months for testing, but declined to pay 50.- GBP or more on ebay. This was through one of the official distributors. 1 Raspberry Pi Zero – Max 1 Pi Zero Per Customer!Pi Zero only 1 £3.33…

Read the full article

3D Printer

I purchased a Prusa i3 DIY kit from Hong Kong some time back. I assembled it and got it working, but have not used the printer much. The first issue I had with it was that the board shorted and burned some lanes. I managed to fix that and even bought a spare control system…

Read the full article

Smart SPI Logic

BasicPI Hat’s uses SPI in a full network with up to 8 Hat’s per Raspberry PI. Communication with a STM32 will clock at ca 15Mhz (Set on Raspberry PI). The protocol uses GPIO pin’s as chip select for critical messages, but will otherwise rely on each device to filter out it’s own messages on MOSI.…

Read the full article