Category: Educational

Terminal Code

The code snip below is the C# terminal code I just knocked out. As simple serial terminal as you can get: namespace Terminal {     class Program     {         static void Main(string[] args)         {             string portName = “COM15”;             while (true)             {                 try                 {                     SerialPort port = new…

Read the full article

Multiple ST-Links

SW4STM32 allows you to maintain multiple projects and have multiple ST-Links active at once. This is a welcome feature as I now need to program several at once to get backbone SPI working. I finally got the 10x USB cables, so everything is set up and working. This also means that I start using SW4STM32…

Read the full article

Home made Z80 Computer

I have seen quite a few attempts on making vintage computers, but this “Homebrew Z80 Computer Kit” costing 199.- USD is very cool. This is actually a very cool design. If this had popped up at this price some 40 years ago I would have bought one. I do however love the modular design concept…

Read the full article

Google Web Designer

I have searched for Web Designers a few times and recently found Google Web Designer. This is a full HTML5 designer with  WYSIWYG designer as well as Code Editor. This looks like it could be the answer to my web design needs should I decide to use my own time to dig into this. Google…

Read the full article

Reading this blog

I basically keep my notes here in this blog, so to follow a project you just click on the project in the left (obs right) bar as that will filter out entries. This is so far the only real change to this blog as I keep searching for alternative themes. I actually found one WordPress…

Read the full article

CAN Arbitration

One of the things you need to be aware off as you design (or use) a CAN based protocol is how arbitration works and how it can be used to your advantage or create a timing bug if it used wrong. CANbus consist of a 11 or 19 bit ID field at the head of…

Read the full article

Analogue, Programmable PSU

This weird circuit is a programmable, analogue PSU. It is basically only a LM317 and an array with resistors and MOSFET’s so I can program the voltage out by selecting a combination of 10 resistors. This is not straight forward, but I can at least Select 10 preset values. In addition I use an ADC…

Read the full article

CAN Adapter

Many of my newer devices have CAN so I wanted a simple USB(CAN adapter. It is nothing special with this project. I used a STM32F105 with USB on one side and CAN on the other. A minimalistic UDB-CAN Adapter just6 to avoid the need to pay a fortune for these. The first rev 1.0 missed…

Read the full article