User Tools

Site Tools


computing:beaglebone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
computing:beaglebone [2018/07/12 23:18] oemb1905computing:beaglebone [2018/11/25 01:32] – external edit 127.0.0.1
Line 26: Line 26:
 Now that the image has been turned into an installer, you may put the microSD card into the Beagle Bone (without power).   Now that the image has been turned into an installer, you may put the microSD card into the Beagle Bone (without power).  
  
-If there is fourth pinusually reddo not use.  We only need inputoutput, and ground.+On typical serial to USB adapterand almost all othersthe colors are white (receive), green (transmit), black (ground), red (5V power).  Do not use the red cable unless you know what you are doing.  Otherwisemake sure that the adapter's transmit goes to the Beagle's receive, and the adapter's receive to the Beagle's transmit The diagram below shows the Beagle's perspective. From left to right, there are 6 pins, so it would be : nothing, white, green, nothing, nothing, black.  The adapter commonly has a name like ttyUSB0, therefore this command should do the trick: 
      
-  sudo screen <devicename> 115200 +  sudo screen /dev/ttyUSB0 115200
-  sudo screen /dev/ttyUSB0 115200 [Example]+
      
 {{:computing:b1.jpg?400|}} {{:computing:b1.jpg?400|}}
  
-When working with serial connections such as the Beagle Bone Blackand otherwise, screen can be helpful.  You can leverage screen with ssh to tunnel to another host, and then pass a screen command to keep the commands you initiate persistent on the client you connected to.+Once the Beagle Bone is set upone can leverage the screen command with ssh to tunnel to another host, and then pass a screen command to keep the commands you initiate persistent on the client you connected to.  That syntax looks like this:
  
-  ssh -p ### -t user@host.com screen -DRO+  ssh -p 222 -t user@host.com screen -DRO
  
-Using screen with usb to serial adapter 
- 
-  sudo screen /dev/ttyUSB0 115200 
  
-Some other common speeds are 9600, 57600, 38400, 19200+Some other common speeds are 9600, 57600, 38400, 19200.  For the Beagle Bone black, I always use 115200.  These speeds are in baud.
      
  
computing/beaglebone.txt · Last modified: 2023/02/27 00:54 by oemb1905