profilenero.blogg.se

Dotbot tutorial
Dotbot tutorial













dotbot tutorial
  1. #DOTBOT TUTORIAL HOW TO#
  2. #DOTBOT TUTORIAL INSTALL#
  3. #DOTBOT TUTORIAL SOFTWARE#

Import the datetime, keyboard, pyttsx3, and time libraries. Name code in a way you can remember (ex: scheduleBot.py) but make sure it ends in.

dotbot tutorial

Open a text editor on Raspberry Pi to begin writing code.

  • pyttsx3 (Python Text-to-Speech X-Platform): a library that converts text given to it into speech in order for you to program your ScheduleBot to speak your event reminders.
  • keyboard : enables you to access keypresses from the keyboard while code is executing.
  • #DOTBOT TUTORIAL INSTALL#

    Open a terminal window and install the following Python libraries (Python 2 and 3 will already be installed on your Raspberry Pi but you need to use Python 3): The pink/red is to connect the mouse, the black is for the speakers, the left white is the cable for power, and the right white cable connects to the screen. Here is a close-up of what the Raspberry Pi’s plugs should look like. The white HDMI plug is used to connect the Raspberry Pi to the screen. The black plug on the left is the DC adapter used to power the screen. The blue circle indicates the power for the Raspberry Pi. Figure 2: Photo showing connections for the speakers, mouse, and screen to the Raspberry Pi. The white DC adapter connects to the Pi, circled in Figure 3.

    #DOTBOT TUTORIAL SOFTWARE#

    Connect to the internet for initial software installation.įigure 1: The black DC adapter to the screen.It will turn on automatically when the two power plugs are in, or hit the power button on the Raspberry Pi. Follow the pictures and plug them accordingly.

    #DOTBOT TUTORIAL HOW TO#

    Figures 1-4 explain which plugs are which, why they are needed for the Raspberry Pi, and how to insert them.However, the Raspberry Pi may take longer to do what a computer can do. The Raspberry Pi may be much smaller than the average computer, but it can still do what a regular computer can. The Raspberry Pi is a small computer that is powered by one single circuit board. However, you can pick the location for the Raspberry Pi that would be most convenient for you. Running the code on a PC would mean that you would have to stay in the room with the PC to hear your reminders, but that might not be the room where you would like to hear your reminders. If you were to run the code on a laptop, you would have to power it off eventually, but the ScheduleBot program can (and must) run continuously.

    dotbot tutorial

    That way, I can find a room that I spend most of my time in and insert the Raspberry Pi there. After answering some questions to the bot about what your event is, when it takes place, and when you should be reminded, the bot will save your request and remind you. The ScheduleBot was created for this very purpose by saying the reminder to you at the time you want. Sometimes you need someone, or something, to remind you of a task or an event, like doing the laundry or going to a meeting. Never be late again with the help of this neat coding project!















    Dotbot tutorial