admin

Bird and Animal Reppeller Arduino Project

Circuit diagram: Code: #include <SD.h>                       #define SD_ChipSelectPin 10            #include <TMRpcm.h>                   #include <SPI.h>int pir = 8;int val;TMRpcm tmrpcm; void setup(){  pinMode(pir, INPUT);  pinMode(2,OUTPUT);  pinMode(3,OUTPUT);  pinMode(4,OUTPUT);  pinMode(5,OUTPUT); tmrpcm.speakerPin=9;             Serial.begin(9600);if(!SD.begin(SD_ChipSelectPin)){ 

Bird and Animal Reppeller Arduino Project Read More »

SD Card Module With Arduino | Arduino Mp3 Player

Circuit Diagram: Code: #include <SD.h>                      //#define SD_ChipSelectPin 53        #define SD_ChipSelectPin 10          #include <TMRpcm.h>                  #include <SPI.h> TMRpcm tmrpcm; void setup(){tmrpcm.speakerPin=9;          Serial.begin(9600);if(!SD.begin(SD_ChipSelectPin)){  Serial.println(“SD fail”);  return;}tmrpcm.setVolume(6);tmrpcm.play(“gun.wav”); } void loop(){

SD Card Module With Arduino | Arduino Mp3 Player Read More »

Shopping Cart