Show Posts
Pages: [1] 2 3 ... 248
1  Using Arduino / Programming Questions / Re: Finite State Machine Using Switch Statement. - FSM diagram software on: April 18, 2014, 08:32:04 pm
Jack Christensen: Not sure if you found the software, but I recognize it as "Graphviz". Text-based descriptions make the graphics, and it's very cool.

www.graphviz.org/content/fsm

Very cool, thank you!
2  Using Arduino / Microcontrollers / Re: Unable to use USBtinyISP on a bread board ATMega328p set-up on: April 17, 2014, 02:45:36 pm
I've seen two different bootloaders for the 1284P so not sure which is maniacbug's.

Yep, same as:
https://github.com/maniacbug/mighty-1284p/blob/master/bootloaders/optiboot/optiboot_atmega1284p.hex
3  Using Arduino / Networking, Protocols, and Devices / Re: "Tiny RTC I2C Module" issue on: April 17, 2014, 01:41:49 pm
Epic turn-around time on that! Just received it and looks great. I'll be trying it out this weekend.

Thanks for braving the post office on Tax day.

Haha, USPS actually does pretty good work these days! The PO wasn't bad, I didn't have to stand in line smiley-grin

Hope it works well for you, let me know!
4  Using Arduino / Audio / Re: Small Class D amplifier on: April 17, 2014, 12:26:31 pm
Adafruit has several, the one I looked at has very low standby current.

http://www.adafruit.com/search?q=class+d
5  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?)
6  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!
7  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
8  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.
9  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?
10  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?
11  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.
12  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.
13  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
14  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
15  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.
Pages: [1] 2 3 ... 248