
How-to manual Tutorial and reference book for using CHIP in control and instrument applications Version 01.00.03, 2017-02-22 This work by Peter Seng is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Page 1 of 21 Disclaimer of Warranty THERE IS NO WARRANTY FOR THE CONTENT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE CONTENT “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE CONTENT IS WITH YOU. SHOULD THE CONTENT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. Limitation of Liability IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE CONTENT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE CONTENT (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAM), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Page 2 of 21 Contents 1 About.....................................................................................................................................................4 2 External sources - credits and reference................................................................................................4 3 Using CHIP without keyboard and monitor..........................................................................................5 3.1 USB serial connection...................................................................................................................5 3.1.1 Things needed:.......................................................................................................................5 3.1.2 Workflow...............................................................................................................................5 3.2 SSH over wired Ethernet...............................................................................................................6 3.2.1 Things needed:.......................................................................................................................6 3.2.2 Workflow...............................................................................................................................6 3.3 SSH over wireless Ethernet...........................................................................................................7 3.3.1 Things needed:.......................................................................................................................7 3.3.2 Workflow...............................................................................................................................7 3.4 Remote desktop via VNC..............................................................................................................8 3.4.1 Things needed:.......................................................................................................................8 3.4.2 Workflow...............................................................................................................................8 3.5 Remote desktop via RDP...............................................................................................................9 3.5.1 Things needed:.......................................................................................................................9 3.5.2 Workflow...............................................................................................................................9 4 Language and Location.........................................................................................................................9 5 Heartbeat indicated at status LED.......................................................................................................10 6 Blink – health service..........................................................................................................................11 6.1.1 Things needed:.....................................................................................................................11 6.1.2 Workflow.............................................................................................................................11 7 File transfer - Secure Copy..................................................................................................................13 7.1 From CHIP (ssh host) to ssh client:.............................................................................................13 7.2 From ssh client to CHIP (ssh host):.............................................................................................13 8 USB storage devices............................................................................................................................13 9 Media player........................................................................................................................................14 9.1 mplayer........................................................................................................................................14 9.2 mpv..............................................................................................................................................14 9.2.1 Compiling............................................................................................................................14 9.2.2 Start process in background.................................................................................................14 9.3 Other players...............................................................................................................................15 9.4 Internet radio stations..................................................................................................................15 10 GPIO use via shell script, audio amplifier control............................................................................15 11 To Do's...............................................................................................................................................16 12 Appendix...........................................................................................................................................17 12.1 Update CHIP.............................................................................................................................17 12.2 Commands.................................................................................................................................17 12.3 Programs....................................................................................................................................18 12.4 Programs for administration......................................................................................................18 12.5 CHIP docs and data...................................................................................................................19 12.5.1 Power consumption and rejected heat...............................................................................19 12.6 Intro's.........................................................................................................................................20 12.7 Links..........................................................................................................................................20 13 Revision history.................................................................................................................................21 Page 3 of 21 1 About CHIP is a 41x61mm sized GNU/Linux computer with on board UPS controller, WiFi, Bluetooth, and various serial interfaces. This document is a tutorial and reference manual for using CHIP in control and instrument applications or just for fun. Most content is a summary of freely available external sources (see 2) and general knowledge. Consider this manual as a summary and extension of these external guides and pages. If any questions arise, please first have a look at the external sources where much more aspects are touched and explained. For better reading of this document command inputs and outputs via a terminal window (or serial terminal) are in a format like this. The content of source files is enclosed in frames. Hint: PDF documents do not contain tab formatting marks and empty lines. So it is not possible to copy source code out of a PDF document by copy and paste without loss of this information. The content of this manual may not be up to date. So before downloading and installing any package, please check if the mentioned packages are still up to date. If newer packages exist and it is sensible to use them please adapt the instructions to these conditions. Computer work described herein is done on a GNU/Linux machine, for other Operating Systems (OS) commands/procedures may need adaption. Much thanks and lot's of greetings to all those people developing and improving these artful tools running on GNU/Linux and the makers of CHIP. Any comments welcome, please mail to: [email protected] The current version
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages21 Page
-
File Size-