Search This Blog

Powered by Blogger.

Translate

Jet engine sound generator

Description.

This jet engine sound generator circuit is based on the sound generator IC HT2844P from Holtek Semiconductors. This particular IC can make four sounds namely low speed sound of jet engine, high speed sound of jet engine, missile sound and machine gun sound. Each of these sounds can be activated by connecting the pins 12, 13, 14and 15 to ground by using the respective push button switches. Resistor R3 can be used for manually increasing or decreasing the speed.LED D1 gives a visible indication of the sound.
Circuit diagram.

jet-engine-sound-generator
Notes.
  • The circuit can be powered from a 3V battery.
  • Do not give more than 3.3V to the IC.
  • K1 can be a 200mW/8 Ohm speaker.
  • IC1 must be mounted on a holder.

[TC] Haunted House Sound Effects Machine(Rasberry Pie)

People have been asking me about interesting applications for the Raspberry Pi, and whether Raspberry Pi is an Arduino killer of some sort. The answer to the second question is no; in fact it is an Arduino augmenter. This blog post answers the first question with another question: how about a Haunted House sound effects machine?

A new revision of the Early Release of Getting Started with Raspberry Pi came out last Friday. I read Matt Richardson’s chapter on using Pygame with the GPIO pins on the Pi, which included a simple Sound Sample player. I adapted his example to work with an Arduino that talks to the Pi over a serial connection; this skeletal (ahem) hookup could easily be incorporated into some sort of Halloween installation. I decided to use Arduino for reading the inputs because out of the box it is more robust and can handle a wider variety of inputs. Also, there are many existing Haunted House triggering demos out in the wild that use Arduino.
First, you’ll need to prepare the trigger circuit. The following example uses three toggle switches, but you can replace those with any kind of on/off input. In a haunted house (or porch-based trick-or-treater installation), a PIR sensor would be handy for triggering based on proximity.
Here’s the basic schematic:
http://todayscircuits.blogspot.in
The 10k resistors can be replaced by the Arduino’s own internal pull-up resistors, if you know how to do that.
I connected the Arduino to the Raspberry Pi using a USB cable. While I had the Pi hooked into a monitor, I found that I could just plug the Arduino through my Mac keyboard USB connector and it got enough power from that to work. If you have an older Raspberry Pi with polyfuses limiting the power on the USB port (check to see if you have 2 little green fuses marked “1104″ next to the USB ports), you may need an external hub, or run the Pi headless to free up a USB port.
Next, upload the following sketch to the Arduino:
// PiTalk.ino// Reads three digital inputs. These could be any kind of
// switch or (for Halloween) PIR sensors. byte onState[3] = { 0, 0, 0 }; // save the state of each pin void setup() { Serial.begin(9600); // Open serial connection pinMode(2, INPUT); // Set these three pins for reading pinMode(3, INPUT); // Each have a 10k pullup externally pinMode(4, INPUT); // so a trigger is LOW} void loop() { for (int i=0; i<3; i++) { // Iterate over pins if (digitalRead(i+2) == LOW) { // Check if triggered if (onState[i] == 0) { // Just triggered? Serial.write(i+2); // Send the pin number onState[i] = 1; // but just once }
} else { onState[i] = 0; // Not triggered } } delay(20);}You can use your computer to do upload the program, or you can download and install the Arduino IDE directly on the Raspberry Pi (as described in the next release of Getting Started with Raspberry Pi).Once the Arduino is programmed, open up the Leafpad text editor on the Raspberry Pi and enter this Python program, adapted from Matt’s Sound Sample Player:# playSounds.py import pygame.mixerfrom time import sleepfrom sys import exitimport serial pygame.mixer.init(44000, -16, 1, 1024)
soundA = pygame.mixer.Sound("Scream.wav")
soundB = pygame.mixer.Sound("WilhelmScream.wav")soundC = pygame.mixer.Sound("CastleThunder.wav") soundChannelA = pygame.mixer.Channel(1)
soundChannelB = pygame.mixer.Channel(2)soundChannelC = pygame.mixer.Channel(3) print "Sampler Ready."serialFromArduino = serial.Serial("/dev/ttyACM0",9600)serialFromArduino.flush() while True: try: val = ord(serialFromArduino.read()) print(val) if (val == 2):
soundChannelA.play(soundA)
if (val == 3): soundChannelB.play(soundB) if (val == 4): soundChannelC.play(soundC) val = 0 sleep(.01) except KeyboardInterrupt:
exit()
Save it as playSounds.py. Before you run the script you’ll probably need to install the Python serial module. To do that, type:
sudo apt-get install python-serial
If you’re running the latest Raspbian, you probably have everything you need to get this running. Open the LXTerminal and type:
python playSounds.py
If you get an error that Pygame is not installed, type:
sudo apt-get update
sudo apt-get install python-pygame
You’ll also need some sound files to play. I chose three from the Internet Archive: a generic scream, a Wilhelm Scream, and the classic Castle Thunder sample.
When you press the buttons each sound will play once; Pygame’s mixer will even play all three at the same time if you have multiple trick-or-treaters invading your porch


[TC] Multiutility flash light















Multiutility flash light  



This multiutility flash light consists of three sections: a flasher, a sound-to-light display and a white LED-based flashlight.

The flasher circuit (Fig. 1) is built around an NE555 timer IC that is wired as an astable multivibrator. It flashes a pair of LEDs alternatively. The frequency of the astable multivibrator can be varied using preset VR1.



Fig. 1: Flasher circuit  
The working of the sound-to-light display (Fig. 2) is simple. The condenser microphone (MIC) picks up the sound in its vicinity and outputs a low voltage. The low output of the microphone is boosted by the first section (A1) of dual op-amp LM358. The output of op-amp A1 is fed to the second section (A2) of LM358 to drive transistor T1 (2N2222). The three RGB LEDs flash accordingly. (An RGB LED is actually a two-pin white LED package that glows red, green and blue sequentially when powered.) 




Fig. 2: Sound-to-light display circuit 


The flashing light circuit (Fig. 3) consists of a group of four white LEDs connected in series. Resistor R13 limits the current flowing through the white LEDs (LED8 through LED11).


Fig. 3: Flash light circuit


Assemble the entire circuit including the flasher, sound-to-light display and flashlight on a general-purpose PCB and enclose in a cabinet. Connect the flasher LEDs (LED1 through LED4) on top of the box and the condenser microphone and flashlight white LEDs (LED8-LED11) in the middle of top as shown in Fig. 4. Connect the three switches to select any one function or the combination of two or three sections.  



Fig. 4: Proposed arrangement for multiutility flash light

Source:http://electronicsforu.com/

Page Rank

google pagerank

Write For Us

Submit a Guest Post

Find us on Facebook

Categories

555 Timer IC 7 segment Display 8051 Project AC Circuits Adafruit Alarms Amplifier Circuits Analog Circuits android Arduino arm processor Assembly Languange Atmel Atom Size Audio Circuits augmented reality Automotive Circuits avr Battery Circuits Bicycle Gurad bluetooth Cable TV Circuits Cambridge University Camera Technology Circuit Boards Clipping And Clamping Circuits Clocking And Timer Circuits Computing contact lens Contact Us Form Contests Controller Circuit Conversion Circuits Counter Circuits Digital Electronics diy circuits Downloads EFY EFYTimes Electronic Books Electronic Components Electronic Locks And Keys Engineering Fan Circuits Filter Circuits Fire Alarm free Frequency Fun And Game Circuits future Google Hack n Mod Ham Radio Circuits heart rate monitoring High Voltage Circuits Home Circuits IC Guide ieee Industrial Circuits Infrared Instructables Inventions ipad lcd Led Circuits Light Related Lighting Circuits Medical Circuits Meter Clocks Microcontrollers Microprocessors Mini Projects modules Movie maker NatGeo Navigation Notice Optical Fiber PC Circuits PCB Boards Physics pnp transistor Power Supplies Printing Projects Programmer Project Ideas Projectors Protection circuits Proximity Detectors Radar Radio Circuits Radio Transmitters Raspberry Raspberry Pie Remote Circuits Retis Lab RFID Robot Cars Robotics Science Science Alert Security And Safety Sensor Circuits Servo Motors Smallest Smartwatches sms Software solar cell sound application Spectram Switch Technology News Telephone Related Television Related Test And Measurement Circuits Thermal Projects Tone generator circuits Touch Screen Tutorials Wearables Wi-Fi Wireless
Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS