Recent Posts

Pages: 1 ... 6 7 [8] 9 10
OK, now let's try it with things still wired up in your game. 
Deutsch / Re: Uno - TC35 - SMS Versand
Last post by HotSystems - Today at 05:25 pm
Was meinst du mit "er springt nur kurz ins Programm"?
also verzögern musst du da nix.
Du kannst es doch debuggen, wenn du Informationen an den SerialMonitor schickst.
Dann siehst du genau, ob er in die Funktion springt.
So, where is the simple test sketch that shows that this switch is working as you expect?

Project Guidance / Re: programming problems in me...
Last post by jurs - Today at 05:25 pm
so from where should i start.... i know basic arduino programming ...... like reading data, using that data to and about my project.... in detail..... it is a line maze solving robot .. which will follow white line on a black surface..... where i am going to use 3 infrared sensors to take the input signal and two wheals to turn raght or left.
A line-on-the-floor-maze is also a 2D maze, just as the walls-around-room-maze I showed above.

But possibly you want to mark the line in your data structure and not the walls (as I showed above).

If you absolutely don't know anything about data structures, algorithms and programming, it would possibly be a better idea if you NOT wanted to find "the shortest path", but if you do it simpler: "find any path out", no matter whether the path is long or short.

What about that?

Do you have a picture of an example maze?
Yes, hansibull is wise.  When hansibull replied, I was in the middle of typing up this:

The data sheet has some interesting stuff.

The CKOPT Fuse selects between two different Oscillator amplifier modes. When CKOPT is programmed, the Oscillator output will oscillate will a full rail- to-rail swing on the output. This mode is suitable when operating in a very noisy environment or when the output from XTAL2 drives a second clock buffer. This mode has a wide frequency range. When CKOPT is unprogrammed, the Oscillator has a smaller output swing. This reduces power consumption considerably. This mode has a limited frequency range and it can not be used to drive other clock buffers.
For resonators, the maximum frequency is 8MHz with CKOPT unprogrammed and 16 MHz with CKOPT programmed. C1 and C2 should always be equal for both crystals and resonators. The optimal value of the capacitors depends on the crystal or resonator in use, the amount of stray capacitance, and the electromagnetic noise of the environment.
I suggest study the data sheet regarding fuse settings.   I see in your other thread CrossRoads and hansibull were talking about full swing crystal, I think that is where the CKOPT fuse comes into play, but I am not an expert on that.   You might try setting the CKOPT fuse and see what you get.

And double check your wiring.   I suspect most unexplained weird crud is caused by bad ground connections.  Check your power supply.  Remove any of those motor connections if you have them connected.    Make sure you have short wires or traces going to your crystal, and you may need different capacitor values on the crystal pins.     Check the connection to ground on your capacitors.   

I think it is interesting you can successfully communicate with Nano and can successfully program it, but have trouble with a simple program outputting a square wave.   That makes me suspect a bad ground connection again...  I guess you can tell I have an obsession with grounds.  :-)

Disclaimer: I don't have experience with this particular processor, ATmega32.  OMG I need to get away from reading data sheets and go for a walk....
Proyectos / MOVED: Ayuda con un termostato...
Last post by AWOL - Today at 05:24 pm
if its not too much of an effort, could you provide a link.
Look in your IDE under the File -- Examples menu at Blink Without Delay. 

Or hit the search box on this forum for either "Blink Without Delay" or "Millis rollover". 
Same Problem here, after upgrade to windows 10, my arduino uno is not recognized on COM port.... i'm using 1.0.6 IDE too, now i'll install 1.6.6 and see if this solve my problem...
I use a similar circuit to your original, but use a couple of channels of a Darlington array (ULN2003) to drive the relay coil. See attached.

It's a bit of a waste if you're only using two channels of the ULN2003, but it works very will. I use the Arduino to pulse (for approx 10ms) pin 1 or 2 depending on the direction required. I'm using the spare channels of the ULN2003 for other duties, but I simplified the diagram to keep it clear.


Programming Questions / Re: um, ok.. about these error...
Last post by AWOL - Today at 05:22 pm
different breadboard
So, where is the simple test sketch that shows that this switch is working as you expect?
Pages: 1 ... 6 7 [8] 9 10

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131