Using Arduino processing software
.pde is just for arduino processing it cannot be uploaded
analogRead is a function to read analog values from the arduino pin
I think its cost effective and it should work....
Are those functions used in arduino code and processing ide connecting and the music files are in same folder....
I am little bit busy to make a different tutorial on it.....If you have any doubt in specific line in code let me know here....
You can use analog pins also which are remaining but if you need to connect more I suggest arduino MEGA which has more pins...
Yes it's possible to play it directly through arduino if you use mp3 shield like this one https://www.adafruit.com/product/1788
I am little bit busy to make a different tutorial on it.....If you have any doubt in specific line in code let me know here......
Connect as per the fitzing diagram each module has common vcc and ground connection is connected to arduino then each modules trigger and echo pin connection is connected to different pins of arduino....
delay will be due to the delay required to run the music file and processing application eats up ram even i got some delay initially(Point to remembered barriers should not be far and should not be removed or else there will be huge lag or error full measurements)Hope this solved your problem.
Practical Circuit Construction With Strip Board
Awesome suggestions and I suggest these for anyone who's building this....Again Thanks for suggestions for quick prototype I had only uno lying around ....nextime I will definetly do some homework...
Glad you liked it please vote if you think its worth....Thanks a lot
Refrigerator Door AlarmView Instructable »
Pir sensors works as trans receivers so.. I will tell you what I have understood from your query... Staircase lighting circuit is required which automatically turns off while person reaches top of the stair but your question is what if person from top of the stair walks down at the same time.....Solution: Install another pir between the staircase (halfway) and control all the pirs relays using one arduino program it by checking && logic and || logic with pir installed in halfway....with top pir or down pir....sequential if loop....If you have any doubts you can ask again....All the best...
Pure White Background Photography
Each ultrasonic costed me around 50 Rupees i.e 0.78$, And total with arduino ended up within -(600Rupees) 10$
Pizzabox Cyclorama - the Poor Man's Studio
DIY Motion Detection SMS Alarm System
Make Your Own GPS SMS Security Tracking System
Intro to GPS With Microcontrollers
Get Started With XL1276-D01 LoRa (433MHz SPI) Using NodeMCU DevKit 1.0
Visualize Data From Sensors Using Arduino + Coolterm
Save the World One Drop at a Time
Vertical Garden & Weather Powered by Intel Edison
Nature Tracker: Parameter Mapping With the Intel Edison
Arduino GPRS Weather Station - Part 2: Upgraded Wind Sensors and Improved Energy Efficiency
Arduino GPRS Weather Station - Part 1
Arduino GPRS Weather Station - Part 3: Hardware Upgrade
Thanks a lot...
Piano StaircaseView Instructable »
DIY AUTOMATIC SOLAR CHARGE CONTROLLER
DIY Small Bench Power Supply
Super recycled benchtop power supply
Arduino controlled power supply source
Make your own FM Radio
DIY Buck/Boost Converter (Flyback)
OscilloPhone: Use your Smartphone as an Oscilloscope / Signal Generator
Arduino Waveform Generator
Arduino Waveform Generator Shield
Custom Arduino Shield and Sensors
Robot - Line Follower
BlueSense - DIY Smart Room Automation using Bluetooth
Mini weather station with Attiny85
SOLAR POWERED ARDUINO WEATHER STATION
Mini weather station
Automated Navigation Robot with Gas (MQ-2), Temperature & Humidity (DHT11) Sensors
Making Your Own Infrared Controller With Arduino
HealthBand: A Remotely Monitored Health Status Bracelet
Electrocardiograph & Heart Rate Monitor
Universal Portable USB Charger
DIY Lithium-ion battery charger
DIY SOLAR LI ION/ LIPO BATTERY CHARGER
Portable motion sensor module
STM32F103: MPU6050 [I2C] (using mbed.h)
Emergency Fall Notifier with Panic Button
ARDUINO SOLAR CHARGE CONTROLLER (Version-1)
ARDUINO SOLAR CHARGE CONTROLLER ( Version 2.0)