Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Arduino and Sensors good websites on entry löevel are welcome

Status
Not open for further replies.

leo235

Newbie level 3
Joined
Dec 14, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
Hello,
Im a mechanical engineer (1. semester so no skill here) from germany and I want to learn a little about electronics. I bought an arduino mega (real easy microcontroller) and read up a bit on how transistors and diodes function.

I managed to make some leds light up (multiple tries) and got the arduino to fit the intensity of an LED to the volume of sound that an electret microphone picked up.

pic shows the connections. the open one was directly in one of the pins. note exactly sure on them, but the arduino only got signals in a pretty small range.690-740 instead of 0-1024) is that normal with the way I hooked it up?


more questions coming soon. electret.png
 

ya it's pretty normal..
if you need the value in that range use constrain function
Code:
sensVal = constrain(sensVal, 10, 150);
// limits range of sensor values to between 10 and 150
 
  • Like
Reactions: leo235

    leo235

    Points: 2
    Helpful Answer Positive Rating
Thanks for that answer.
fortunately I had already mapped the input on 0-255 to light up the LED properly, I was just wondering, wether I had destroyed my sensor.

What I want to do next is to give me proximity alarm in case russian super-killers are approaching from the back. I have bought an Ultrasonic receiver and a transmitter (UCT-16M02 and UCR-16M02) but I am unsure as to how to connect them (sorry for the weird english by the way) to the arduino.

Later I will have the same question for a temperature sensor (KTY-81-2) so if you have general information where to find that kind of info Id be very grateful.

The mic just had it on the data sheet. Why cant they not just make that common...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top