Author: Jan

STCubeIDE

ST have lately purchased True Studio, so it was not a big surprice to see that True Studio now is merged with CubeMX. I am not a big fan of Eclipse based IDE’s, but this one is great for getting you project off ground fast. CubeMX saves you a few hours as you start the…

Read the full article

New SWD Adapter

First draft of a new SWD adapter designed to be installed/removed while the Hat is inside the stack. SWD on this will work even if you miss a row while connecting because Reset is pushed to 3.3V and all other signals are duplicated on both rows.I will make another using ST-Link V2 connector directly. Currently…

Read the full article

Sensor Hat – Mockup 3

Just added the package for CR1220. The actual package look at bit different, but this has the correct footprint and size. This looks like a large component, but it is not – it is more an indication of how small and dense these Hat’s are. I will attempt to update the next revision of XPortHub…

Read the full article

Sensor Hat – Mockup 2

I have still not routed this, but schematics and component location is getting in place. I have to make a package for CR1220 battery holder for RTC + I would like to make the proper packages for the connectors as well. I dropped the extra CAN and RS485 due to lack of space + I…

Read the full article

Sensor Hat Mock-Up

An early mockup indicate I can manage 15 connector on a Hat with USB, but I will have to remove the external power connector and one of the connectors are CAN1, meaning the actual number of sensors are 14 connectors. If I dropped I2C and SPI I could just about manage 16 Analogue/Digital sensors, but…

Read the full article

Generic Sensor Hat

Some sensors like 3D sensors are suited to be mounted directly on a Hat, but a majority of sensors actually need to be mounted remotely to provide proper input. To interface to these I need an adapter card with connectors as illustrated above. STM32F405 have 16 ADC inputs that also can be used as GPIO…

Read the full article

3D Motion Sensor Hat

  To create a drone you need 3D motion sensors with some accuracy and the block diagram above illustrate a Hat with Gyroscope, Accelerometer and Magnetometer + some other sensors. Using a STM32F405 for this purpose is a bit overkill, but I also added RTC and SPI Flash to give the module some motion math…

Read the full article

Half Duplex SPI

Half Duplex SPI allows all units to send to each other using MISO or MOSI. The challenge is that if 2 units try sending one might pull high and another low so you get a short-cut. The same goes if more than one tries to become Master and run the clock. The diagram above solves…

Read the full article

Review Exercise

Doing a review of your Jown work is a bit of a challenge, but it is possible. The trick I use it to complete the work and then let it rest 1-2 weeks before I pick it up and update documentation. This technique has in the past proven quite efficient, but I would recommend using…

Read the full article