Show Posts
Pages: 1 2 [3] 4 5 ... 250
31  Using Arduino / Microcontrollers / Re: Unable to use USBtinyISP on a bread board ATMega328p set-up on: April 17, 2014, 12:18:33 pm
Your welcome. Keep in mind that the mega1284P chip has the same DIP pin-out as the 644P with a big increase in SRAM capacity of 16KB and other goodies. I have a optoboot for it also if you ever need it.

Yes, please!  (Is it different from maniacbug's?)
32  Using Arduino / General Electronics / Re: somebody please explain this? sketch attached on: April 17, 2014, 12:02:36 pm
I've got a three-speed with IR remote in front of the treadmill, works great. I may have to take it apart, hmmm!
33  Using Arduino / General Electronics / Re: somebody please explain this? sketch attached on: April 17, 2014, 10:48:09 am
Variable speed fans...

As in continuously variable? Hadn't noticed those, but haven't gone shopping for fans lately either. Will have to be more observant smiley-eek
34  Using Arduino / Microcontrollers / Re: Unable to use USBtinyISP on a bread board ATMega328p set-up on: April 17, 2014, 08:18:29 am
Switch MISO and MOSI.
JP1 pin 1 to IC1 pin 18.
JP1 pin 4 to IC1 pin 17.
35  Using Arduino / Microcontrollers / Re: Unable to use USBtinyISP on a bread board ATMega328p set-up on: April 17, 2014, 06:39:01 am
Steve (about to throw the whole lot in the trash/bin) smiley-sad

It must be something simple, don't give up, we do this all the time. How about a picture?
36  Using Arduino / Microcontrollers / Re: Unable to use USBtinyISP on a bread board ATMega328p set-up on: April 16, 2014, 08:58:42 pm
Where there is problems with the USBtiny is with the mega2560 chip in that the USBtiny apparently can't work in the protocol needed for chips with flash sizes greater then 128K bytes which the mega2560 has.

Adafruit says USBtinyISP cannot program chips with more than 64K of flash. I'm getting ready to start on a 1284p project, and I was assuming my USBtinyISP wouldn't work.

Yea but keep in mind the difference in AVR flash word size (2 bytes) and flash size given in page one datasheet in bytes. The mega1284p 128kb (64k words) is reachable from the USBtiny, I've done it many times. The mega2560, 256KB (128K words) is not.

Ohhhh. They didn't say so I assumed bytes. Well I'll give it a try then. You get some error messages though?
37  Using Arduino / Microcontrollers / Re: Unable to use USBtinyISP on a bread board ATMega328p set-up on: April 16, 2014, 08:04:36 pm
Where there is problems with the USBtiny is with the mega2560 chip in that the USBtiny apparently can't work in the protocol needed for chips with flash sizes greater then 128K bytes which the mega2560 has.

Adafruit says USBtinyISP cannot program chips with more than 64K of flash. I'm getting ready to start on a 1284p project, and I was assuming my USBtinyISP wouldn't work.
38  Using Arduino / Sensors / Re: What's my best option for a sensor in this situation? on: April 16, 2014, 06:12:51 pm
Sounds like you've done some good work, congrats!

What about something like this? Infrared emitter and detector in one package. This is just one example, I'm sure there are dozens of similar devices. It may be necessary to put some reflective tape or something on the bottom of the train if that is permissible. Or maybe it would work without it. At any rate, some experimentation would be needed.

PS: Mouser stocks over 100 "optical switches" the one I linked above has a range of only a few mm which may not be enough. So some research is needed. Luckily, Mouser's parametric search includes sensing distance.
39  Using Arduino / Motors, Mechanics, and Power / Re: How well does the Arduino Uno R3 SMD handle a big fan for a greenhouse? on: April 16, 2014, 12:25:22 pm
An Arduino can control a fan like that just fine, but not directly. A relay or some similar circuit is needed. The Powerswitch tail is an easy and safe way to go.

As for temperature sensors, there are many common and popular parts. TMP36 is an analog sensor, DS18B20 is digital, just as two examples.

Welcome to the forum!

PS: Many sensors and related information here:
http://playground.arduino.cc/Main/InterfacingWithHardware#envtture
40  Topics / Robotics / Re: Arduino Uno R3 turns off when Arduino Motor Shield is attached on: April 16, 2014, 08:09:02 am
Probably dead. Put a new battery in. While you are at it, use a real battery. 9V batteries are for smoke detectors.

I think it's about time we had a little more respect around here for the humble 9V battery. Sure, they're not as flashy as those new-fangled Li-ion batteries, but they've got great attitude and work ethic, so I have to respect them for that!  smiley-wink
41  Using Arduino / Programming Questions / Re: simple maths on: April 16, 2014, 06:54:37 am
Caltoa suggests another variation, and yet another would be:

Code:
    long w = (long)analogRead(A0);
    long tijd = w * w / 490L;

It's interesting that the compiler is good enough at optimization that it often produces the same machine code for various permutations like these.
42  Using Arduino / Programming Questions / Re: simple maths on: April 16, 2014, 06:41:45 am
Multiplication associates left-to-right, so w * w is done as a 16-bit operation and overflows.

        long w2 = 1L * w * w;
or
        long w2 = w * (w * 1L);
or
        long w2 = (long) w * w;

will fix it, the later being a cast to the long data type.

You may be aware, but the integer division (/ 490) will lose precision.

43  Community / Website and Forum / Re: Dealing with spam on: April 16, 2014, 06:20:43 am
An even simpler approach that would still catch a significant portion of the spam would just be to filter posts with the word "kitchen" in the subject line, haha!
"Looking for ideas for projects that let me use my Arduino in the kitchen..."
I'd hate to see that scrubbed as spam.

Of course. It was a tongue-in-cheek suggestion.
44  Topics / Robotics / Re: Arduino Uno R3 turns off when Arduino Motor Shield is attached on: April 15, 2014, 09:55:05 pm
I thought they could be deleted, I must be mistaken. Perhaps the moderators will take care of the duplicates. This is only one problem with cross-posting, creating work for the mods. Your answers are not all in one place, nor is the conversation. The answers you get will be better when everyone can see the conversation in one place, and duplicate effort can be avoided. Good luck with you issue and welcome to the forum.

45  Using Arduino / Project Guidance / Re: help please on: April 15, 2014, 06:01:23 pm
Couple questions. (1) What class is this for? (2) Have you read this?
Pages: 1 2 [3] 4 5 ... 250