Building an MCU Project

To get the LSM6DSRTR (U3) talking over I²C, you still need to tie its interface-select and I/O-supply pins. Here’s what I recommend:

Table


Pin on U3NetPurpose
VDD_IO (pin 5)VDDPowers the sensor’s I/O domain
CS (pin 12)VDDDisables SPI mode so I²C takes over
SDO/SA0 (pin 1)GNDSelects the default I²C address (0x6A)
(Optional) You may also want to pull up SDA if you haven’t yet.
Shall I apply these net connections now?
Please help me with SW4. When enabled it should power the rest of the circuit from BT1 battery. When disabled it should power off the device.
Here are the updated net connections to configure SW4 as the main power switch:

Table


NetConnections
BT1 - SW1SW4:3, BT1:POS
VDD_swSW4:2, U4:VDD, C1:1
Would you like to apply these changes?
applied changes.
U4
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
PowerNet1
SW2
U1
C1
SW3 ~ - U4 PA2
PC7 - CLK
SW2 ~ - U4 PA1
BT1
R1
Resistance
10kΩ
R3
Resistance
10kΩ
PD1 - J1 2
PC6 - DIO
PD1 - J1 2
PC7 - CLK
SW3
SW3 ~ - U4 PA2
PowerNet1
PC6 - DIO
R2
Resistance
10kΩ
SW2 ~ - U4 PA1
J1
U3
SW4

No files yet

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    No assets added.

    roundcount

    roundcount thumbnail
    Welcome to your new project. Imagine what you can build here.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $2.20–$3.84

    Digi-Key

    $2.90–$3.29

    LCSC

    $3.91–$3.92

    Mouser

    $4.66

    TME

    $0.00

    Verical

    $2.20–$4.81

    Controls