Digital Angel (@digitalangel)

TL;DR: If you are looking for a microcontroller for simple control tasks that you want to program in #Python, then it is also suitable for beginners and has a good price-performance ratio. #milk-v duo s: https://milkv.io/duo-s#buy In the following, I will go into more detail about #installation and #setup: First download #Linux and write it to an SD card so that the #microcontoller can #boot: https://milkv.io/docs/duo/getting-started/boot Connect the SD card to the board and connect the USB-C with your laptop. The boot process went smoothly and after a short time the blue LED flashes, indicating that the boot process was successful. A #USB #network driver is required for the first connection attempt. Please do not be surprised if you read Windows in the following instructions. Just scroll down a little and you will get the instructions for Linux: https://milkv.io/docs/duo/getting-started/setup With #SSH you can now connect via USB and the first step should be to change the password: passwd After connecting to my #WiFi I have #internet connection: https://milkv.io/docs/duo/getting-started/duos#wifi-configuration Now I can update my #python and download #software: python -m pip install --upgrade pip setuptools You can perform an Internet speed test in python: https://pypi.org/project/speedtest-cli/ I wanted to check the performance of the #risk-v #CPU and started the following python script. With htop I saw that the CPU was at 100%: import timeit def main(): perform_cpu_load() def perform_cpu_load(): print("AM: Start...") my_time = timeit.timeit('"-".join(str(i) for i in range(99999))', number=1000) my_time_int = int(round(my_time, 0)) print(my_time_int) if __name__ == "__main__": main() The result was quite sobering at 1193 seconds. For comparison, an Intel CPU i5-7300U has 45 sec. I can't believe that the performance is really that bad and am trying to find a more objective test. That was the end of my first test. However, I also noticed some negative points, which I will publish in another post. If anyone knows a good CPU #performance test in Python please contact me :) #knowledge #hardware #iot #tutorial #test #floss #foss (📎1)

Zehn Vorne