Bridgetek LDSBus BRT AN 080 Manuale utente

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.

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference No.: BRT_000378 Clearance No.: BRT#187
2
Product Page
Document Feedback Copyright © Bridgetek Pte Ltd
Table of Contents
1Introduction .............................................................. 3
2Credits....................................................................... 4
3Getting Started with IDM2040................................... 5
3.1 Hardware Overview.............................................................5
3.2 Hardware Setup Instructions ..............................................5
4Thonny Python IDE - Installation/Setup Instructions 9
5Procedure to run LDSU Circuitpy Sample Example
using Thonny ............................................................... 12
6Contact Information ................................................ 18
Appendix A –References ............................................. 19
Document References ...............................................................19
Acronyms and Abbreviations.....................................................19
Appendix B –List of Tables & Figures .......................... 20
List of Tables.............................................................................20
List of Figures ...........................................................................20
Appendix C –Revision History ..................................... 21

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference No.: BRT_000378 Clearance No.: BRT#187
3
Product Page
Document Feedback Copyright © Bridgetek Pte Ltd
1Introduction
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 on IDM2040 with appropriate LDSBus interface. IDM2040 has built-in
LDSBus interface and is capable of supplying up to 24v to the LDSBus. More information on the
IDM2040 is available at https://brtchip.com/product/.

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference No.: BRT_000378 Clearance No.: BRT#187
5
Product Page
Document Feedback Copyright © Bridgetek Pte Ltd
3Getting Started with IDM2040
3.1 Hardware Overview
Figure 1 - IDM2040 Hardware Features
3.2 Hardware Setup Instructions
Follow these steps to setup the IDM2040 Hardware Setup –
a. Remove the Jumper.
RJ45
Jumper
20v Adapter
Reset Button
Port for PC
connection
Boot button

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document 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.
d. Connect the 20v supply adapter using a USB-C cable to the USB-C port on the IDM2040.

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference No.: BRT_000378 Clearance No.: BRT#187
7
Product Page
Document Feedback Copyright © Bridgetek Pte Ltd
e. Turn on the 20v adapter using the AC power 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-RP2”.
h. In the given example package, there must be an “.uf2” file, copy the file and paste it into
“RP1-RP2” drive.
i. Upon copying the “.uf2” file to “RPI-RP2”, the device will reboot automatically and again
will appear as a new drive, such as “CIRCUITPY”.

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference No.: BRT_000378 Clearance No.: BRT#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 saving.
j. The COM port for this device will appear in Device Manager. Here is an example screen
showing the IDM2040’s COM Port as COM6.

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference No.: BRT_000378 Clearance No.: BRT#187
9
Product Page
Document Feedback Copyright © Bridgetek Pte Ltd
4Thonny Python IDE - Installation/Setup Instructions
Follow these steps to install 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 installation by clicking the executable file
(.exe) and following the installation wizard. Upon completing the installation, open the
Thonny Python IDE from the Windows Startup.
d. To open the Properties, click the left mouse button at the right bottom corner. Select
“CircuitPython (generic)”.

Application Note
BRT_AN_080 LDSBus Python SDK on IDM2040 User Guide
Version 1.0
Document Reference 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 in device manager
after connecting. In this example screenshot COM port appeared as COM6. Click [OK].
`
Indice
Altri manuali Bridgetek Schermo tattile
Manuali Schermo tattile popolari di altre marche

Elecro Engineering
Elecro Engineering Poolsmart Plus Istruzioni per l'installazione

Johnson Controls
Johnson Controls IQ4 HUB Manuale utente

Elo TouchSystems
Elo TouchSystems ET2270L Manuale utente

Elo TouchSystems
Elo TouchSystems ET1002L Manuale utente

Elo TouchSystems
Elo TouchSystems 3201L Manuale utente

Duratec
Duratec S15 Manuale utente














