Show Posts
Pages: 1 ... 1630 1631 [1632] 1633 1634 ... 2316
24466  Forum 2005-2010 (read only) / Troubleshooting / Re: Newbie needs help on: October 18, 2010, 04:55:07 pm
Quote
do you want me to rewrite my post with the "#" enabled?

You could just edit your original post.
Quote
Circuit info:

Not good enough, how have you got the grounds and power connected. Where are these coming from? A schematic is essential so we can see what you have missed.
24467  Forum 2005-2010 (read only) / Troubleshooting / Re: Button example question on: October 19, 2010, 03:42:44 am
Quote
Are there specific brands of breadboards, switches and other gear that work well together, or are all parts standard?
They are all standard and in my opinion not very good. The problem is that you don't know if you have made a mistake or the connections are just loose. My preference is to solder things to perforated prototype board or vero board, but then it is a more expensive option as recycling opportunities are limited.
24468  Forum 2005-2010 (read only) / Troubleshooting / Re: Button example question on: October 18, 2010, 12:15:09 pm
Quote
Anything else that might be wrong?
Yes you haven't wired it up right.

You need to post a photo of what you have before we can be more specific.
24469  Forum 2005-2010 (read only) / Troubleshooting / Re: IR sensor - IF statement Issue on: October 14, 2010, 10:37:45 am
Change :-
if (old >= 16){

to
if (old >= 15){
24470  Forum 2005-2010 (read only) / Troubleshooting / Re: IR sensor - IF statement Issue on: October 14, 2010, 05:37:46 am
I think this has to do with contact bounce on your input switches. The delay just holds things until the contacts have finished bouncing.
Quote
The pin 13 never goes low.
It is doing but then going high again straight after.
24471  Forum 2005-2010 (read only) / Troubleshooting / Re: IR sensor - IF statement Issue on: October 13, 2010, 05:31:12 pm
Replace the serial print with a delay(30) and you might also find it works.
24472  Forum 2005-2010 (read only) / Troubleshooting / Re: pwm for audio broken? on: October 13, 2010, 05:29:30 pm
Quote
my guess is always 100% duty cycle
No this would be a DC voltage and so no tone.

If you feed PWM into a speaker you will not hear any difference in tone irrespective of the duty cycle so I am not sure what you mean by feeding it chars. What is the hardware setup you have?
24473  Forum 2005-2010 (read only) / Troubleshooting / Re: pulses from pins on: October 14, 2010, 02:54:24 am
Quote
is a good route the pin with out delay?
Yes this is one way of doing it.

The other way is a bit more complicated. By using one of the timers you can get an ISR (interrupt service routine) to be regularly triggered. Then use this to toggle the pins at the appropriate time.
24474  Forum 2005-2010 (read only) / Troubleshooting / Re: bug on my arduino on: October 13, 2010, 06:13:39 am
Quote
have nothing to compensate noise and Arduino and lcd are in the same box.
then you desperately need supply decoupling.

http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html
24475  Forum 2005-2010 (read only) / Troubleshooting / Re: Bus frequency and Arduino's speed on: October 13, 2010, 05:40:36 am
Quote
or 115200 corresponds to the Arduino's instruction life cycle
Clock cycle not life cycle.
These values set divider registers to divide the 16MHz clock to the correct clock for the baud rate. This is why 16MHz is chosen because the divisions you can obtain are closer to the actual baud rates than if you had a 20MHz clock. So a bit of top speed is sacrificed for a more accurate baud rate.
24476  Forum 2005-2010 (read only) / Troubleshooting / Re: UNO LED light sensor on: October 12, 2010, 08:15:00 am
The technique of using an LED as a light sensor does work, I have done it my self:-
http://www.thebox.myzen.co.uk/Workshop/LED_Sensing.html
However it is dependent on the LED and also dependent on you actually shining some light on the LED to detect.
I should be considered a novelty and not a serious reliable sensor. There is nothing on the UNO that will stop this technique from working so if you are having trouble then it is either some error you have made or the type of LED you are using.

Quote
For me A0 is not declared and it returns an error at compile time.
Under version 20 and beyond A0 is a predefined constant.
24477  Forum 2005-2010 (read only) / Troubleshooting / Re: Usb-host shield problem on: October 07, 2010, 05:55:30 pm
Quote
but i don't get power into my usb mouse.

That has nothing to do with the code, power is transferred by the wiring of your USB socket and is not under program control. What hardware are you using?
24478  Forum 2005-2010 (read only) / Troubleshooting / Re: Usb-host shield problem on: October 07, 2010, 03:05:19 am
Quote
I'd be more than happy if someone would make working example how to read data from USB port in USB host shield.

Sadly it is not as simple as that. The USB can be connected to a wide number of devices so you have to specify what sort of device you want to read data from.
24479  Forum 2005-2010 (read only) / Troubleshooting / Re: Usb-host shield problem on: October 06, 2010, 12:37:08 pm
Quote
Is there any better ide than arduino ide?

No it's the very best there is for the arduino.
24480  Forum 2005-2010 (read only) / Troubleshooting / Re: Usb-host shield problem on: October 05, 2010, 07:46:59 am
It looks like you have forgotten to install all the libraries you need.
Pages: 1 ... 1630 1631 [1632] 1633 1634 ... 2316