Difference between revisions of "Cutipy Test"

From wiki.emacinc.com
Jump to: navigation, search
(Created page with "{{#seo: |title=CutiPy Test |titlemode=append |keywords=CutiPy Test |description=The following page can be used to get familiarized with the CutiPy Test software. }} <!-- /****...")
 
Line 16: Line 16:
 
* Desktop PC
 
* Desktop PC
 
* USB to mini-USB cable
 
* USB to mini-USB cable
* Serial to USB converter
+
* Serial to USB converter (for testing RS232/422/485 combo port)
 +
* DB9 Loopback (for testing DB9 serial port)
 +
* Oscilloscope (for testing High Drive Outputs
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*****************************************  Using/Working With  ******************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 +
1. To begin testing the CutiPy, simply connect it via Mini-USB to USB to your computer and open a serial port monitoring program such as Minicom on linux or PuTTY on Windows.
 +
 +
2. Once you're able to communicate with Micropython's REPL, start the test be entering:
 +
<syntaxhighlight lang=python>
 +
import test
 +
</syntaxhighlight>

Revision as of 14:37, 30 October 2018

EMAC has provided a simple test script that can be run on a CutiPy to verify function.

General Information

Tools Required

  • Desktop PC
  • USB to mini-USB cable
  • Serial to USB converter (for testing RS232/422/485 combo port)
  • DB9 Loopback (for testing DB9 serial port)
  • Oscilloscope (for testing High Drive Outputs

1. To begin testing the CutiPy, simply connect it via Mini-USB to USB to your computer and open a serial port monitoring program such as Minicom on linux or PuTTY on Windows.

2. Once you're able to communicate with Micropython's REPL, start the test be entering:

import test