parent
							
								
									6a5940c562
								
							
						
					
					
						commit
						2949946337
					
				
				 2 changed files with 26 additions and 0 deletions
			
			
		@ -0,0 +1,18 @@ | 
				
			|||||||
 | 
					# comma serial | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The comma serial gets you access to a low level serial console on your comma three, while providing astable 12V to power the device. | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The serial is available on the [comma shop](https://comma.ai/shop/products/comma-serial). | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## setup | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Connect all three cables to the serial | 
				
			||||||
 | 
					* Connect the USB A to your computer | 
				
			||||||
 | 
					* Connect the USB-C to the OBD-C port on your comma three | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## usage | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					``` | 
				
			||||||
 | 
					sudo screen /dev/ttyUSB0 115200 | 
				
			||||||
 | 
					``` | 
				
			||||||
 | 
					or use `connect.sh` to run the previous command in a loop | 
				
			||||||
@ -0,0 +1,8 @@ | 
				
			|||||||
 | 
					#!/bin/bash | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					while true; do | 
				
			||||||
 | 
					  if ls /dev/ttyUSB* 2> /dev/null; then | 
				
			||||||
 | 
					    sudo screen /dev/ttyUSB* 115200 | 
				
			||||||
 | 
					  fi | 
				
			||||||
 | 
					  sleep 0.1 | 
				
			||||||
 | 
					done | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue