My Work with Raspberry Pi

From MC Chem Wiki
Jump to navigation Jump to search

An Introduction to Raspberry Pi

Going into this project, I had little to no knowledge of computer programming or Raspberry Pi. However, throughout my undergraduate years, I have begun to realize the importance of technology in the chemistry field and took it upon myself to gain a deeper understanding of computers.

What is Raspberry Pi?

  • A Raspberry Pi is a very small computer that has ports to plug in a keyboard, mouse, and monitor.
  • Raspberry Pi is a great tool for those beginning their journey into computer programming, specifically in the language of Python. The computer programming class I took my senior year taught Jython, a combination of Java and Python, so this seemed to be a perfect project for me.

DS18B20 Temperature Sensor

A main component of this project involved the connection and programming of a temperature sensor to the Raspberry Pi. The temperature sensor will hopefully be used in the fish tanks owned by the chemistry department.

Connecting the Temperature Sensor

The first step in connecting the temperature sensor was to strip the wires and "tin" the ends. This step allowed an easier connection between the temperature sensor and the breadboard.

Programming the Temperature Sensor