商用無料の写真検索さん
           


Lego and Fischertechnik : 無料・フリー素材/写真

Lego and Fischertechnik / fotoopa
このタグをブログ記事に貼り付けてください。
トリミング(切り除き):
使用画像:     注:元画像によっては、全ての大きさが同じ場合があります。
サイズ:横      位置:上から 左から 写真をドラッグしても調整できます。
あなたのブログで、ぜひこのサービスを紹介してください!(^^
Lego and Fischertechnik

QRコード

ライセンスクリエイティブ・コモンズ 表示 2.1
説明Lego and Fischertechnik linked together.All 6 ports of the Lego hub are connected to the DE0-Nano-Soc module. This allows all data from Lego to be monitored. Many results can be displayed via the Fischer TXT controller. This is done via a simple program with the RoboPro software. The TXT Controller has a very nice feature where you can make a logging of the signals. This allows you to visualize the data in real time on the PC screen. All lego ports operate at 115200 baud rate. On the Lego side, you do not need to write a program for this because the data logging is done at low level. This is the same data the hub receives from the motors and sensors.I use the port hubE for serial data exchange between the two systems. Everything is written in Python because in blocks not everything is available. For this serial connection I do need to write a bit of software. A small problem is the configuration at the first startup of the program. Lego uses an auto config system so the port is not ready for serial connections. I need to place an additional delay. Once started up you would no longer need the delay. I now use a delay of 1sec for this. If nothing was found at startup Lego searches every 500 msec for a new configuration. Once you have configured the port as serial everything is solved.In the Python example, I sent some commands to the FPGA module ($D5). The Pico-scope 2406B is also always connected to the FPGA module. The 4 scope channels can be selected from 4x8 signal sources via the keyboard on the module. This scope thus also has real-time access to all Lego data. I use this mainly for time analysis and for testing the Python programs. In the video you can see how the data is displayed in real time by the TXT. You can see the motor displacement, the motor speed and direction, the sensor distance and the status of the 4 LEDs on the sensor. The leds are turned on and off at certain times. You can see that in the Python program and in the video itself.
撮影日2022-04-06 10:32:56
撮影者fotoopa
タグ
撮影地


(C)名入れギフト.com