Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Python Programming for Arduino
  • Table Of Contents Toc
Python Programming for Arduino

Python Programming for Arduino

By : Pratik Desai
4.6 (22)
close
close
Python Programming for Arduino

Python Programming for Arduino

4.6 (22)
By: Pratik Desai

Overview of this book

This is the book for you if you are a student, hobbyist, developer, or designer with little or no programming and hardware prototyping experience, and you want to develop IoT applications. If you are a software developer or a hardware designer and want to create connected devices applications, then this book will help you get started.
Table of Contents (13 chapters)
close
close
12
Index

Testing and troubleshooting

Testing can simply be performed by posting the #fan #on status to the Twitter account used in this project. You should be able to see the fan turning on by using the command shown here:

Testing and troubleshooting

Similarly, send the #fan #off status to turn off the fan. You may find some lagging, as the loop used to retrieve the tweets is set with a delay of a minute.

Testing and troubleshooting

To access the status of the system, post the #status #get status to the account, and you will be able to see the system status automatically posted by the computation unit.

Testing and troubleshooting

The tweet shown in the following screenshot is generated using the Tweet-a-PowerStrip unit. It displays the status of all the connected appliances.

Testing and troubleshooting

While working with the system, you will want to either avoid the following scenarios or troubleshoot them:

  • 'Twitter rate limit exceed' error: Twitter imposes a limit on the number of requests you can make to their public API. If you are requesting the API too often (this often occurs when you reduce the...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Python Programming for Arduino
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon