Connecting Pi to PC

The Raspberry Pi is a very popular microcontroller. This is because it is basically a mini Linux computer. You can easily plug a monitor into its HDMI connector, a mouse and keyboard into USB connectors, and it is ready to go. The problem arises because that won’t always work. For some it would be easier to connect your Raspberry Pi to a laptop. The problem being that you cannot just connect the micro USB directly from the Pi to the laptop, open up your IDE, and program away. You have to go a slightly different route. The nice thing with the Raspberry Pi is that there are multiple options so that you can choose the one that works best for you.

You only need a couple items to get it working. Necessary items are: a Raspberry Pi, a power supply for it, computer, a connection to the internet, an FTDI USB-to-serial adapter, and the programs Putty and VNC viewer on your computer. This way you can connect to the Raspberry Pi via USB or an internet connection. You can also just have an SSH terminal or a whole virtual desktop.

You can watch the different methods in the following video. It is very easy to get access with these procedures. I would suggest starting with the USB method since SSH is not always enabled on the Raspberry Pi by default. You can easily enable it by going through the configuration menu using the command ‘sudo raspi-config’. The Raspberry Pi is very powerful and gives you a lot of options to work with.

אודות כותב זה

Image of Ben Roloff

מר Ben Roloff, מהנדס יישומים עמית ב- DigiKey, מסייע ללקוחות בכל צורכי המיקרו-בקרים שלהם מאז 2016. הוא נולד בשנת 1991, תקופה שבה טרם שמעו על אינטרנט לבית. האינטרנט הפך לאט לאט להיות "דבר" בזמן שהוא למד בבית-הספר - כך שבמובן מסוים, הוא גדל עם האינטרנט. זה היה העניין שגילה במחשבים שהניע אותו להמשיך ללמוד הנדסת מחשבים והוא בעל תואר ראשון בהנדסת מחשבים מבית הספר של דרום דקוטה למכרות וטכנולוגיה.

More posts by Ben Roloff
 TechForum

Have questions or comments? Continue the conversation on TechForum, Digi-Key's online community and technical resource.

Visit TechForum