All posts by graceliana@gmail.com

Raspberry Pi SPI and I2C Tutorial

Connecting To The Ports
Screen Shot 2020-02-27 at 9.29.03 PM.png
Screen Shot 2020-02-27 at 9.30.44 PM.png

This tutorial will walk you through getting the I2C and SPI interfaces of your Raspberry Pi working. These interfaces aren’t enabled by default, and need some extra configuration before you can use them.

Recommended Reading

Before we get started, you might want to review some related background material.

  • I2C is a useful bus that allows data exchange between microcontrollers and peripherals with a minimum of wiring.
  • SPI is a cousin of I2C with similar applications.
  • For the C/C++ examples, we’ll be using the wiringPi library to interface with these buses
  • For the Python examples, we’ll be using spidev for SPI and smbus for I2C.

How To Make Arduino Human Following Robot

Hey Guys, In this tutorial I am going to show you how to make a DIY Arduino Human Following Robot. So let’s get started 🙂

Code – https://bit.ly/2SY3hBt

Circuit – https://bit.ly/2Vgc2K5

Here’s the Parts List: (Banggood.com)

1) Arduino Uno – https://bit.ly/2Fz8M4q

2) Motor Driver Shield – https://bit.ly/2VWaYsn

3) Wheels (4x) – https://bit.ly/2suQJEY

4) TT Gear Motor (4x) – https://bit.ly/2Rtg2G9

5) Servo Motor – https://bit.ly/2Soq7E4

6) Ultrasonic Sensor – https://bit.ly/2RzebL7

7) Infrared Sensor (2x) – http://bit.ly/2k70nNi

8) 18650 Li-on Battery (2x) – https://bit.ly/2CZabQ7

9) 18650 Battery Holder – https://bit.ly/2sulLwu

10) Male and Female Jumper wire – https://bit.ly/2su6mfM

11) Acrylic Sheet – (Offline Store)

12) DC Power Switch – https://bit.ly/2FtyEzs

(Amazon.in)

1) Arduino Uno – https://amzn.to/35flEXS

2) Motor Driver Shield – https://amzn.to/30Z9ijj

3) TT Gear Motor and wheels set – https://amzn.to/31WSD0Z

4) Servo Motor – https://amzn.to/2IAigNH

5) Ultrasonic Sensor – https://amzn.to/33fwrQa

6) 18650 Li-on Battery (2x) – https://bit.ly/2CZabQ7

7) 18650 Battery Holder – https://amzn.to/33iY4b3

8) Male and Female Jumper wire – https://amzn.to/2MmRjOE

9) Acrylic Sheet – (Offline Store)

10) DC Power Switch – https://bit.ly/2FtyEzs

 

[Flyrobo.in]

Arduino Uno : https://bit.ly/2m8HZnL

Motor Driver Shield : https://bit.ly/2mvO7XL

Wheels : https://bit.ly/2kxPeFF

TT Gear Motor : https://bit.ly/2m4fMid

servo motor : https://bit.ly/2MIdoaB

Ultrasonic Sensor : https://bit.ly/2McGLm1

Male and Female Jumper wire : https://bit.ly/2mu0aVo

CMU: Introduction: PID Controller Design

Control Tutorials

In this tutorial we will introduce a simple, yet versatile, feedback compensator structure: the Proportional-Integral-Derivative (PID) controller. The PID controller is widely employed because it is very understandable and because it is quite effective. One attraction of the PID controller is that all engineers understand conceptually differentiation and integration, so they can implement the control system even without a deep understanding of control theory. Further, even though the compensator is simple, it is quite sophisticated in that it captures the history of the system (through integration) and anticipates the future behavior of the system (through differentiation). We will discuss the effect of each of the PID parameters on the dynamics of a closed-loop system and will demonstrate how to use a PID controller to improve a system’s performance.

Key MATLAB commands used in this tutorial are: tf , step , pid , feedback , pidtune