Introduction: Creating and Programming Objects in Packet Tracer.

In this chapter, you will learn:

Creating and Connecting a Things.

Before attempting to create a new Thing, you need to decide what the Things will do, how it will connect to the network, and how it will work. You need to find graphics to represent the states of your new Thing. Usually you will need two graphics, one to represent the biginning or default state and another to represent the end state. You also need to identify an existing Thing that functions in a similar manner as the new Thing. The existing script can then be modified to create the new script.
Clicking on any IoT device that is in the workspace will reveal the specifications about that device. The specifications include:

To create the new Thing: To save the new Thing: Note: This local version of Packet Tracer, with the new Thing, can be sent to another user as long as the user has the new template on their local disk.

Packet Tracer - Create Your Own Thing.

Packet Tracer - Create Your Own Thing Instructions
Create Your Own Thing Packet Tracer File

The Programming Environment.

To be able to provide true IoT solutions, it is critical to have programming knowledge. Packet Tracer provides support for JavaScript, Phyton and Visual Blocky.
To enter the programming environment.

Once in the Programming area, you can program a new script or copy an existing script from another Thing. To modify an existing script to use dor a new Thing. It is also possible to completely delete the ol script and program your Thing from scratch.

Reviewing and Modifying Script.

Packet Tracer provides a large number of devices that can be modified to create new Things. It is often easier to modify an existing object that has similar functionality to the Thing being created that it is to program an entirely new Thing.

Packet Tracer - Modify existing script for and IoT Thing.

Modify Your Thing Instructions
Modify Your Thing Packet Tracer File

Chapter 8. Creating and Programming Objects in Packet Tracer.

At the completion of this chapter, you should be able to:

For additional help and practice using Packet Tracer, please visit the Tutorials located under Help in the Packet Tracer program. To view some examples of how Packet Tracer can be used, select File, then Open Samples from the main menu.

Packet Tracer IoT Basic Quiz