Show Posts
Pages: 1 ... 343 344 [345] 346 347 ... 452
5161  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Wrong Baud on: February 16, 2009, 05:46:50 pm
The "half as fast" case can be explained if the fuses on the AVR get programmed to use the internal oscillator (8Mhz) instead of the crystal (16MHz.)  But it's hard to explain "twice as fast", since the AVR shouldn't even run at 32MHz...

Um.  When you say it runs "sometimes" at 19200, does that mean that sometimes a uploaded sketch runs consistently at 19200, while other times after upload it runs consistently at 9600?  Or that the same uploaded sketch runs sometimes at 9600 and sometimes at 19200?  (that is, is upload part of your normal "boot" or not.  Your initial message implies not, but it also implies that you're still connected with the IDE's serial monitor, so it's not clear.)
Double speed COULD be cause by having the "board" menu accidentally set to board that normally runs at 8Mhz...
5162  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Wrong Baud on: February 13, 2009, 07:45:35 pm
It ought not matter, since the bootloader will start the sketch at the normal location and execute the Serial.begin(9600) anyway.

Is there any way that statement could be skipped during your setup() ?  If it is, the bootloader WILL have left the uart at 19200...
5163  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: delay inconsistent between ver 0018 and 0019 on: September 16, 2010, 11:18:06 am
I could not duplicate the problem here (on a 168, using the pin13 LED between each set of analogWrites...)
5164  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: delay inconsistent between ver 0018 and 0019 on: September 15, 2010, 11:27:35 pm
The new delay should be accurate near the microseconds scale.  The old delay() ought to be been accurate to within a millisecond or so, which should have been imperceptible in a 1000ms delay on a blinking LED, but was somewhat problematic when delay(1) was almost always 2ms long...

Something else may be going on here...
(which pin are you using for the LED?  I wonder if there were unexpected interactions between the timer used for that pin's AnalogWrite and the timer used for milis())
5165  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Power Support on Mega on: September 12, 2010, 03:27:50 am
You can tell that the two devices are both MOSFETs from the website picture?  Note that a mosfet in a sot223 package is going to look exactly like a regulator in an sot223 package, except for the lettering on the package...

The whole automatic power selection circuit is probably pretty questionable at 3.3V.  (I don't like it even at 5V.)  You're probably better off figuring out how to bypass it entirely...
5166  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Power Support on Mega on: September 11, 2010, 09:47:11 pm
Um, I hope not, since that would be wrong!
Here's a picture:  The regulator occupies the bottom position, near the power plug, and the MOSFET (which is part of automatic power switching circuitry) is on top near the USB connector.  In each position, there are two possible packages: a smaller package (highlighted) and a bigger package.  You can only put on one at a time, but the regulator has to be in the regulator position and the mosfet has to be in the mosfet position.



If you have a Mega that has a mosfet in both positions, it is incorrectly assembled!!  Name names and embarrass shady dealers (or help the world by calling attention to a broken run.  Depending on whether you have a shady dealer, or there's a more pervasive problem.)
5167  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Power Support on Mega on: September 11, 2010, 06:53:15 pm
The schematic has "doubled" components for a couple of things (regulator and mosfet) so as to create a PCB that can support several different packaging options.  One of the regulators is in a DPAK and the other is in a SOT223 package.  The PCB will support either one, but will only have one installed at a time.

The actual board should have one regulator and one MOSFET.

If the Arduino HW was designed by, say, NASA, this would be "clearly documented" somewhere within the thousand page hardware specification, and the Duemilanove would cost $13347...  :-)
5168  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: suggestion to add TOGGLE in digitalWrite() on: August 19, 2010, 04:50:00 pm
Ah.  Using the PINx magic toggle port, and a variation of the FastDigitalWrite macro that has been floating around, it should be possible to create a "digitalToggle()" function (macro) that takes up no space unless it is used, and operates in a single cycle if all the arguments are constant, and IT DOESN'T HAVE TO BE BACKWARD COMPATIBLE WITH ANYTHING!
 :-)
5169  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: suggestion to add TOGGLE in digitalWrite() on: August 19, 2010, 01:36:42 am
Quote
so why not
Well, changing the "any non-zero value causes a 1 to be written" behavior may screw up any number of existing sketches...
5170  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Make your Arduino USB for only 1 dollar! on: March 26, 2010, 07:56:12 pm
Quote
May I ask if the CA-42 cable starts up ok with nothing connected at the Phone end of the cable?  
I have two varieties, and they both show up with nothing connected on the phone end.
One is from ebay seller "topvshonw" and the other from ebay seller "mehonblue"
5171  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Make your Arduino USB for only 1 dollar! on: March 23, 2010, 12:22:49 am
Quote
has anyone tried this cable on Linux? is there any driver?
The "Prolific" chipset used on the CA-42 is one of the most popular USB/Serial converters in the consumer space, and it's well supported by most operating systems (it even worked fine on my Mac.)  But I've had troubles with the DKU-5 that some other people have mentioned.  Some of those seem to have the TI chipset, and it is NOT well supported except by windows :-(
5172  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Make your Arduino USB for only 1 dollar! on: February 28, 2010, 02:51:51 am
(I think your CA-42 post that appeared on uChobby was the first I had heard of this source of cheap USB/Serial converters (I think I had known that they WERE such, but had never noticed that they were cheap via the mass-market, or that they used standard-enough chipsets to be useful without special phone software.)   *I* found it useful, and have since bought about half-a-dozen such cables, aimed at all sorts of serial things that I'd like to talk to with USB-equipped computers.   (Don't be dismayed by the negative comments on hack-a-day; they seem to be mostly complaining about the long lag between your original posting and HaD picking it up, rather than the idea in general.))
5173  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Make your Arduino USB for only 1 dollar! on: January 20, 2010, 11:36:46 am
Quote
B: What are the ramifications of using the 3 core cable with just VCC/TX/RX?  
I doubt you will ever find such a cable. The 3 wire GND/RX/TX however will enable Arduino to USB serial communication, but without auto-reset or power from USB.
For people who are too new to remember, no auto-reset means that when attempting to upload a sketch to the arduino, you have to manually push the "RESET" button at nearly the same time you hit the "upload" button.  It's not a big deal...

All of the CA-42 cables I've seen seem to be of the 3-wire variety.
5174  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Make your Arduino USB for only 1 dollar! on: December 21, 2009, 08:28:33 pm
Also works with CA-42 type cables (about the same price.  Less than $3 shipped.)  There is a nice tutorial here:
http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/

The CA-42 seems to be based on the Prolific USB/Serial chip rather than the TI, and the prolific seems to have a larger userbase and be supported on more platforms.  (I've yet to find Mac support for either the DKU-5 or other devices containing a TI USB/Serial chip.  Sigh.)
5175  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: IDE/Editor Suggestions on: August 13, 2010, 06:44:42 pm
Quote
It seems there is an entire market that is being alienated by the ide
Could be.  This particular fix won't be sufficient to win them back on its own, and it seems there are an awful lot of windows users who aren't even aware of the shortcuts that you are asking for...  (I guess this explains where those odd shortcuts in ssh came from though.  I always wondered...)

I'd like the IDE to be EMACS compatible, myself.  And have remappable keys and stuff.  But I hardly feel "alienated" because these features aren't there.  It is enough that the IDE can access files prepared with some other editor.

Adding all the features to an IDE that everyone wants is a sure way to alienate a different segment of potential users.  I've been looking at the Eclipse-based ccs used by TI, and ... it's a joke as an "easy to use" IDE for beginners.  I don't like it much in general (by first experience with Eclipse.  Who decided that overlapping windows are evil?  And no black backgrounds?  Sheesh.)

Have you submitted an actual patch to the Processing and Arduino projects?   "Rough consensus and working code", you know...  (and ... welcome to The Big Players in Open Source Software.  If your priorities don't match those of the project leaders ... you can always patch your personal version.  Feel free...)
Pages: 1 ... 343 344 [345] 346 347 ... 452