background image

Use of Bridgetek devices in life support and/or safety applications is entirely at the user’s risk, and 

the user agrees to defend, indemnify and hold Bridgetek harmless from any and all damages, 

claims, suits or expense resulting from such use. 

 

 

Bridgetek Pte Ltd (BRTChip) 

178 Paya Lebar Road, #07-03 Singapore 409030 

Tel: +65 6547 4827 Fax: +65 6841 6071

 

Web Site:  

http://brtchip.com

 

Copyright © Bridgetek Pte Ltd 

 

 

 

 

 

 

 

 

 

 

 

 

Application Note 

 

BRT_AN_080 

 

LDSBus Python SDK on IDM2040 User 

Guide

 

 

Version 1.0 

 

Issue Date:  29-11-2021 

 

 

 

 

 

This  document  provides  information  about  how  to  setup  and  use  the  LDSBus  Python 
SDK on IDM2040. 

Содержание LDSBus BRT AN 080

Страница 1: ...s suits or expense resulting from such use Bridgetek Pte Ltd BRTChip 178 Paya Lebar Road 07 03 Singapore 409030 Tel 65 6547 4827 Fax 65 6841 6071 Web Site http brtchip com Copyright Bridgetek Pte Ltd...

Страница 2: ...2 Credits 4 3 Getting Started with IDM2040 5 3 1 Hardware Overview 5 3 2 Hardware Setup Instructions 5 4 Thonny Python IDE Installation Setup Instructions 9 5 Procedure to run LDSU Circuitpy Sample Ex...

Страница 3: ...This document describes how to use IDM2040 with LDSU circuitpy example including the Installation procedure for Thonny Python IDE and steps to execute LDSU circuitpy examples The Python SDK will run...

Страница 4: ...SBus Python SDK on IDM2040 User Guide Version 1 0 Document Reference No BRT_000378 Clearance No BRT 187 4 Product Page Document Feedback Copyright Bridgetek Pte Ltd 2 Credits Open Source Software Thon...

Страница 5: ...87 5 Product Page Document Feedback Copyright Bridgetek Pte Ltd 3 Getting Started with IDM2040 3 1 Hardware Overview Figure 1 IDM2040 Hardware Features 3 2 Hardware Setup Instructions Follow these ste...

Страница 6: ...ent Reference No BRT_000378 Clearance No BRT 187 6 Product Page Document Feedback Copyright Bridgetek Pte Ltd b Connect the LDSU module to HVT c Using RJ45 cable connect HVT to IDM2040 RJ45 connector...

Страница 7: ...wer supply f Connect IDM2040 to PC using Type C cable g Press the Boot button the IDM2040 board Hold it for a few seconds and release it after resetting the board Windows will open a drive named RP1 R...

Страница 8: ...T 187 8 Product Page Document Feedback Copyright Bridgetek Pte Ltd The code py is the main file which runs every time theIDM2040 is reset Open this file and delete any content inside of it before savi...

Страница 9: ...tall and setup Thonny Python IDE a Download the Thonny Python IDE package from https thonny org b Click Windows to download the windows version c Upon downloading the application complete the installa...

Страница 10: ...e No BRT_000378 Clearance No BRT 187 10 Product Page Document Feedback Copyright Bridgetek Pte Ltd e Click Configure Interpreter f Click on the Port drop down and select the port appeared for IDM2040...

Страница 11: ...t Reference No BRT_000378 Clearance No BRT 187 11 Product Page Document Feedback Copyright Bridgetek Pte Ltd g Thonny will report the device information at the interpreter prompt Adafruit CircuitPytho...

Страница 12: ...t Feedback Copyright Bridgetek Pte Ltd 5 Procedure to run LDSU Circuitpy Sample Example using Thonny Follow these steps to run the LDSU circuitpy sample example a Open the sample package file As part...

Страница 13: ...Document Feedback Copyright Bridgetek Pte Ltd c Open any given example using a text editor such as notepad and copy it to the Thonny Editor and save it For example open LDSBus_Thermocouple_Sensor py...

Страница 14: ...78 Clearance No BRT 187 14 Product Page Document Feedback Copyright Bridgetek Pte Ltd e Enter a file name and click OK Note When sample code is saved to code py then every time it reboots it will begi...

Страница 15: ...1 0 Document Reference No BRT_000378 Clearance No BRT 187 15 Product Page Document Feedback Copyright Bridgetek Pte Ltd g To run the example from Thonny Editor click Run current script h The Circuitp...

Страница 16: ...00378 Clearance No BRT 187 16 Product Page Document Feedback Copyright Bridgetek Pte Ltd i To stop the execution click Stop Users can update the code as required or can copy paste another example to t...

Страница 17: ...earance No BRT 187 17 Product Page Document Feedback Copyright Bridgetek Pte Ltd j Remember to copy the following files irBlasterAppHelperFunctions and lir_input_file txt before trying the LDSBus_IR_B...

Страница 18: ...e Bridgetek Web site for the contact details of our distributor s and sales representative s in your country System and equipment manufacturers and designers are responsible to ensure that their syste...

Страница 19: ...uct Page Document Feedback Copyright Bridgetek Pte Ltd Appendix A References Document References BRT_API_002_LDSBus_Python_SDK_Guide BRT_AN_078_LDSU IR Blaster_Application Acronyms and Abbreviations T...

Страница 20: ...DM2040 User Guide Version 1 0 Document Reference No BRT_000378 Clearance No BRT 187 20 Product Page Document Feedback Copyright Bridgetek Pte Ltd Appendix B List of Tables Figures List of Tables NA Li...

Страница 21: ...21 Product Page Document Feedback Copyright Bridgetek Pte Ltd Appendix C Revision History Document Title BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide Document Reference No BRT_000378 Clearance...

Отзывы: