Category: Projects

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

USB on STM32

J7 above is the USB connector on my Hat’s and 44/45 at right is the connection to the MCU. This is all you need to do to have a working USB connected to an STM32. Software is even easier if you just want a serial port. You just install STM32 Virtual Serial port driver for…

Read the full article

LoRa Schematics Error

This is the PSU used on the LoRa/GPS Hat to allow switching the units on/off. The signal EnGPS connects to a GPIO pin and the MCU must pull it high for GPS to switch on – very simple. One of the functions of a modern EDA is to check schematics and PCB. This works excellent…

Read the full article

Drone Projects

I want to make a larger plane using drone technology and the drawing above illustrate a generic control system with 4 thrusters. In this case I suggest 4 main motors because I want to lift a large drone in a simple frame to test thrusters and control logic. But, the illustration is generic in nature.…

Read the full article

easyUDP

UDP is an excellent protocol for sending messages between nodes in a system with Ethernet or Wifi. It’s speed and behavior on a modern PC’s allows in the region of 100,000 messages per sec, which should be sufficient for most applications.To make a Connection you only need two end-Points of which one need to have…

Read the full article

easyIPC Stack

easyIPC is the protocol and collection libraries I use to communicate cross various networks. easyIPC is not bound to a special technology as it provides universal device to device access through a variety of technologies including Ethernet/Wife, RS485, CAN, and SPI and in time others. UDP, SPI, UART and CAN are examples of technologies I…

Read the full article

RS485 Hub 3D draft

First 3D draft of the RS485 Hub. I have moved all connectors to left and top because it will be attractive to use this together with RPI 3B+ that have Ethernet/USB at right. As mentioned I could have used XPortHub for this, but I often need exactly RS485/Ethernet in higher density because RS485 is very…

Read the full article