From Script | Spoken-Tutorial
Jump to: navigation, search
00:01 Welcome to the Spoken tutorial on Arduino Programming with Julia.
00:07 In this tutorial, we will learn about

Arduino Julia toolbox

00:14 Interfacing Arduino with Julia
00:18 To record this tutorial, I’m using
00:22 Ubuntu Linux OS version 18.04
00:27 Arduino Shield and
00:29 Arduino UNO Board
00:32 To follow this tutorial, you should go through the below Arduino spoken tutorial.
00:39 Getting ready for Arduino Floss.
00:43 In the above tutorial, you will learn

How to download the e-book and code files required for the experiments.

00:54 How to upload and compile Arduino programs in Arduino IDE.
01:00 About FLOSS Firmware
01:03 I have downloaded Microcontroller Programming with Arduino and Julia e-book on my Desktop.
01:12 Refer to chapter 3 in the book.
01:16 Follow the steps and do the installation of Arduino IDE and Julia depending upon your OS.
01:25 Installation steps are given for Windows and Linux OS.
01:31 The experiments that are covered in the book are tested in Ubuntu Linux 18.04 and Windows 10 OS.
01:40 Connect the Arduino UNO board with Arduino shield to the USB port of the computer
01:48 Note the below points:
01:51 1. Launch Arduino IDE
01:54 2. Check the port
01:56 3. Upload the FLOSS firmware
01:59 That is, in the Arduino IDE, upload the file available at Origin slash tools slash floss hyphen firmware slash floss hyphen firmware dot ino
02:13 As discussed in the earlier tutorial the above steps have to be done before proceeding further.
02:21 By default, Julia does not have the capability to connect to Arduino.
02:27 All such add-on functionalities are added to Julia using the toolbox.
02:34 These functions are required to run various experiments on the Arduino Uno board.
02:42 It also establishes a serial communication with Arduino.
02:48 The Arduino Julia toolbox can be found inside the directory

Origin slash tools slash Julia slash ArduinoTools dot jl

02:59 Open the terminal by pressing Ctrl+Alt+T keys.
03:05 I have already installed Arduino IDE and Julia1.6.0 in my Linux system as specified in the book.
03:15 In the terminal, go to the directory where the Julia toolbox is available.
03:22 Next, we have to load the Arduino-Julia toolbox.
03:27 Type the command as shown to execute the firmware.
03:31 We can see three "ok" messages.
03:36 This shows that the FLOSS-firmware and Arduino Julia toolbox are working properly.
03:43 Next let us run the Julia program in chapter 7. That is, Interfacing a Potentiometer.
03:51 This program will turn ON LEDs depending on the potentiometer threshold.
03:58 Switch back to the terminal.
04:01 Let us go to the folder where the pot-threshold.jl program is saved.
04:08 Type the command as shown to execute the program.
04:13 Rotate the knob of the potentiometer in the shield.
04:17 Observe the change in the color of the RGB LED.
04:22 The corresponding threshold values are displayed on the terminal.
04:28 Do the other Julia experiments as specified in the book.
04:33 Points to remember:
04:35 Whenever you plug the Arduino UNO board into the computer, check for the port.
04:42 Then execute the commands required for read-write permission.
04:48 Don’t upload any Arduino program after uploading the FLOSS firmware to Arduino UNO board.
04:56 This would overwrite the FLOSS firmware.
05:00 Check if the Arduino Julia toolbox is properly running or not.
05:06 With this we come to the end of this tutorial. Let us summarize.
05:12 In this tutorial, we learnt about
05:16 Arduino Julia toolbox
05:19 Interfacing Arduino with Julia
05:23 The video at the following link, summarizes the Spoken Tutorial project.

Please download and watch it.

05:33 The Spoken Tutorial Project Team conducts workshops and gives certificates.
05:40 For more details, please write to us.
05:44 Please post your timed queries on this forum.
05:49 Spoken Tutorial project is funded by the Ministry of Education (MoE), Govt. of India.
05:55 This is Nirmala venkat from Spoken Tutorial Project, IIT Bombay signing off.

Thanks for joining.

Contributors and Content Editors