Browse Source

some grammarly

Ondřej Hruška 1 year ago
parent
commit
5bff138bed
Signed by: Ondřej Hruška <ondra@ondrovo.com> GPG key ID: 2C5FD5035250423D
4 changed files with 39 additions and 9 deletions
  1. 2 0
      .gitignore
  2. 28 0
      cast.sh
  3. 6 6
      ch.introduction.tex
  4. 3 3
      thesis.abstract.tex

+ 2 - 0
.gitignore View File

@@ -11,6 +11,8 @@
11 11
 *.cb
12 12
 *.cb2
13 13
 
14
+*.kate-swp
15
+
14 16
 ## Intermediate documents:
15 17
 *.dvi
16 18
 *-converted-to.*

+ 28 - 0
cast.sh View File

@@ -0,0 +1,28 @@
1
+#/bin/bash
2
+
3
+if [[ "$1" == "" ]]; then
4
+	echo "missing arg"
5
+	exit
6
+fi
7
+
8
+echo "Processing $1"
9
+sed -i "s/low cost/low-cost/g"
10
+sed -i "s/general purpose/general-purpose/g"
11
+sed -i "s/high level/high-level/g"
12
+sed -i "s/low level/low-level/g"
13
+sed -i "s/don't/do not/g"
14
+sed -i "s/Don't/Do not/g"
15
+sed -i "s/it's/it is/g"
16
+sed -i "s/It's/It is/g"
17
+sed -i "s/isn't/is not/g"
18
+sed -i "s/aren't/are not/g"
19
+sed -i "s/Aren't/Are not/g"
20
+sed -i "s/wouldn't/would not/g"
21
+sed -i "s/Wouldn't/Would not/g"
22
+sed -i "s/couldn't/could not/g"
23
+sed -i "s/Couldn't/Could not/g"
24
+sed -i "s/shouldn't/should not/g"
25
+sed -i "s/Shouldn't/Should not/g"
26
+sed -i "s/can't/cannot/g"
27
+sed -i "s/in recent years/recently/g"
28
+sed -i "s/In recent years/Recently/g"

+ 6 - 6
ch.introduction.tex View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 Prototyping, design evaluation, and the measurement of physical properties in experiments make a daily occurrence in the engineering praxis. Those tasks often involve the generation and sampling of electrical signals coming to and from sensors, actuators, and other circuitry. 
4 4
 
5
-In the recent years, a wide range of intelligent sensors became available thanks to the drive for miniaturization in the consumer electronics industry. Those devices often provide a sufficient accuracy and precision while keeping the circuit complexity and cost low. In contrast to analog sensors, here the signal conditioning and processing circuits are built into the sensor itself and we access it using a digital connection.
5
+In the recent years, a wide range of intelligent sensors became available thanks to the drive for miniaturization in the consumer electronics industry. Those devices often provide sufficient accuracy and precision while keeping the circuit complexity and cost low. In contrast to analog sensors, here the signal conditioning and processing circuits are built into the sensor itself, and we access it using a digital connection.
6 6
 
7 7
 \begin{figure}[H]
8 8
 	\centering
@@ -10,15 +10,15 @@ In the recent years, a wide range of intelligent sensors became available thanks
10 10
 	\caption[A collection of intelligent sensors and devices]{A collection of intelligent sensors and devices, most on breadboard adapters: (from top left) a waveform generator, a gesture detector, a LoRa and two Bluetooth modules, an air quality and pressure sensor, a CO$_2$ sensor, a digital compass, an accelerometer, a GPS module, a camera, an ultrasonic range finder, a humidity sensor, a 1-Wire thermometer, a color detector and an RGB LED strip.}
11 11
 \end{figure}
12 12
 
13
-To conduct experiments with those integrated modules, or even just familiarize ourselves with a device before using it in a project, we need a way to easily interact with them. It's also convenient to have a direct access to hardware, be it analog signal sampling, generation, or even just logic level inputs and outputs. However, the drive for miniaturization and the advent of \gls{USB} lead to the disappearance of low level computer ports, such as the printer port (LPT), that would provide an easy way of doing so.
13
+To conduct experiments with those integrated modules, or just familiarize ourselves with a device before using it in a project, we need an easy way to interact with them. It's also convenient to have direct access to hardware, be it analog signal sampling, generation, or even just logic level inputs and outputs. However, the drive for miniaturization and the advent of \gls{USB} lead to the disappearance of low-level computer ports, such as the printer port (LPT), that would provide an easy way of doing so.
14 14
 
15
-Today, when one wants to perform measurements using a digital sensor, the usual route is to implement an embedded firmware for a microcontroller that connects to the \gls{PC} through \gls{USB}, or perhaps just shows the results on a display. This approach has its advantages, but is time-consuming and requires knowledge entirely unrelated to the measurements we wish to perform. It would be advantageous to have a way to interface hardware without having to burden ourselves with the technicalities of the connection, even at the cost of lower performance compared to a specialized device or a professional tool. 
15
+Today, when one wants to perform measurements using a digital sensor, the usual route is to implement an embedded firmware for a microcontroller that connects to the \gls{PC} through \gls{USB}, or perhaps shows the results on a display. This approach has its advantages, but is time-consuming and requires knowledge entirely unrelated to the measurements we wish to perform. It would be advantageous to have a way to interface hardware without having to burden ourselves with the technicalities of the connection, even at the cost of lower performance compared to a specialized device or a professional tool. 
16 16
 
