Raspberry Pi – Starting Code at Boot time How to run scripts when you boot up your Pi Pete Januarius Sept 2018.

Slides:



Advertisements
Similar presentations
Comm Operator Tutorial How to send sequence data at given time automatically Serial Port Tool
Advertisements

Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Embedded Programming and Robotics Lesson 19 Raspberry Pi Programming in C 1.
Embedded Programming and Robotics
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Comm Operator Tutorial How to send the data after receiving specific data automatically Serial Port Tool
Advanced File Processing
ITIS 2110 Class # No home network devices devices devices devices devices devices devices 9.
Comm Operator Tutorial How to send the same data at fixed interval time automatically Serial Port Tool
WIRELESS DISPLAY OVER BLUETOOTH USING PI AND ANDROID PHONE Group Members: Shweta Ware, David Etim Network Embedded Systems.
LINUX TERMINAL TUTORIAL EDCI 339 – Online Presentation by Roop Rahal.
Launch SpecE8 and React from GSS. You can use the chemical analyses in a GSS data sheet to set up and run SpecE8 and React calculations. Analysis → Launch…
Development Environments Raspberry Pi ® Saman Amighi 04/2014 ® Raspberry Pi Foundation.
Advanced File Processing. 2 Objectives Use the pipe operator to redirect the output of one command to another command Use the grep command to search for.
Chapter Five Advanced File Processing. 2 Objectives Use the pipe operator to redirect the output of one command to another command Use the grep command.
1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1.
OCR Computing GCSE © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 4: Writing programs.
Introduction to Scripting Workshop October
LING 408/508: Programming for Linguists Online Lecture 6 September 14 th.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi Communicator.
Exploring Spyder: An IDE for scientific computing
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi IR Light controller.
Bonus EV3 Programming Lessons LEGO MINDSTORMS ev3dev and Raspberry Pi IR Light controller.
1 Learning Android Wear Connect Android Wear Emulator to Android Device.
Free, online, technical courses Take a free online course. Microsoft Virtual Academy.
Embedded Software Design Week II Linux Intro Linux Kernel.
Using ROSSMANN to Run GOSET Studies Omar Laldin ( using materials from Jonathan Crider, Harish Suryanarayana ) Feb. 3, 2014.
RASPBERRY PI WORKSHOP.
AT Commands Supports AT commands
NTP, Syslog & Secure Shell
Running your own web server
Hartree-Fock Program in C++.
The Python interpreter
Part 3 – Remote Connection, File Transfer, Remote Environments
By Jonathan Rinfret CREATING A BASH SCRIPT By Jonathan Rinfret
Programming Scratch to Control a K’NEX Fairground Ride
Parts Crib database Project Name: Humber parts by: Masoud Rahguzar
Engineering Innovation Center
Chapters 1–4 Mark G. Sobell
Chapter 8–Part V Mark G. Sobell
A Practical Guide to Linux® Commands, Editors, and Shell Programming
Project 2: IoT Device Vulnerabilities and Security REU Student: Bryan Pearson Graduate mentors: Kelvin Ly and Kaveh Shamsi Faculty Mentor(s): Dr. Jin.
Batch Setup.
Test Automation For Web-Based Applications
Sphinx Python Documentation Generator
What do i with python? Guillaume THOMAS.
Guide To UNIX Using Linux Third Edition
The Python interpreter
The Linux Command Line Chapter 11
Raspberry Pi – VNC Server Connection
An introduction to the Linux environment v
XML Parsing I have to analyze over 300 XML files. The xml2csy.py can’t be used to call multiple files at time as per our previous communication. I am thinking.
Class Projects and Environment
Python 19 Mr. Husch.
READY?.
Scripts In Matlab.
Lab 4: Introduction to Scripting
Video Notes.
FEniCS – workflow Start the Docker Quickstart terminal / terminal
Access ProQuest Searchware
Input and Output Python3 Beginner #3.
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Python 19 Mr. Husch.
Batch Setup.
The Python interpreter
The Python interpreter
The Linux Command Line Chapter 11
Robot and Crickit HAT © Copyright 2019 by Dr. Elizabeth I. Horvath and Dr. Eva A. Horvath 1.
Presentation transcript:

Raspberry Pi – Starting Code at Boot time How to run scripts when you boot up your Pi Pete Januarius Sept 2018

Option 1 - Edit rc.local There are several ways to run code/scripts/programs after booting up. Checkout this link which describes how to run commands at boot using the rc.local file: https://www.raspberrypi.org/documentation/linux/usage/rc-local.md

Running Terminal on boot To run the terminal application after booting the Raspberry Pi, add @lxterminal to the autostart file in /home/pi/.config/lxsession/LXDE-pi

Add commands to .bashrc Adding commands to the .bashrc file will run these commands in the terminal that you have already launched. This could work for you but also could be a bit annoying because these will run every time you launch a bash shell (terminal). Edit the .bashrc file with the nano editor

Add commands to .bashrc Start bluetooth Start listening for bluetooth comms Setup motor drive code

Run commands from .bashrc setup_bluetooth.sh Connect to bluetooth device setup_motors.sh Run Python program to setup motors