Keysight Technologies U3810A Getting Started Manual

Advanced iot teaching solution
Table of Contents

Advertisement

Keysight U3810A Advanced IoT
Teaching Solution
Getting
Started Guide

Advertisement

Table of Contents
loading

Summary of Contents for Keysight Technologies U3810A

  • Page 1 Keysight U3810A Advanced IoT Teaching Solution Getting Started Guide...
  • Page 2: Notices

    EITHER EXPRESS OR IMPLIED, WITH ment and written consent from tomarily provided to the public. REGARD TO THIS MANUAL AND Keysight Technologies as governed by Accordingly, Keysight provides the ANY INFORMATION CONTAINED United States and international Software to U.S. government HEREIN, INCLUD ING BUT NOT copyright laws.
  • Page 3: Safety Symbols

    Safety Symbols The following symbols on the instrument and in the documentation indicate precautions which must be taken to maintain safe operation of the instrument. Caution, risk of danger (refer to this manual for specific Warning or Caution information) Keysight U3810 Series Getting Started Guide...
  • Page 4: Safety Consideration

    Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards for design, manufacture, and intended use of the instrument. Keysight Technologies assumes no liability for the customer’s failure to comply with these requirements.
  • Page 5: Environmental Conditions

    Up to 95% RH at 40°C (non-condensing) Altitude Up to 2000 m Power The U3810A is generally powered from USB but may optionally be powered by up to 9 VDC / 500mA at its “Input Power” connector Keysight U3810 Series Getting Started Guide...
  • Page 6: Regulatory Information

    Regulatory Information The U3810A IoT System Design Module Training Kit complies with the following Electromagnetic Compatibility (EMC) compliance and radio requirements. EMC compliance – EN 61326-1:2013 – EN 301 489-1 V2.1.1:2017 – EN 301 489-17 V3.1.1:2017 RF compliance – EN 300 328: V2.1.1:2016 (Wi-Fi / BLE) RF health –...
  • Page 7: Frequency Range

    (Country Dependent) Adjustable less than 14.97 dBm 863.00 to 870.00 (25mW), typically 13.57 dBm (22.8mW) max measured conducted right at module. 917 to 923.5 917 to 923.5 MHz (with U3810A-003) 19.07 dBm (80.9 mW) 根據NCC低功率電波輻射性電機管理辦法 規定: 經型式認證合格之低功率射頻電機,非經許可,公司、商號或使用者均不得擅自變更頻率、加大 第十二條 功率或變更原設計之特性及功能。 低功率射頻電機之使用不得影響飛航安全及干擾合法通信;經發現有干擾現象時,應立即停用, 第十四條...
  • Page 8: Regulatory Markings

    Regulatory Markings The FCC label or the FCC mark is a certification mark employed on electronic The CE mark is a registered trademark of the products manufactured or sold in the United European Community. This CE mark shows States which certifies that the that the product complies with all the electromagnetic interference from the device relevant European Legal Directives.
  • Page 9 Hiermit erklärt Keysight Technologies dass der Funkanlagentyp U3810A IoT System Design Module Training Kit der German Richtlinie 2014/53/EU entspricht. Il fabbricante, Keysight Technologies, dichiara che il tipo di apparecchiatura radio U3810A IoT System Design Module Italian Training Kit è conforme alla direttiva 2014/53/UE.
  • Page 10: Waste Electrical And Electronic Equipment (Weee) Directive 2002/ 96/Ec

    Waste Electrical and Electronic Equipment (WEEE) Directive 2002/ 96/EC The U3810A IoT System Design Module Training Kit complies with the WEEE Directive (2002/96/EC) marking requirement. This affixed product label indicates that you must not discard this electrical or electronic product in domestic household waste.
  • Page 11: Sales And Technical Support

    Sales and Technical Support To contact Keysight for sales and technical support, refer to the support links on the following Keysight websites: – Product-specific information and support, software and documentation updates – www.keysight.com/find/U3813A – www.keysight.com/find/U3814A – www.keysight.com/find/U3815A – www.keysight.com/find/U3816A – www.keysight.com/find/U3817A –...
  • Page 12: Table Of Contents

    Accessories Required ...................... 18 Software Required ......................18 Set Up the U3810A System ......................20 Configure the Keysight U3810A as a “cape” ..............20 Sensor and Xbee3 Module Installation ................20 Main Jumpers ........................21 DC-to-DC Converter and Charger Jumpers ..............22 Establish Serial Communications between BeagleBone and PC ........
  • Page 13 Use USB Memory Stick to transfer files ................. 47 Hardware Verification ........................49 Test the LCD Display ....................... 51 Test the U3810A GPIO Using Buttons and a Relay............52 Test SPI by Reading sensor data and display on LCD ........... 55 Test I C bus using the LM75 Temperature Sensor ............
  • Page 14 Repackaging for Shipment ..................103 Cleaning ........................104 Electrostatic Discharge (ESD) Precautions ..............104 Appendix A – Initialize BeagleBone with Keysight U3810A Image ..........105 Uninitialized BeagleBone devices ................. 108 Appendix B – Cloud 9 IDE Usage ....................109 Appendix C – Keysight U3810A Technical Documents ............. 112 Board Diagram (Searchable PDF) .................
  • Page 15: Overview

    In the first lab of each semester the student will run a procedure. Characteristics and Specifications For the characteristics and specifications of the U3810A Advanced IoT Teaching Solution, refer to the Data Sheet at https://www.keysight.com/us/en/assets/3120-1243/data-sheets/Advanced-IoT-Teaching-Lab- Solution.pdf.
  • Page 16: Component Locations

    Component Locations A searchable Component Locator Drawing is available in Appendix C . Item Item DC Power Input Connector Spare Digital pressure sensor (remove) Micro-USB for XB Micro-USB for XB2 Power & PWM input for XB Spare Digital Temperature sensor (remove) XB Transceiver RESET Button Micro-USB for XB1 XB Transceiver...
  • Page 17: Button Functions

    If power is applied and the display is not lit, the PWR BTN can be momentarily pressed to start the boot sequence. Once “Keysight U3810A is displayed, the unit is fully power Momentarily press the SYS RST button and this will start the system in a boot up Reset Button (SYS RST) sequence.
  • Page 18: Hardware And Software Requirements

    Windows PC. Equipment Required A Keysight U3810A IoT System Design Module Training Kit with new BeagleBone Wireless CPU A Laptop or desktop PC running on Windows 8 or 10 with Internet access (Linux and macOS may work but are not presently on Keysight’s list of supported platforms)
  • Page 19 (Optional) Keysight BeagleBone Initialization Image: Keysight_BB_image.img.xz This image is a component of the purchased courseware. You can download the image together with the courseware using this process: Obtain the Keysight Entitlement Certificate Login into Keysight Software Manager at https://ksm.software.keysight.com/. New users will need to create a myKeysight account.
  • Page 20: Set Up The U3810A System

    Depending on your purchase configuration, your kit will either be supplied with a BeagleBone CPU out of the box or you will supply your own BeagleBone CPU. Assure that the Keysight U3810A IoT System Design Module Training Kit is configured as a “cape” on top of the BeagleBone CPU.
  • Page 21: Main Jumpers

    Placed the assembly on a location on your worksurface where all components and connectors are accessible for future wiring. Main Jumpers Assure the configuration of the Main Jumpers shown below. Jumper JP15 JP55 JP101 JP201 JP2101 JP2201 JP2301 Input Sensor +5VSYS Name XB Current...
  • Page 22: Dc-To-Dc Converter And Charger Jumpers

    DC-to-DC Converter and Charger Jumpers Assure the configuration of the DC-to-DC Converter and Charger Jumpers shown below. Jumper JP1901 JP1902 JP1903 JP1904 JP1906 JP1921 JP1922 JP1923 JP1924 JP1925 DC/DC DC/DC Inductor Charger Charger Charger Charge DC/DC DC/DC Name Input Current Input Output Current...
  • Page 23: Establish Serial Communications Between Beaglebone And Pc

    Choose 32-bit or 64-bit, whichever is compatible with your operating system. Only connect a USB cable from your computer to J15 of the U3810A. The JP1 should be in place and JP55 should not be placed. JP55 Keysight U3810 Series Getting Started Guide...
  • Page 24 Press the Windows key and type Device Manager or type the Run and type devmgmt.msc to open the Device Manager. Then find the COM port that connects to U3810A. Note down the port number. You will need this to configure the serial communication using PuTTY.
  • Page 25 Run your PuTTY software and connect to the COM port that you have noted down previously using Serial connection at 115200 Baud-rate. While observing the PuTTY window briefly press the SYS RST button on the lower left of the U3810A board. Keysight U3810 Series Getting Started Guide...
  • Page 26 Keysight U3810A Image Version 3.57 Sept 20th 2019 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] beaglebone login: If there is not a line in the serial port login indicating the U3810A Image revision, refer to Appendix NOTE A - Initialize BeagleBone with Keysight U3810A Image.
  • Page 27 Enter username debian and the password temppwd. A login message should appear showing the last login and the Keysight U3810A Lab Code Version. Last login: Fri Sep 20 16:39:16 UTC 2019 on ttyS0 The programs included with the Debian GNU/Linux system are free software;...
  • Page 28 Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Keysight U3810A Image Version 3.60 Dec 11th 2019 debian@beaglebone:~$ 10 Run the mraa-gpio list command and verify the last few lines of the output look like this.
  • Page 29 11 Power off the system by pushing the PWR BTN button or by executing the command sudo poweroff. The display should blank once the system is completely powered off. Keysight U3810 Series Getting Started Guide...
  • Page 30: Establish Secure Shell (Ssh) Communication Between Beaglebone And Pc

    Remove the USB cable from J15 and connect it instead to the BeagleBone CPU USB port to your PC. This will also power up the U3810A. It may take up to one minute to complete the boot process.
  • Page 31: Install Rndis Drivers

    Install RNDIS drivers If the drivers have not already been installed open the BeagleBone Getting Started drive using a file explorer. Select the driver for your OS from the Drivers folder and install the BONE_D64.exe file. During the installation, Windows 10 users may see this message. Click the Install this driver software anyway.
  • Page 32 Successful installation message will show the message. Refer to Troubleshooting Guide - USB RNDIS Drivers Installation for more information if you receive the error below. Keysight U3810 Series Getting Started Guide...
  • Page 33: Configure Rndis Adapter

    Configure RNDIS adapter Your PC will need to be on the same subnet using the RNDIS connection. This does not have DHCP, so your PC address needs to be set to 192.168.7.1. You may need to run this step each time you connect a different BeagleBone to your PC. The NOTE RNDIS adapter setting can only be 192.168.7.1 while the BeagleBone itself is at 192.168.7.2.
  • Page 34: Set Up Ssh Connection

    Set Up SSH connection To launch the Command Prompt, type cmd on your PC at the search bar and click to launch it. On the Command Prompt, type ping 192.168.7.2 and press Enter. You should see: Once the ping command comes back with a reply and a response time, double-click PuTTY.exe to launch the PuTTY terminal program.
  • Page 35 10 If this is the first time that the computer is connecting to this Beagle Bone, you will receive this message and question to which you should click Yes. 11 Click Open to open the terminal window. Press Enter on the PC keyboard to check and verify connectivity.
  • Page 36 12 Enter debian for login to log into the Beaglebone CPU on the U3810A. Debian will require temppwd for its password. Note that the password will appear as blank and unresponsive as you type. login as: debian Debian GNU/Linux 9 BeagleBoard.org Debian Image 2019-09-01...
  • Page 37 See the section on diagnosing and loading images in the Appendix A – Initialize BeagleBone with Keysight U3810A Image. 15 It is best to power off a system with the button or via a command before disconnecting it from the power.
  • Page 38: Configure Beaglebone To Connect To Wlan Network

    Configure BeagleBone to Connect to WLAN network Once this connection has been established for the first time, it will automatically connect back on subsequent reboots. In the PuTTY terminal window, enter connmanctl to start the wireless connection manager. Enter technologies to verify the WLAN function is available. debian@beaglebone:~$ connmanctl connmanctl>...
  • Page 39 Type the services command to view the available SSID’s. connmanctl> services MRR management service wifi_#######_managed_psk dreamx wifi_1234567890_managed_psk MRR Management 2 wifi_########_managed_psk PLAZZADPNG wifi_########_managed_psk MRR Management wifi_########_managed_psk MulhafArchitect wifi_########_managed_psk GLOBAL@unifi wifi_########_managed_psk ScienceExplorer wifi_########_managed_psk HUAWEI-B618-1492 wifi_########_managed_psk TMSSB2016 wifi_########_managed_psk Myreka Office wifi_########_managed_psk pgtopteam wifi_########_managed_psk Select and copy the desired SSID key, type connect and paste the selected SSID key.
  • Page 40 Type Ctrl + C to exit connmanctl. Verify your connection with ping by entering ping www.keysight.com in PuTTY. Press the Ctrl + C on the keyboard to stop the ping process. debian@beaglebone:/$ ping www.keysight.com PING e7793.x.akamaiedge.net (23.66.248.80) 56(84) bytes of data. 64 bytes from a23-66-248-80.deploy.static.akamaitechnologies.com (23.66.248.80): icmp_seq=1 ttl=52 time=102 ms 64 bytes from a23-66-248-80.deploy.static.akamaitechnologies.com...
  • Page 41: Use Winscp To Copy And Edit Files To Beaglebone

    Use WinSCP to Copy and Edit Files to BeagleBone After power or reset, the boot process may take some time to complete before the 192.168.7.2 NOTE port becomes active. Set Up WinSCP For Windows users, download and install WinSCP from https://winscp.net/eng/download.php. You should see a WinSCP icon on your desktop.
  • Page 42 First time users who are connecting WinSCP to the BeagleBone, select Yes when prompted with a message about connecting to an unknown server. Keysight U3810 Series Getting Started Guide...
  • Page 43: Copy Files With Winscp

    Copy Files with WinSCP You should see the GUI below where you can drag files across, to transfer it from the PC to the BeagleBone and vice-versa. BeagleBone On your desktop, create a text file “test.txt”. Keysight U3810 Series Getting Started Guide...
  • Page 44 Drag the text.txt file across in WinSCP to copy it over to the BeagleBone. Drag the file across For Linux based systems, copy the file using scp M1-L1.zip debian@192.168.7.2 NOTE command. Keysight U3810 Series Getting Started Guide...
  • Page 45: Edit Files With Winscp

    Edit Files with WinSCP With the copy of the test.txt file in BeagleBone, right-click the file and click Edit. It should prompt a built-in text editor where you will use it to edit shell scripts with a GUI text editor from PC. WinSCP built-in Text Editor Save your changes and close the text editor.
  • Page 46: Start Putty Ssh Connection From Winscp

    Start PuTTY SSH Connection from WinSCP If you have PuTTY software installed in your Windows PC, you can integrate PuTTY to WinSCP to easily start the SSH connection with BeagleBone without having to set up the connection properties in PuTTY. In your WinSCP window, go to Options >...
  • Page 47: Use Usb Memory Stick To Transfer Files

    Use USB Memory Stick to transfer files This task is optional and is only recommended when there are no direct or wireless connections available to the system. Another method would be to use USB memory stick to transport files. If you are not already logged in, use PuTTY to log in into the BeagleBone module with the following details.
  • Page 48 Students may begin on Lab 1. If the kit has been used by a student before setup and you performed this setup to return the U3810A to factory configuration, it is suggested that you run at least the first test in the next section.
  • Page 49: Hardware Verification

    DC Power connectors, and +5VRAW and +5VSYS on interface connectors such as J10, JP55, and TP51. If you are continuing this lab from previous lab session; Ensure your U3810A jumper settings are set up according to Main Jumpers. Connect your PC to the BeagleBone with a USB cable. Refer to...
  • Page 50 Once the permissions have been changed, type ./compileCode.sh to execute the code. This command will check and ensure that proper MRAA libraries are installed before compiling the code needed in this lab. debian@beaglebone:~/LabCode/M1-L1/M1-L1$ ./compileCode.sh Starting Found the proper mraa version ***** Compiling LCD Animation ***** Compiling Button Test ***** Compiling RelayTest...
  • Page 51: Test The Lcd Display

    Test the LCD Display In this task you will compile and run the first program. This is a program that checks the I bus and tests the LCD display by an animation of the characters. Type ./LCDAnimation command to run the LCD Animation code. If the file does not exist, enter the following command to recompile the code.
  • Page 52: Test The U3810A Gpio Using Buttons And A Relay

    Test the U3810A GPIO Using Buttons and a Relay. In this section will examine the GPIO functions of the BeagleBone. First, run a program to test out the buttons on BeagleBone. Next, you are going to power up the relay circuit and run another program to control the relay circuit by turning on and off using the button on the BeagleBone.
  • Page 53 J6 (5V) RELAY ACTUATOR J1301 (VCC) The diagram above might appear dark in print outs. Refer to Appendix C – Keysight U3810A Technical Documents for the searchable PDF to help you locate the locations of the jumpers, connectors and components.
  • Page 54 Type ./RelayTest to run the Relay Test code. If the file does not exist, run the following command to recompile the code. NOTE gcc M1_L1_RelayTest.c -l mraa -o RelayTest When you see the following messages in your PuTTY terminal, press Ctrl + C to stop the program and re-run it again.
  • Page 55: Test Spi By Reading Sensor Data And Display On Lcd

    Test SPI by Reading sensor data and display on LCD For this part, the JP15 Jumper must be in place. NOTE Before you begin, configure the Keysight U3810A as a “cape” on top of the BeagleBone CPU, and with the jumper configuration shown below: Jumper...
  • Page 56 In this section, you are going to test run a ready-made application to capture returned data from the TMP36 analog temperature sensor and display the results on the LCD. The TMP36 analog temperature sensor is a precision integrated-circuit temperature device that operates at 2.7 to 5.5 V and produces an output voltage linearly proportional to the temperature.
  • Page 57 Connect the TMP36 ANALOG TEMP SENSOR pins to U3810A J10 pins with jumper wires according to the table and image below. From J10 (+5SYS) ANALOG TEMP SENSOR J1101 (VCC) J10 (A7) ANALOG TEMP SENSOR J1101 (TEMP) J10 (GND) ANALOG TEMP SENSOR J1101 (GND) The diagram above might appear dark in print outs.
  • Page 58 ADC Value at Channel 7: 911 debian@beaglebone:~/LabCode/M1-L1$ The U3810A also has the capability to display a message on the onboard LCD. To display the temperature sensor on the LCD display, compile the ATempDisplay.c inside BeagleBone CPU. Enter the command below.
  • Page 59: Test I 2 C Bus Using The Lm75 Temperature Sensor

    Test I C bus using the LM75 Temperature Sensor C bus devices are located at /dev/i2c*. On the BeagleBone used with the U3810A I C Bus 1 is connected to the Arduino J8 connector and the J11 connector. The I C Bus 2 is connected to the LCD Display and the U3810A EEPROMs.
  • Page 60 The diagram above might appear dark in print outs. Refer to Appendix C – Keysight U3810A Technical Documents for the searchable PDF to help you locate the locations of the jumpers, connectors and components. Keysight U3810 Series Getting Started Guide...
  • Page 61 Run the following command to verify if the sensor is connected correctly. i2cdetect -r -y 1 The result should only show 0x48 which is the Temperature Sensor as shown below. − The i2cdetect command is part of the I C Tools, used to detect the types of devices NOTE present.
  • Page 62 Run the compiled program to display both the ANALOG TEMP SENSOR and DIGITAL TEMP SENSOR reading on the LCD display. ./ADTempDisplay If ADTempDisplay is not already there, use the command below to compile. NOTE gcc M1_L1_ADTempDisplay.c -l mraa -o ADTempDisplay The program will display both TMP36 and LM75 on LCD as shown below.
  • Page 63: Test I 2 C Bus Using The Mpl3115A2 Pressure Sensor

    C bus using the MPL3115A2 Pressure Sensor In this section, you are going to connect an I C device to the U3810A. First, the connection will be verified with Linux command line functions. Then, run a program that displays the barometric pressure to the LCD display.
  • Page 64 Run the following command to test the connection. The result should only show Device 0x60 on the list. i2cdetect -r -y 1 Run the Barometer code with the command below. ./PressureDisplay If the file does not exist, enter the command below to recompile the code. NOTE gcc M1_L1_PressureDisplay.c -l mraa -o PressureDisplay Press Ctrl + C to exit the program and disconnect all jumper wires from DIGITAL PRESSURE...
  • Page 65: Test I C Bus Using The Lms9Ds1Tr Imu Accelerometer

    C bus using the LMS9DS1TR IMU Accelerometer. In this section, you are going to connect an I C device to the U3810A. First the connection will be verified with Linux command line functions. A program will be run to show the 3-axis acceleration on the LCD display.
  • Page 66 Run the following command to test the connection. The result should only show Device 0x6b on the list. i2cdetect -r -y 1 Run the Accelerometer code with this command. ./AccelDisplay If the file does not exist, enter the command below to recompile the code. NOTE gcc M1_L1_AccelDisplay.c -lmraa -o AccelDisplay Tilt the board and notice the change 1.0 is equal to 1 g or 9.8m/s...
  • Page 67: Test The Pwm Functions With The Rgb Led

    RGB TRI-COLOR LED J45 (B) J9 (*6) The diagram above might appear dark in print outs. Refer to Appendix C – Keysight U3810A Technical Documents for the searchable PDF to help you locate the locations of the jumpers, connectors and components.
  • Page 68 Connect a wire from the BeagleBone P8 pin 13 to the R of the TRI-COLOR LED. BeagleBone P8 pin 13 The diagram above might appear dark in print outs. Refer to Appendix C – Keysight U3810A Technical Documents for the searchable PDF to help you locate the locations of the jumpers, connectors and components.
  • Page 69 Connect a wire from the *6 pin of J9 to the B of the TRI-COLOR LED. The diagram above might appear dark in print outs. Refer to Appendix C – Keysight U3810A Technical Documents for the searchable PDF to help you locate the locations of the jumpers, connectors and components.
  • Page 70: Test The Xbee Module Via Beaglebone Serial Port

    Test the XBee module via BeagleBone Serial Port Enter minicom -D /dev/ttyS1 -b 9600 to open a minicom terminal to /dev/ttyS1. To test the presence of the module, type +++ to get the module into command mode. This will also print back “OK” Press <Ctrl-A>...
  • Page 71: Schematic And Characteristics Of Sensors And Actuators

    Schematic and Characteristics of Sensors and Actuators Relay Actuator Parameter Minimum Maximum Typical Units Condition Volts Relay Off 55.0 71.0 Relay On Vinh VCC+0.7 Volts Input to turn off relay Vinl -0.7 Volts Input to turn on relay Operate time Release time Rinitial mΩ...
  • Page 72: Pwm Lpf

    PWM LPF Parameter Minimum Maximum Typical Units Condition Volts µA No load Filter 3dB, 1 pole RC Keysight U3810 Series Getting Started Guide...
  • Page 73: Solid State Relay

    Solid State Relay Parameter Minimum Maximum Typical Units Condition Volts Relay Off Relay On Vinh VCC+0.7 Volts Input to turn off relay Vinl -0.7 Volts Input to turn on relay Operate time Release time Rinitial Ω Each FET (2 FETs may be paralleled) Life expectancy No significant degradation with life Keysight U3810 Series Getting Started Guide...
  • Page 74: Digital Pressure Sensor

    Digital Pressure Sensor Parameter Minimum Maximum Typical Units Condition Volts µA Relay Off Vinh Volts Vinl Volts Calibrated range Noise Pa rms 1x oversample Absolute +/-.4 accuracy Relative accuracy during pressure Relative change between 70 to 110 kPa at any +/-.05 accuracy constant temperature between −10 °C...
  • Page 75: Analog Temp Sensor

    Analog Temp Sensor Parameter Minimum Maximum Typical Units Condition Volts µA V Temp range 0.75 Output Voltage -40C, 100C, 25C Accuracy +/-2 +/-1 V Temp .5+.01/C Vout = .5V + .01V/C Keysight U3810 Series Getting Started Guide...
  • Page 76: Digital Temp Sensor

    Digital Temp Sensor Parameter Minimum Maximum Typical Units Condition Volts C inactive Output C/LSB 9-bits 2s complement Accuracy Typ from 0 to 50C, Max -25 to 100C V Temp .5+.01/C Vout = .5V + .01V/C Keysight U3810 Series Getting Started Guide...
  • Page 77: Inertial Measurement Unit

    Inertial Measurement Unit Parameter Minimum Maximum Typical Units Condition Volts .6/4 accel+mag/gyro Output data rate One-shot mode Keysight U3810 Series Getting Started Guide...
  • Page 78 IMU Characteristics from the LSM9DS1 datasheet: Keysight U3810 Series Getting Started Guide...
  • Page 79: Current Sensor

    Current Sensor Parameter Minimum Maximum Typical Units Condition 4.75 5.25 Volts Powered by 5VDC from USB Rin (shunt) Ω All 4 shunt resistors in place Sensitivity G = 5 All 4 shunt resistors in place Sensitivity G = 500 Sensitivity G = 5 .333 Rin in parallel with .1Ω...
  • Page 80: Dc/Dc Converter And Charger

    DC/DC Converter and Charger Parameter Minimum Maximum Typical Units Condition DCDC Input Volts Fixed or high efficiency Burst mode DCDC Output 3.7/5/11 Volts Selectable MPPC Operating Volts Set with potentiometer R1904 Point range Charger Input Volts One-shot mode Selectable Charger Output 3.3/4.2/9.8 Volts For charging 2xNiMH/1xLiPo/1x NiMH...
  • Page 81 DC/DC Converter / Charger Jumpers setting: Jumper JP1901 JP1902 JP1903 JP1904 JP1906 JP1923 JP1924 JP1925 Charge Inductor Name RUN/STOP MODE Vout Vchg Current Limit Current Removed Position In place FIXED 660mA Removed (5.0V) Removed (4.2V) NoNTC (2.5mA) DC/DC Converter / Charger Jumpers drawing: DC/DC CONVERTER CHARGER Buck-Boost DC/DC Converter Accessory (left)
  • Page 82: Xbee /Multi Radio Module

    XBEE /Multi Radio Module Parameter Minimum Maximum Typical Units Condition Volts CR2032 Coin Cell BAT input Volts 3.3V supply “OR” function with USB power ICC Transmit +3.3 V, +8 dBm 135 mA @ +3.3 V, +19 dBm ICC Receive USB/U3810 Digital Comms Auto-selects if USB connected, else CPU RP-SMA...
  • Page 83: Lora Radio Module

    LoRa Radio Module Parameter Minimum Maximum Typical Units Condition Volts CR2032 Coin Cell BAT input Volts 3.3V supply “OR” function with USB power ICC Transmit 38.9 +3.3 V, +8 dBm 135 mA @ +3.3 V, +19 dBm ICC Idle Digital Comms USB/U3810 CPU Auto-selects if USB connected, else CPU RF Connector...
  • Page 84: Power Splitter

    Power Splitter Parameter Minimum Maximum Typical Units Condition Impedance Ω Power Attenuation Any port to any other port Ports 1 and 3 SMA(female) RF Connector Port 2 SMA(male) Cable-only, does not transmit OTA Operating frequency Keysight U3810 Series Getting Started Guide...
  • Page 85: Updating Lab Code

    The LabCode.tar.gz file in the home directory of the Keysight BeagleBone contains all the programs, files, and configuration files for the U3810A Labware. This file can be used the refresh all the files in the LabCode directory. Also using the update feature, a new revision of the lab code and BeagleBone configuration.
  • Page 86 ./LabCodeReset.sh -u The LabCode.tar.gz has been signed. Checking on the signature gpg: key 7C92DD7F05C4BDAE: "Copyright Keysight Technologies 2020" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: assuming signed data in 'checksum'...
  • Page 87: Troubleshooting

    Troubleshooting Does not Power Up (No Display) Check the USB Cable. Measure the voltage. Try different port. Display Lights Up but No Message Verify Keysight Software is installed. The i2cdetect -r -y 2 should show the following. The display should show up as device 3e. debian@beaglebone:~$ i2cdetect -r -y 2 -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --...
  • Page 88: Usb Serial Driver Installation Problem

    USB Serial Driver Installation Problem The warning below indicates that the driver was not automatically installed by Windows. Right-click the device and select Update driver. You can also download the driver from FTDI website (https://www.ftdichip.com/Drivers/D2XX.htm) and run the setup file “CDM21228_Setup.exe”. The table below lists the currently Supported D2XX Drivers.
  • Page 89: Usb Rndis Problems

    USB RNDIS Problems Follow the steps below to troubleshoot this error message. Go to Device Manager. When you see the Remote NDIS Compatible Device under Network Adapters, Windows has automatically detected the RNDIS Device and installed its adapter. You may ignore or disable the CDC ECM (right-click and select disable). Keysight U3810 Series Getting Started Guide...
  • Page 90 When you see the RNDIS listed in the Other devices category with the Property Manufacturer: Unknown, you will need to load the Microsoft version of the RNDIS Device Driver. You may also need to reload the driver if you change USB ports. 2 Right-click the RNDIS device and select Update Driver Software.
  • Page 91 Select the Network Adapters device type. Click Microsoft > USB RNDIS Adapter as shown below. A warning might appear and click Yes to bypass. Upon the successful installation of the driver, you should see the new driver in the Device Manager tree. Keysight U3810 Series Getting Started Guide...
  • Page 92: Typical Boot Process Review

    Typical Boot Process Review Connect a micro-USB to J15 of the U310A system. Open a PuTTY terminal to the serial port found using the device manager. Connect using 115200 Baud. Pres the Reset button and observe the boot process on the PuTTY terminal. The output should look something like this: The typical console and PuTTY monitor and reboot while observing the console.
  • Page 93 Card did not respond to voltage select! gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 Card did not respond to voltage select! Card did not respond to voltage select! switch to partitions #0, OK mmc1(part 0) is current device...
  • Page 94: Debugging I 2 C Devices

    0.546264] dmi: Firmware registration failed. 1.035757] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle 1.334985] omap_voltage_late_init: Voltage driver support not added Debian GNU/Linux 9 beaglebone ttyS0 BeagleBoard.org Debian Image 2018-06-17 U3810A Version 2.50 Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian default username:password is [debian:temppwd] beaglebone login: Debugging I C Devices...
  • Page 95: Managing Disk Usage

    Managing Disk Usage The df -h will give the usage of the different mounted partitions. The ‘/’ partition is the primary. This image has a high usage of the available space. ebian@beaglebone:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 215M 215M...
  • Page 96: Troubleshooting Bluetooth ® And Wi-Fi

    Troubleshooting Bluetooth and Wi-Fi ® or Wi-Fi is with rfkill: A way to enable or disable Bluetooth ® Command Descriptions Linux Commands rfkill block wifi Disable Wi-Fi Enable Wi-Fi rfkill unblock wifi Disable Bluetooth ® rfkill block bluetooth Enable Bluetooth rfkill unblock bluetooth ®...
  • Page 97 If nothing is returned, there a known and common problem that the rfkill command blocking Bluetooth was run, and it was not unblocked before reboot. The way to fix this state is to manually edit the rfkill file and enable it. Edit the file /var/lib/systemd/rfkill/ platform-481a6000.serial:bluetooth with root permissions—this will require the use of the nano editor since the file will not be visible on WinSCP.
  • Page 98: Wi-Fi Disabled

    Wi-Fi Disabled An improper sequence may disable Wi-Fi in such a way that it looks permanently disabled. debian@beaglebone:~/temp/LabCode$ connmanctl Error /net/connman/technology/wifi: No carrier connmanctl>exit debian@beaglebone:~$ rfkill list all 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: yes Hard blocked: no If the Wi-Fi was blocked by the rfkill command without a reboot, rfkill unblock wifi will...
  • Page 99: Debugging Zigbee Connections

    Debugging Zigbee Connections To verify that two or more Zigbee modules are communicating with each other using the same wireless network, click Discover radio nodes in the same network button in the XCTU software. Discover radio is available in all API configurations. (Network working mode is not available in NOTE Transparent Mode [0]).
  • Page 100 On the “Discovered” Sensor node Zigbee module, verify that: The MAC Address of the Gateway Zigbee module found matches your Gateway Zigbee module MAC address. The Gateway Zigbee module has the coordinator icon to indicate that it is a coordinator. Click the Cancel button after verification.
  • Page 101 Type something in the Console log of either the gateway or sensor node Zigbee, and then do it again with the other module. You should see the same message appear in the other Zigbee module. This verifies that both Zigbee modules are communicating with each other. HINT: No Console Log? Ensure AP API Enable parameter is set to Transparent Mode [0] on both XBees.
  • Page 102 In XCTU click each Zigbee module (XBee3 + XB1 or XB2 Transceiver board) and the Configuration working mode icon. At the top of the Configuration working mode window, assure the latest firmware revision, 1005 or newer: Product family: XB3-24 – Function set: Digi XBee3 Zigbee 3.0 TH –...
  • Page 103: Service And Repair

    If the Troubleshooting steps above do not resolve the issue, either the BeagleBone CPU or the U3810A main board (or a snap-off accessory) is defective and should be repaired or replaced. The BeagleBone CPU and the U3810A main board must be separated and repaired or replaced separately.
  • Page 104: Cleaning

    Do not use detergent or solvents. − Do not attempt to clean internally. If needed, contact a Keysight Technologies Sales and Service office to arrange for proper cleaning to ensure that safety features and performance are maintained. Electrostatic Discharge (ESD) Precautions Electrostatic discharge (ESD) can result in damage to the components at the exposed area of the educational kit.
  • Page 105: Appendix A - Initialize Beaglebone With Keysight U3810A Image

    U3810A, and for disabling itself after the boot and overlay style loaders run. Your BeagleBone will need to be connected to the U3810A board (a USB to TTL serial cable may also be used).
  • Page 106 SD Card Correctly Inserted SD Card Not Incorrectly Inserted Connect a USB cable from your PC to J15 of the U3810A. When the JP55 is in place, you may need to press PWR BTN B7 to power on BeagleBone CPU.
  • Page 107 This point is connected to BeagleBone’s +5VRAW output via the U3810A board. Observe that the four LEDs on BeagleBone (USR0, USR1, USR2, and USR3) will be in running state (scanning) during the firmware initialization. Once done (approximately 10 minutes), they will all be turned OFF.
  • Page 108: Uninitialized Beaglebone Devices

    Uninitialized BeagleBone devices You will only need to perform this when the BeagleBone LEDs do not scan and turn off after 10 minutes (only for Un-initialized BeagleBones and older Debian images). For some un-initialized BeagleBones or BeagleBones loaded with older Debian images, the USER button on the BeagleBone will need to be pressed and held until the four blue status lights all illuminate to install the image.
  • Page 109: Appendix B - Cloud 9 Ide Usage

    Appendix B – Cloud 9 IDE Usage Over the RNDIS connection, the Cloud9 IDE can be seen by opening a web browser to http://192.168.7.2. The default page or the last saved state for the IDE should come up. The page has three major sections which are the file navigator, text editor, and the console window.
  • Page 110 Open a file in the editor and double-click M1_L1_GyroscopeDisplay.c file in the File Navigator. The Editor window should now show the file below. This is a very intuitive text editor that uses the conventional Ctrl + C to copy and Ctrl + V to paste. Once the file has been modified, go to the console window to compile it.
  • Page 111 Run the following command in the console window to change to the directory that you are working in. cd ~/LabCode/M1-L1 Run the following command in the console window to compile the C code. gcc M1_L1_GyroscopeDisplay.c -l mraa -o Gyro Enter ./Gyro to run the code. The Cloud9 IDE is secured so that it can only be accessed via the RNDIS port on 192.168.7.2.
  • Page 112: Appendix C - Keysight U3810A Technical Documents

    The most up-to-date copies of the following two documents are on your BeagleBone image in the LabCode folder. Board Diagram (Searchable PDF) This is a searchable PDF of the U3810A board diagram. Use this document to locate jumpers, connectors and components on the board. U3810-66501 Board Diagram.pdf...
  • Page 113: Appendix D - Beaglebone Pinouts

    Appendix D – BeagleBone Pinouts Source: https://seeeddoc.github.io/Beaglebone_green_wireless/ Keysight U3810 Series Getting Started Guide...
  • Page 114: Appendix E - Update, Upgrade, And Download Linux Packages

    The Debian system can be used to add packages or update packages to a newer revision. If you are continuing this lab from previous lab session; Make sure your U3810A jumper settings are set up according to Set Up the U3810A System.
  • Page 115 Run the following command to install the Network Mapper program. You will need this for Module 1 Lab 7. sudo apt install nmap debian@beaglebone:~$ sudo apt install nmap Reading package lists... Done Building dependency tree Reading state information... Done nmap is already the newest version (7.40-1). 0 upgraded, 0 newly installed, 0 to remove and 202 not upgraded.
  • Page 116: Appendix F - Cloning A Repository From Github To Install Mraa

    Enter the following line to download the required packages for the system. sudo apt-get install build-essential python-dev cmake automake libpcre3 libpcre3-dev byacc flex swig3.0 Execute the following command to clone the entire mraa GitHub repository into the U3810A system. git clone https://github.com/eclipse/mraa.git debian@beaglebone:~$ git clone https://github.com/eclipse/mraa.git...
  • Page 117 Type cmake -D CMAKE_INSTALL_PREFIX=/usr ..to create the files to compile debian@beaglebone:~/mraa/build$ cmake -D CMAKE_INSTALL_PREFIX=/usr .. -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc .
  • Page 118 Check the build by typing mraa-gpio list. The result should look something like this. debian@beaglebone:~$ mraa-gpio list GND: GND: MMC1_D6: MMC1_D7: MMC1_D2: MMC1_D3: GPIO66: GPIO GPIO67: GPIO GPIO69: GPIO GPIO68: GPIO GPIO45: GPIO GPIO44: GPIO GPIO23: GPIO PWM GPIO26: GPIO GPIO47: GPIO GPIO46: GPIO GPIO27: GPIO...
  • Page 119 PWR: RESET: GPIO30: GPIO UART GPIO60: GPIO GPIO31: GPIO UART GPIO50: GPIO PWM GPIO48: GPIO GPIO51: GPIO PWM I2C1SCL: I2C I2C1SDA: I2C I2C2SCL: I2C I2C2SDA: I2C GPIO3: GPIO SPI UART EHRPWM0A: PWM GPIO49: GPIO GPIO15: GPIO UART GPIO117: GPIO GPIO14: GPIO UART GPIO115: GPIO GPIO113: GPIO SPI GPIO111: GPIO SPI...
  • Page 120: Appendix G - Restore U3810A Startup Files

    -xzf startup_scripts.gz Execute the following command to change your working directory to the startup directory. cd startup_scripts Execute the following command to run the autodisplay.sh script. This will reset your U3810A startup to the factory state. sudo ./autodisplay.sh Keysight U3810 Series Getting Started Guide...
  • Page 121: Appendix H - U3810A Image Build From Scratch

    Install the required Python Packages required for the system. sudo pip install paho-mqtt gspread oauth2client bluepy There is one NPM package that needs to be installed: sudo npm install node-rest-client. 10 Execute the following command to clone the entire mraa GitHub repository into the U3810A system. git clone https://github.com/eclipse/mraa.git debian@beaglebone:~$ git clone https://github.com/eclipse/mraa.git...
  • Page 122 11 Execute the following commands to check whether a mraa repository has been successfully downloaded. cd mraa debian@beaglebone:~$ cd mraa debian@beaglebone:~/mraa$ ls docker-compose.yaml DoxygenLayout.xml jsstub tools cmake docs doxyport README.md CMakeLists.txt Doxyfile.in examples scripts CONTRIBUTING.md Doxyfile.java.in imraa COPYING doxygen2jsdoc include tests debian@beaglebone:~/mraa$ Once the packages are loaded, create a build area and descent into it.
  • Page 123 13 Type make and it may take a few minutes to compile. debian@beaglebone:~/mraa/build$ make Scanning dependencies of target mraa 1%] Building C object src/CMakeFiles/mraa.dir/mraa.c.o 2%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio.c.o 3%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio_chardev.c.o 4%] Building C object src/CMakeFiles/mraa.dir/i2c/i2c.c.o 5%] Building C object src/CMakeFiles/mraa.dir/pwm/pwm.c.o .
  • Page 124 14 Type sudo make install to install the mraa system into the BeagleBone. 15 Type mraa-gpio list to check the build. debian@beaglebone:~$ mraa-gpio list GND: GND: MMC1_D6: MMC1_D7: MMC1_D2: MMC1_D3: GPIO66: GPIO GPIO67: GPIO GPIO69: GPIO GPIO68: GPIO GPIO45: GPIO GPIO44: GPIO GPIO23: GPIO PWM GPIO26: GPIO...
  • Page 125 16 Edit the BeagleBone Overlay file in /boot/uEnv.txt. The Key overlays changes are highlighted. Do not change the uname_r as that is linked to an image. # Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 # Keysight U3810A Image Version 3.64 Feb 3rd 2020 #This version of uEnv.txt enables UART1, UART2, I2C1, PWM1, PWM2 and allows #MRAA Pins 74 - 77 to be used as SPI uname_r=4.14.108-ti-r115...
  • Page 126 ###U-Boot Overlays### ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U- Boot_Overlays ###Master Enable enable_uboot_overlays=1 ###Overide capes with eeprom uboot_overlay_addr0=/lib/firmware/BB-UART1-00A0.dtbo uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo uboot_overlay_addr2=/lib/firmware/BB-I2C1-00A0.dtbo uboot_overlay_addr3=/lib/firmware/BB-PWM1-00A0.dtbo uboot_overlay_addr4=/lib/firmware/BB-PWM2-00A0.dtbo ###Additional custom capes #uboot_overlay_addr4=/lib/firmware/<file4>.dtbo #uboot_overlay_addr5=/lib/firmware/<file5>.dtbo #uboot_overlay_addr6=/lib/firmware/<file6>.dtbo #uboot_overlay_addr7=/lib/firmware/<file7>.dtbo ###Custom Cape #dtb_overlay=/lib/firmware/<file8>.dtbo ###Disable auto loading of virtual capes (emmc/video/wireless/adc) #disable_uboot_overlay_emmc=1 #disable_uboot_overlay_video=1 disable_uboot_overlay_audio=1 #disable_uboot_overlay_wireless=1 #disable_uboot_overlay_adc=1 ###PRUSS OPTIONS ###pru_rproc (4.4.x-ti kernel) #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo ###pru_rproc (4.14.x-ti kernel)
  • Page 127 #cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e #Use an overlayfs on top of a read-only root filesystem: #cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet overlayroot=tmpfs ##enable Generic eMMC Flasher: ##make sure, these tools are installed: dosfstools rsync #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh 17 A reboot is required to test the overlays. If there is an older version of the operating system, the USR button as describe in the Uninitialized BeagleBone devices procedure.
  • Page 128 19 If the devices all show up it is time to install the U3810A code. Acquire the latest LabCode.tar.gz from Keysight. Download this as well as the LabCodeReset.gz file to the Debian home directory. LabCodeReset.gz 20 Extract the LabCodeReset.sh file by using the tar -xzf LabCodeReset.gz command.
  • Page 129 28 The SD card is now ready to test by burring the image to a BeagleBone. Follow the directions in Appendix A – Initialize BeagleBone with Keysight U3810A Image with this SD card in place of the Keysight image. Start at step 4.
  • Page 130: Appendix I - Assembly And Disassembly

    Appendix I – Assembly and Disassembly Assembly of BeagleBone Green Wireless (BBGW) Keysight U3810 Series Getting Started Guide...
  • Page 131 Keysight U3810 Series Getting Started Guide...
  • Page 132: Disassembly

    Disassembly Keysight U3810 Series Getting Started Guide...
  • Page 133: References

    References [1] How to Use Nano, the Linux Command Line Text Editor https://linuxize.com/post/how-to-use-nano-text-editor/ Keysight U3810 Series Getting Started Guide...
  • Page 134 This information is subject to change without notice. © Keysight Technologies 2020 Edition 1, June 2020 Printed in Malaysia U3810-90002 www.keysight.com Keysight U3810 Series Getting Started Guide...

Table of Contents