17
-The design and implementation of such a universal instrument is the object of this work. For technical reasons, such as naming the source code repositories, we need a name for the project; it'll be hereafter called \textit{GEX}, a name originating from "GPIO Expander".
17
+The design and implementation of such a universal instrument is the object of this work. For technical reasons, such as naming the source code repositories, we need a name for the project; it'll be hereafter called \textit{GEX}, a name originating from ``GPIO Expander''.
18 18
 
19 19
 \section{The Project's Expected Outcome}\label{sec:expected-outcome}
20 20
 
21
-It's been a desire of the author to create an universal instrument connecting low level hardware to a computer for many years, and with this project it is finally being realized. Several related projects approaching this problem from different angles can be found on the internet; those will be presented in chapter \ref{sec:prior-art}. This project should not end with yet another tinkering tool that will be produced in a few prototypes and then forgotten. By building an extensible, open-source platform, GEX can become the foundation for future projects which others can expand, re-use and adapt to their specific needs.
21
+It's been a desire of the author for many years to create a universal instrument connecting low-level hardware to a computer, and, with this project, it is finally being realized. Several related projects approaching this problem from different angles can be found on the internet; those will be presented in chapter \ref{sec:prior-art}. This project should not end with yet another tinkering tool that will be produced in a few prototypes and then forgotten. By building an extensible, open-source platform, GEX can become the foundation for future projects which others can expand, re-use and adapt to their specific needs.
22 22
 
23 23
 \iffalse
24 24
 \begin{figure}[H]
@@ -28,7 +28,7 @@ It's been a desire of the author to create an universal instrument connecting lo
28 28
 \end{figure}
29 29
 \fi
30 30
 
31
-Building on the experience with earlier embedded projects, a STM32 microcontroller shall be used. Those are ARM Cortex M devices with a wide range of hardware peripherals that appear be a good fit for the project. Low-cost evaluation boards are widely available that could be used as a hardware platform instead of developing a custom \gls{PCB}. In addition, those chips are relatively cheap and popular in the embedded hardware community; there's a good possibility of the project building a community around it and growing beyond what will be presented in this paper.
31
+Building on the experience with earlier embedded projects, an STM32 microcontroller shall be used. Those are ARM Cortex M devices with a wide range of hardware peripherals that appear be a good fit for the project. Low-cost evaluation boards are widely available that could be used as a hardware platform instead of developing a custom \gls{PCB}. Besides, those chips are relatively cheap and already popular in the embedded hardware community; there is a good possibility of the project building a community around it and growing beyond what will be presented in this paper.
32 32
 
33 33
 \iffalse
34 34
 Besides the use of existing development boards, custom \glspl{PCB} will be developed in different form factors. The possibilities of wireless connection should be evaluated. This feature should make GEX useful e.g. in mobile robotics or when installed in poorly accessible locations.

+ 3 - 3
thesis.abstract.tex View File

@@ -1,11 +1,11 @@
1 1
 % Abstrakt
2 2
 
3 3
 \begin{abstract-english}
4
-This thesis documents the development of a general purpose software and hardware platform for interfacing low level hardware from high level programming languages and applications run on a PC, using USB and also wirelessly.
4
+This thesis documents the development of a general-purpose software and hardware platform for the interfacing of low-level hardware from high-level programming languages and applications run on the PC, using USB and also wirelessly.
5 5
 
6
-The requirements of common engineering tasks and problems occurring in the university environment were evaluated to design an extensible, reconfigurable hardware module that would make a practical, versatile, and low cost tool that in some cases also eliminates the need for professional measurement and testing equipment.
6
+The requirements of common engineering tasks and problems occurring in the university environment were evaluated to design an extensible, reconfigurable hardware module that would make a practical, versatile, and low-cost tool that in some cases eliminates the need for professional measurement and testing equipment.
7 7
 
8
-Several hardware prototypes and control libraries in programming languages C and Python have been developed. The Python library additionally integrates with MATLAB scripts. The devices provide access to a range of hardware buses and low level features and can be reconfigured using configuration files stored inside its permanent memory.
8
+Two hardware prototypes were designed and realized, accompanied by control libraries for programming languages C and Python. The Python library additionally integrates with MATLAB scripts. The devices provide access to hardware buses (\IIC, SPI, USART, 1-Wire) and microcontroller peripherals (ADC, DAC), implement frequency measurement and other useful features. The device is parametrised by a configuration file on a virtual disk accessible through USB, or written programmatically.
9 9
 \end{abstract-english}
10 10
 
11 11
 \begin{abstract-czech}