Show Posts
Pages: 1 ... 244 245 [246] 247 248 ... 837
3676  Using Arduino / Project Guidance / Re: Stress level detection on: November 03, 2013, 09:25:08 pm
http://learn.adafruit.com/adafruit-microphone-amplifier-breakout/measuring-sound-levels

Here is more info:

arduino spl meter
3677  Using Arduino / Project Guidance / Re: Need help with a science fair project on: November 03, 2013, 09:22:56 pm
Might be simpler to put two mics, one at each end, and trigger the sound yourself by tapping the material. That halves the number of devices you need to interface to.
3678  Using Arduino / Project Guidance / Re: Making a USB HID joystick without an Arduino Leonardo on: November 03, 2013, 09:20:15 pm
I haven't done it myself but I've read of people who have used a UNO to do HID emulation. I don't remember the details but I suppose it would involve reprogramming the Atmega16U2 that serves as the serial-to-USB converter.
3679  Using Arduino / Project Guidance / Re: Project Idea: Embedding SMS activated GPS tracker in a bike on: November 03, 2013, 09:17:56 pm
Seems to me that it would be better to focus on ways to stop it being stolen - i.e. stronger locking mechanisms and better discipline about using them. Adding tech to your bike just increases the amount of stuff you lose when the bike is stolen.
3680  Using Arduino / Project Guidance / Re: Send serial data without the IDE? on: November 03, 2013, 09:15:45 pm
I don't know what's involved in configuring the serial port with that OS, but perhaps there's something you need to do to set the serial parameters (speed, start/stop bits, parity). I don't see why that would cause the symptoms you're describing, but it's all I can think of.
3681  Using Arduino / Programming Questions / Re: define variables using for loop on: November 03, 2013, 07:56:55 pm
so I would have variable0, variable1, variable2.

This code defines an array variable named foo with three elements foo[0], foo[1], foo[2]:

Code:
int foo[3];
3682  Using Arduino / Programming Questions / Re: WiFiWebClient on: November 03, 2013, 07:52:31 pm
Find or install a server locally that you can connect to, to eliminate the internet part of the problem. A web server would be the most obvious one to go for since that would be useful for testing your web client too, but at this stage it doesn't absolutely have to be a web server, just anything that will accept TCP connections.
3683  Using Arduino / Programming Questions / Re: Direct Port Manipulation -- analogWrite? on: November 03, 2013, 07:49:11 pm
Hi there -- I'd like to know how I could do an analogWrite directly.

The simplest answer is to look at the source for analogWrite(), take out whatever functionality you think you don't need, and reproduce whatever's left in your code.

Is there any particular reason you want to do this?
3684  Using Arduino / Project Guidance / Re: Send serial data without the IDE? on: November 03, 2013, 07:45:58 pm
when I run echo '1' > /dev/tty.usbmodem1411, I get: /dev/tty.usbmodem1411: cannot create [Input/output error]. I run it in sudo with a same result. Any ideas? Thanks.

Does the Arduino reset when you run that command?
3685  Using Arduino / Project Guidance / Re: Hey, need some help on where to start programming! (Balancing Bot) on: November 03, 2013, 07:43:53 pm
So how am i supposed to fix it?

Well you could start by confirming the guess that your ArduinoWrapper.h is defining millis() as a macro.

If it is then that suggests that the code you have is probably not Arduino code - it's Arduino-like code. You can either run it as-is in whatever development environment and runtime environment it's designed to work in, or you can try to convert it into actual Arduino code. The way to do that would be to get rid of the wrapper and then see what errors that causes and work through fixing them all.
3686  Using Arduino / Project Guidance / Re: Tact switch mimicking a keypress on: November 03, 2013, 07:40:42 pm
If you could please help me out there that would be excellent.

You are already using SoftwareSerial in the sender sketch.
3687  Using Arduino / Project Guidance / Re: Transfer of charge wirelessly via inductive coupling on: November 03, 2013, 07:35:21 pm
Edit: Oh, and do you know of any cheap signal generators?

Depends on the frequency range you want, but you could start with a simple 555 timer. Alternately, you can just buy a pulse generator for not much. For example, RM Cybernetics sell a power resonator which will automatically drive reactive circuits at resonance, or other modulators which let you control the duty cycle and frequency manually.

Who said it had  too..PeterH

The original poster did, in Reply #4. He's not just looking for wireless power transmission - he's looking for it over a considerable distance..
3688  Using Arduino / Programming Questions / Re: Serial Monitor data issue on: November 03, 2013, 05:16:18 pm
Presumably there is something wrong with your hardware, either a design fault or a faulty component.

Can you prove beyond any possible doubt that you have the same components connected in the same way shown in that article, and all the components are the right way round etc?
3689  Using Arduino / Programming Questions / Re: WiFiWebClient on: November 03, 2013, 05:12:42 pm
Just as a sanity check, what happens if you put the wrong WiFi SSID in, or the wrong password? I'd expect the WiFi association to fail, and if you confirm that happens that proves that it isn't just an encryption/authentication issue.
3690  International / Fran├žais / Re: Check the percentage of the computer's battery on: November 03, 2013, 04:04:26 pm
If I wanted to do this, I'd write an application to run on the PC which used the appropriate Windows API to read the battery level and print it out, and use Gobetwino to run that on request from the Arduino and return the results to the Arduino. The Arduino sketch would have to send the Gobetwino command string to the serial port at regular intervals, read back the command output and parse it to determine the battery level, then do whatever you want with LEDs based on the result. This assumes that the Arduino is connected to the PC by USB.
Pages: 1 ... 244 245 [246] 247 248 ... 837