Things to remember

Remember the following things. As you move forward, you will get your own ideas based on these points so that you can start creating more of your own devices.

  • A 5-volt peripheral device can be directly connected to Arduino's 5V power pin.
  • All the peripheral components must have a common ground.
  • The analogRead function is used to read input from an analog pin.
  • The analogWrite function is used to send output signals to an analog pin.
  • The digitalRead function is used to read input from a digital pin.
  • The digitalWrite function is used to send output signals to a digital pin.
  • You will notice that the intensity of the Piezo Buzzer decreases as more peripheral devices are added. This is because the number of devices consuming power from the same 5V pin of the Arduino board have increased.
  • The digital pins used to interface with an SD card are pre-configured in the SD libraries used with Arduino. Hence you will not be able to change the pin numbers for MOSI, MISO, and CLK/SCK.
  • However, the connection to the CS/SS pin maybe changed. It can be connected to any available digital pin on the Arduino board.
  • Using the preceding information, more than one SD card may be interfaced with the Arduino board. In which case, the SD cards will have separate CS/SS lines but share all other lines. Using this technique, you may implement a backup SD card in case the primary SD card becomes unavailable or corrupt.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.187.233