Using Stand Alone

 

PTHAT USB to Serial/I2C Board.

Although the PTHAT has been designed primarily to fit and work with the Raspberry Pi, it can also be used stand alone or with other MCU’s.

We have designed a PTHAT USB to Serial/I2C board, especially for people wanting to use it Stand Alone that accommodates the popular FTDI 232  module.

There are a few jumpers on board that will allow you to direct the PTHAT Serial TX/RX lines to either the FTDI USB>Serial module or to the connector blocks. Using the connector blocks allow other MCU, such as Arduino boards to be connected and send commands to the PTHAT.

Also the PTHAT has connections to it’s I2C ports which can be linked again back to the USB>Serial module or the connector blocks.
The FTDI 232 module can be placed in I2C mode if needed for Firmware developers. With the current PTHAT firmware, it only supports serial commands, but in the future that may change. So we added it in!

The jumpers will be in default mode for Serial communications and we will publish more on the I2C later on.

The PTHAT USB to Serial/I2C Board can be ordered via our online shop on the following link.
https://ukcnc.net/index.php?route=product/product&product_id=140

 

Mode 1 FT232 USB > Serial > PTHAT

 

Mode 2 External MCU > Serial > PTHAT

Mode 3 FT232 USB > I2C > PTHAT

Mode 4 External MCU > I2C > PTHAT


Below is a connection diagram if you wanted to use just a FTDI 232 module and not our PTHAT USB>Serial Board:

As shown below, you need to supply 3.3 Volts, 5 Volts and GND (0 Volts). Then simply connect up the Serial UART Transmit and Receive lines.
 
Using a USB > Serial converter works well such as the low cost ones that use the FTDI chips.

To test in stand alone mode on a PC for example, you can still use the Pulse Train Hat Serial Example applications that can be found under the Examples Page at https://pthat.com/index.php/examples/

Load the application into Visual Studio 2015/2017 and change the Release from ARM to X86 and then choose local machine. Run it up and it should work fine.

We are also in the process of uploading the samples already compiled to the Windows Store, so if you are running Windows 10, you can easily install and test directly from your Windows 10 computer.

We will update this page with links as applications are published.

Pulse Train Hat Serial Example
https://www.microsoft.com/en-gb/store/p/pulse-train-hat-serial-example/9pdwtx6gnmsb

Pulse Train Hat Serial Coil Winder Example
https://www.microsoft.com/en-gb/store/p/pulse-train-hat-serial-coil-winder-example/9nt8kj9954d0

Pulse Train Hat RPM on the Fly
https://www.microsoft.com/en-gb/store/p/pulse-train-hat-rpm-on-the-fly/9njzp8rkbtf5

Pulse Train Hat Buffer Pick & Place Example
https://www.microsoft.com/en-gb/store/p/pulse-train-hat-buffer-pick-place-example/9npqgt2g93v1

 

Closer look at the PCB's

Share This