Difference between revisions of "Raspberry Pi"

From MC Chem Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
===Hardware===
 
===Hardware===
 
:- Raspberry Pi
 
:- Raspberry Pi
 +
::[[File:raspberry pi pinout.png|200px]]
 
:- Power adapter (2.5 V
 
:- Power adapter (2.5 V
 
:- USB keyboard
 
:- USB keyboard
Line 12: Line 13:
  
 
===Software NOOBS/Raspbian===
 
===Software NOOBS/Raspbian===
Software needs to be loaded onto the micro SD Card (note that website has been modified since this video was posted)
+
Software needs to be loaded onto the micro SD Card (note that website has been modified since this video was posted).
 +
Note: You will need to unzip(extract) the download directly to the sd card. The file path will be something like /F:
 
:https://www.raspberrypi.org/help/noobs-setup/2/
 
:https://www.raspberrypi.org/help/noobs-setup/2/
  
Line 21: Line 23:
 
:https://www.raspberrypi.org/downloads/
 
:https://www.raspberrypi.org/downloads/
  
 +
===Building the Case===
 +
https://www.youtube.com/watch?v=X55kNoiVYZs
 +
 +
{|
 +
|[[File:case_01.jpg|200px]] [[File:case_02.jpg|200px]]
 +
|}
 
===Hooking every thing up===
 
===Hooking every thing up===
 
:- Quick Intro/Setup
 
:- Quick Intro/Setup
Line 34: Line 42:
 
::'''sudo apt-get install arduino'''
 
::'''sudo apt-get install arduino'''
  
===Projects===
 
[http://esr.monmsci.net/wiki/index.php/Thing_Dispenser Thing Dispenser]
 
  
===Project: Dog Treat Dispenser===
+
-'''or'''-
This is not an easy project, but i believe it is doable (?). This project will create a physical device that will dispense a "thing" (dog treat or dry erase marker) when a txt message is sent to a phone number. The physical device will have a Raspberry Pi micro-computer connected to an Arduino board, which in turn is connected to a servo motor to actuate the dispensing.
+
 
 +
 
 +
The following is the manual way to install the most up-to-date Arduino software:
 +
 
 +
1) Go to the following link: [https://www.arduino.cc/en/Main/Software Arduino Link]
 +
 
 +
2) Download the "Linus Arm" file on the right side of the window.
  
This project was described in the March 2018 MAKE magazine (MAKEzine), [[https://makezine.com/2016/03/10/remote-treat-dispenser-pet-photography/ here]
+
3) Once downloaded on the Raspberry Pi, type in the following code into the terminal window:
  
To get started, I found the following video to be useful; if this physical device is going to respond to a txt message, then there must be some link between the act of sending the txt and the dispensing of the thing. In the following video, a basic description of something called an API (Application Programming Interface) is presented [https://youtu.be/s7wmiS2mSXY here]
+
::'''cd Downloads/ '''
 +
::*hit enter
 +
::'''tar -xf arduino-1.8.8-linuxarm.tar.xz'''
 +
::*hit enter
 +
::'''sudo mv arduino-1.8.8 /opt'''
 +
::*hit enter
 +
::'''sudo /opt/arduino-1.8.8/install.sh'''
 +
::*hit enter
  
 +
    *Note: The version number will change in time, so enter the current version in place of the 1.8.8
  
====Web Resources====
+
===Projects===
 +
[http://esr.monmsci.net/wiki/index.php/Thing_Dispenser Thing Dispenser]
  
 +
===Science Software for Raspberry Pi===
  
 +
[http://www.raspberryconnect.com/raspbian-packages-list/item/89-raspbian-science#p Science Software]
 +
:from link above (for installing software)
 +
::make sure your pi software is uptodate... ''sudo apt-get update''
 +
::then install software packages...''sudo apt-get install package name''
 +
:: see website above for software packages available.
  
https://github.com/rmn388
+
'''suggested:'''
 +
Jmol <-- for visualizing protein structure
  
https://github.com/rmn388/dog-treat-dispenser
+
'''Maybe?'''
 +
GROMACS <-- molecular dynamics simulations
 +
OpenBabel_gui <--chemical file conversion
  
[https://github.com/rmn388/dog-treat-dispenser/blob/master/README.md Readme]
+
'''NOT suggested:'''
 +
Pymol <---way too slow on Pi 3+

Latest revision as of 14:26, 23 April 2019

This is an introductory page describing how to setup a new Raspberry Pi.

Suggested 1st video--> https://www.youtube.com/watch?v=gbJB3387xUw

Hardware

- Raspberry Pi
Raspberry pi pinout.png
- Power adapter (2.5 V
- USB keyboard
- USB mouse
- HDMI monitor
- micro SD card (for OS and storage - 8G min)

Software NOOBS/Raspbian

Software needs to be loaded onto the micro SD Card (note that website has been modified since this video was posted). Note: You will need to unzip(extract) the download directly to the sd card. The file path will be something like /F:

https://www.raspberrypi.org/help/noobs-setup/2/

Main Raspberry Pi site

https://www.raspberrypi.org/

Direct link to "Downloads"

https://www.raspberrypi.org/downloads/

Building the Case

https://www.youtube.com/watch?v=X55kNoiVYZs

Case 01.jpg Case 02.jpg

Hooking every thing up

- Quick Intro/Setup

https://www.google.com/search?source=hp&ei=388XW9acOYezjwTcl6e4Bg&q=raspberry+pi+3+setup&oq=raspberry+pi+3+setup&gs_l=psy-ab.3..0l10.739.8619.0.9109.11.10.0.0.0.0.224.1131.6j3j1.10.0....0...1.1.64.psy-ab..1.10.1131.0..0i131k1.0.BVNuMfkoKJI#kpvalbx=1

- Extended version

https://www.youtube.com/watch?v=gbJB3387xUw

Install Arduino IDE Software

1) you need to first "update" and "upgrade" the Raspbian by typing/pasting the following commend into the terminal window:

sudo apt-get update && sudo apt-get upgrade

2) then install the Arduino software:

sudo apt-get install arduino


-or-


The following is the manual way to install the most up-to-date Arduino software:

1) Go to the following link: Arduino Link

2) Download the "Linus Arm" file on the right side of the window.

3) Once downloaded on the Raspberry Pi, type in the following code into the terminal window:

cd Downloads/
  • hit enter
tar -xf arduino-1.8.8-linuxarm.tar.xz
  • hit enter
sudo mv arduino-1.8.8 /opt
  • hit enter
sudo /opt/arduino-1.8.8/install.sh
  • hit enter
   *Note: The version number will change in time, so enter the current version in place of the 1.8.8 

Projects

Thing Dispenser

Science Software for Raspberry Pi

Science Software

from link above (for installing software)
make sure your pi software is uptodate... sudo apt-get update
then install software packages...sudo apt-get install package name
see website above for software packages available.

suggested: Jmol <-- for visualizing protein structure

Maybe? GROMACS <-- molecular dynamics simulations OpenBabel_gui <--chemical file conversion

NOT suggested: Pymol <---way too slow on Pi 3+