Wireless connection to PI4 Bullseye ad-hoc mode
Mostra commenti meno recenti
We have sucessfully programmed our application to run python scripts on a Pi4 when it is connected to our network via the ethernet lan connection.
We need to go to the next phase where the comptuer connects wirelessly to the PI without a network present. Matlab indicated that this was possible when we reviewed the project during the software decision proesses.
We think we need to turn the PI into a server, however we are not finding a resource with a working link that actually accomplishes this task. Any guidance or direction to links that are known to work would be greatly appreciated.
Hardware Pi4B
PI OS - bullseye
Matlab 2024a
6 Commenti
Umar
il 30 Lug 2024
Hi @Paul Elliot,
We meet once again. To address your query, try setting up the Raspberry Pi as an access point which will allow the computer to connect directly to the Pi. To achieve this, you have to configure the Raspberry Pi to act as a wireless access point using tools like hostapd and dnsmasq. These tools help create a Wi-Fi network hosted by the Pi itself.Once the access point is set up, your computer can connect to the Pi wirelessly. Matlab can then communicate with the Pi over this wireless connection. For detailed steps and guidance, you can refer to resources like the official Raspberry Pi documentation or online tutorials specific to setting up a Raspberry Pi access point. This setup should enable wireless communication for your project. Please let me know if you have any further questions.
Paul Elliott
il 31 Lug 2024
Umar
il 1 Ago 2024
@ Paul Elliott, Glad to know that you guys are making progress by heading in the right direction.
Paul Elliott
il 2 Ago 2024
Umar
il 2 Ago 2024
Hi @Paul Elliot,
While you were going through setup issues as mentioned by you, “ It would be nice if Matlab had a document outlining the setup, but at least could mention that configuring the PI as an access point would provide a solution when a network does not exist”, did you try to reach out mathworks technical support (https://www.mathworks.com/support/contact_us.html), please let us know.
Paul Elliott
il 7 Ago 2024
Risposte (0)
Categorie
Scopri di più su Resampling Techniques in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!