Lok24
09.08.2018, 09:25

Als Antwort auf den Beitrag von jopiek

Re: Powered UP

Hallo,

jopiek hat geschrieben:
Ah, Danke, NXT habe ich geprüft, aber ich hätte das gedacht mit den EV3. UART ist aber doch nicht schneller: version 4 könnte bis 5 Mhz Kommunizieren (https://en.wikipedia.org/wiki/I%C2%B2C) und UART geht meistens nicht schneller als 115200 bps. Aber wir können versuchen eine "Logic analyser" auf die Kabel zu setzen natürlich.
... Oder wir schauen mal was LEGO so schreibt
LEGO hat geschrieben:
4.1 I2C communication
The EV3 platform supports the same level of I2C communication as MINDSTORMS NXT. This means that system support a maximum of 9600 bit/s and maximum 32 bytes communication buffers.

4.2 UART communication
To enable bi-directional and faster communication to external devices the EV3 platform supports UART communication on its input ports. The UART communication functions as asynchronous communication, supporting from 2400 bit/s to 460 Kbit/s on port 1 & 2, while ports 3 & 4 supports up to 230 Kbit/s.


jopiek hat geschrieben:
Ich habe es aufgesucht, EV3 hat auch i2c, Dachte schon wie kann das sein das NXT es nutzt und EV3 nicht. https://www.dexterindustr...g-ev3-arduino/

Eben, er hat auch I²C (die Dexter-Blöcke habe ich auch hier), in der LEGO-Version von LabVIEW sind sie aber nicht enthalten.

Der EV3 nutzt standardmäßig UART:
LEGO hat geschrieben:
A 6 wire interface is implemented to enable external devices to send back data to the EV3 P-Brick in various ways. The system support data feedback using one of the following approaches: Analog values, I2C communication, UART communication.

4 input ports 6 wire interface supporting both digital and analog interface
- Analog input 0 – 5 volt
- Support Auto-ID for external devices
- UART communication
o Up to 460 Kbit/s (Port 1 and 2)
o Up to 230 Kbit/s (Port 3 and 4)


jopiek hat geschrieben:
Sehr neue Mikrocontroller wie die SAMD21 / SAMD51 haben die Möglichkeit im Software Hardwaremäßig um zu schalten nach i2c / UART (ebenfalls SPI aber das ist eine 3/4 Draht Auflösung). Mann nennt es SERCOM (Atmel / Microchip). Ich wisse nicht wie Texas Instruments das macht (alle LEGO Boost / Wedo / Duplo / PU controller sind offensichtlich aus die CC2640 Serie beim TI).

Das EV3 hat einen TI AM 1808.

Es ist immer interessant, mit Dir zu schreiben!

Grüße

Werner



Gesamter Thread: