Answers.Body: <h2>M Motor (Powered Up/WeDo 2.0)</h2>
  
  <p>The M motor has a 2.2kΩ resistor between pins 5 and 6. Pin 6 is connected directly to pin 3.</p>
  
  <p><a href="https://i.sstatic.net/aonfA.png" rel="noreferrer"><img src="https://i.sstatic.net/aonfA.png" alt="M motor"></a></p>
  
  <h2>LED Lights</h2>
  
  <p>I don't own any lights yet, but according to <a href="https://www.eurobricks.com/forum/index.php?/forums/topic/155770-2018-lego-trains/&amp;do=findComment&amp;comment=3008823" rel="noreferrer">this post</a>, they also use a 2.2kΩ resistor, but in this case it is between pins 5 and 3. This pulls ID 1 to ground. Here's the full circuit diagram:</p>
  
  <p><a href="https://i.sstatic.net/xC5eM.png" rel="noreferrer"><img src="https://i.sstatic.net/xC5eM.png" alt="LED light circuit diagram"></a></p>
  
  <h2>Train motor</h2>
  
  <p>The measured resistance between pins 5 and 6 shows an open circuit. Pin 5 is connected directly to VCC, and pin 6 is connected directly to ground.</p>
  
  <p><a href="https://i.sstatic.net/po2UZ.png" rel="noreferrer"><img src="https://i.sstatic.net/po2UZ.png" alt="train motor"></a></p>
  
  <h2>Other components</h2>
  
  <p>I wasn't able to determine any sort of passive identification on any other components (Boost motor and sensors, etc). My guess is that these have an onboard microcontroller and use an active handshake before establishing a data connection.</p>
  
  <h2>Summary</h2>
  
  <pre><code>M Motor
  3 (GND) ─────┐
  4 (VCC)      │
  5 (ID1) ─2.2k┤
  6 (ID2) ─────┘
  
  LED Lights
  3 (GND) ─────┐
  4 (VCC)      │
  5 (ID1) ─2.2k┘ 
  6 (ID2)
  
  Train Motor
  3 (GND) ───┐
  4 (VCC) ─┐ │
  5 (ID1) ─┘ │
  6 (ID2) ───┘
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-23T20:39:00.657Z
Answers.Text: Thanks Still wondering if the WeDo 2.0 motor works on 3v or 9v. Not sure what would happen if you plugged a WeDo motor into the Train or Boost Controller. Possibly the WeDo has a DC-DC converter to up the 3v to 9 v for the motors. This may also explain why the batteries on the WeDo 2.0 do not last very long, about 2 - 3 class room use.
Answers.UserDisplayName: Ddodge40
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-23T21:34:40.927Z
Answers.Text: I believe WeDo 2.0 steps up the voltage to 5v (http://www.philohome.com/wedo2reverse/cont.htm). Motor power scales with voltage, so the exact voltage used is variable. You can use the WeDo 2.0 motors with the Powered Up hub. This is what powers the Batmobile.
Answers.UserDisplayName: jncraton
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-23T19:03:04.450Z
Answers.LastActivityDate: 2018-10-15T16:32:13.663Z
Answers.LastEditDate: 2018-10-15T16:32:13.663Z
Answers.UserDisplayName: jncraton
Body: <p>Based on <a href="https://bricks.stackexchange.com/a/10365/6174">the answer here</a> it seems that resistors are used to detect what is plugged in with LEGO Power Functions 2.0.  So which resistor values (or ranges) apply to which motors or other devices?  Are there any values of resistance that lead to "unknown device" errors or something like that?</p>
  
Tags: <power-functions><motor><powered-up><boost><wedo>
Title: Which resistor value is used for which motor in Power Functions 2.0?
UserDisplayName: chicks
ThreadText: # Which resistor value is used for which motor in Power Functions 2.0?
  
  (Asked by: username_0 on 2018-09-23)
  
  Based on [the answer here](https://bricks.stackexchange.com/a/10365/6174) it seems that resistors are used to detect what is plugged in with LEGO Power Functions 2.0. So which resistor values (or ranges) apply to which motors or other devices? Are there any values of resistance that lead to "unknown device" errors or something like that?
  
  **Tags:** power-functions, motor, powered-up, boost, wedo
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-09-23. Score: 7 | Accepted answer
  
  ## M Motor (Powered Up/WeDo 2.0)
  
  The M motor has a 2.2kΩ resistor between pins 5 and 6. Pin 6 is connected directly to pin 3.
  
  [![M motor](https://i.sstatic.net/aonfA.png)](https://i.sstatic.net/aonfA.png)
  
  ## LED Lights
  
  I don't own any lights yet, but according to [this post](https://www.eurobricks.com/forum/index.php?/forums/topic/155770-2018-lego-trains/&do=findComment&comment=3008823), they also use a 2.2kΩ resistor, but in this case it is between pins 5 and 3. This pulls ID 1 to ground. Here's the full circuit diagram:
  
  [![LED light circuit diagram](https://i.sstatic.net/xC5eM.png)](https://i.sstatic.net/xC5eM.png)
  
  ## Train motor
  
  The measured resistance between pins 5 and 6 shows an open circuit. Pin 5 is connected directly to VCC, and pin 6 is connected directly to ground.
  
  [![train motor](https://i.sstatic.net/po2UZ.png)](https://i.sstatic.net/po2UZ.png)
  
  ## Other components
  
  I wasn't able to determine any sort of passive identification on any other components (Boost motor and sensors, etc). My guess is that these have an onboard microcontroller and use an active handshake before establishing a data connection.
  
  ## Summary
  
  ```
  M Motor
  3 (GND) ─────┐
  4 (VCC)      │
  5 (ID1) ─2.2k┤
  6 (ID2) ─────┘
  
  LED Lights
  3 (GND) ─────┐
  4 (VCC)      │
  5 (ID1) ─2.2k┘ 
  6 (ID2)
  
  Train Motor
  3 (GND) ───┐
  4 (VCC) ─┐ │
  5 (ID1) ─┘ │
  6 (ID2) ───┘
  
  ```
  
  > **Comments:**
  > **username_2**: Thanks Still wondering if the WeDo 2.0 motor works on 3v or 9v. Not sure what would happen if you plugged a WeDo motor into the Train or Boost Controller. Possibly the WeDo has a DC-DC converter to up the 3v to 9 v for the motors. This may also explain why the batteries on the WeDo 2.0 do not last very long, about 2 - 3 class room use.  
  > **username_1**: I believe WeDo 2.0 steps up the voltage to 5v (http://www.philohome.com/wedo2reverse/cont.htm). Motor power scales with voltage, so the exact voltage used is variable. You can use the WeDo 2.0 motors with the Powered Up hub. This is what powers the Batmobile.  
  
  ---
  
  