Skip to content

Commit

Permalink
removing lessons and ready for the big changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Nov 15, 2019
1 parent 8d832e4 commit 1b75891
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 9 - Ultrasonic Sensor (Distance)
!! Ultrasonic Distance Sensor

In this chapter we will use an ultrasonic sensor to measure distances.

Expand Down
2 changes: 1 addition & 1 deletion Chapters/Chap11LCDDisplay/Chap11LCDDisplay.pillar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 10 - LCD Display
!! LCD Display

In previous lessons, we learned how to control LEDs and to use a button to interact with LEDs. We learned also how to use the I2C sensors to read the temperature, humidity, pressure, and x, y, z-axis. Also, we saw how to use a no I2C sensor, an ultrasonic sensor. Now we will learn how to use an LCD Display without and with I2C.
You will see that using I2C simplifies the board connection
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 11 - Building a Mini-Weather Station
!! Building a Mini-Weather Station

In previous lessons, we learned how to control LEDs, sensors, LCD displays and how to use Object-Oriented Programming to create applications to control them.
Now we will use everything that we learned to build a Mini-Weather Station.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 12 - Building a Webserver on Raspberry
!! Building a Webserver on Raspberry

In previous lessons, we learned how to control LEDs, sensors, LCD displays and how to use OOP to build a Mini-Weather Station.
Now we are going to build a Webserver to interact with GPIOs.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
!! Lesson 13 - 3D Visualization with MPU6050 sensor
!! 3D Visualization with MPU6050 sensor

2 changes: 1 addition & 1 deletion Chapters/Chap1GettingStarted/Chap1GettingStarted.pillar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Installations
!! Installation

In this chapter you will learn how to:

Expand Down
2 changes: 1 addition & 1 deletion Chapters/Chap2LED/Chap2LED.pillar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 1 – Turning LED on/off
!! Turning LED on/off

One of the classic analogies in electronics to “Hello World” is turn on a LED (Light-Emitting Diode) or lamp. In this first lesson, we will learn how to connect correctly an LED to your Raspberry Pi and how to use PharoThings to control this LED by turning it on and off.

Expand Down
2 changes: 1 addition & 1 deletion Chapters/Chap3BlinkingLED/Chap3BlinkingLED.pillar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 2 – Blinking LED
!! Blinking LEDs

Now we can play with the LEDs, turn them on and off. Let's use this basic setup to write some code on the inspector playground to blink the LED. Next, we will learn how to remotely create a very simple application using classes, methods, and instances to control the LED.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 3 – A brief introduction to Pharo object-oriented language
!! Using PharoThings Tools

Pharo is a new generation reflective language and object-oriented programming environment. The last code was executed inside the remote inspector. To get started using OOP (Object-Oriented Programming) with classes, methods, and instances, we invite you to implement a simple application to blink the LEDs.

Expand Down
2 changes: 1 addition & 1 deletion Chapters/Chap4bIntermezzo/Chap4bIntermezzo.pillar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 3b – A design intermezzo
!!A design intermezzo

In this chapter we revisit previous code to make it nicer and more object-oriented. We will revisit the ==Blinker== class you previously defined.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 4 - LED Flowing Lights
!!Flowing Lights

Now we can play with the LEDs, turn them on, off, and blink. Let's put 8 LEDs on the breadboard and create a code to turn on/off one at a time. Let's use some methods to change the flow direction and control the flow time. As we did in the last lesson, let's write the first code in playground and then create a class with methods to better control the flow of LED lights.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 5 - LED Flowing Lights using OOP
!!Flowing Lights using OOP

Now we can play with the LEDs, turn them on, off, blink it and manipulate many at the same time. Let’s use object-oriented programming, OOP to create methods and classes, to build a simple program, to control the LEDs flow like as we want.

Expand Down
2 changes: 1 addition & 1 deletion Chapters/Chap7LEDBreathingPWM/Chap7LEDBreathingPWM.pillar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 6 - LED Breathing with PWM
!!LED Breathing with PWM


""PWM support is currently broken in PharoThings.""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 7 - Controlling LED by Button
!! Controlling LED by Button

In previous lessons, we learned how to control the GPIOs putting them in mode OUT. This means send power to wire connected in on specific GPIO. Now we will put the GPIO in mode IN, to read the pin state. This means that our application can know when a button is pressed. Let’s create code on the remote inspector to turn on one LED each time we press the button.

Expand Down
4 changes: 2 additions & 2 deletions Chapters/Chap9I2CSensors/Chap9I2CSensors.pillar
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!! Lesson 8 - I2C Sensors (Temperature, Humidity, Pressure and Acellerometer)
!!I2C Sensors

In previous lessons, we learned how to control LEDs and to use a button to interact with LEDs. Now let's start using some sensors to interact automatically with the real world, taking the temperature, air pressure and humidity This kind of sensor use the I2C protocol to communicate.
In previous lessons, we learned how to control LEDs and to use a button to interact with LEDs. Now let's start using some sensors to interact automatically with the real world, taking the temperature, acceleration, air pressure and humidity. This kind of sensor use the I2C protocol to communicate.

!!! What do we need?

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!! Lesson 15 – PharoThings on Arduino.
!!PharoThings and Arduino

Firmata is a generic protocol for communicating with microcontrollers from software on a host computer.
It is intended to work with any host computer software package. Right now there is a matching object in a number of languages.
Expand Down
2 changes: 1 addition & 1 deletion pillar.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"base_url": "",
"site_name": "A PharoThings Tutorial",
"title": "A PharoThings Tutorial",
"attribution": "Allex Oliveira, Serge Stinckwich, Steven Costiou and Stéphane Ducasse",
"attribution": "Allex Oliveira, Steven Costiou, Stéphane Ducasse and Serge Stinckwich",
"series": "Square Bracket tutorials",
"keywords": "IoT, Raspberry, PharoThings, Pharo",

Expand Down

0 comments on commit 1b75891

Please sign in to comment.