Show Posts
Pages: 1 ... 66 67 [68] 69 70 ... 115
1006  Using Arduino / Programming Questions / Re: using multiple pages in the ide on: March 31, 2012, 09:50:44 am
Got it working, I had to make each tab a function then just call it from the main page
Much neater now,  so 15pages instead of scrolling up and down looking for where they begin and end
1007  Using Arduino / Programming Questions / using multiple pages in the ide on: March 31, 2012, 08:46:44 am
What is the proper way to use multiple pages in the ide? I tried just pasting parts of my code there to neaten thing up but that doesn't work
basically I want to have one large if statement per tab, its for a touchscreen all the pages and menus I want to neaten the code up a bit
1008  Using Arduino / Programming Questions / Re: ascii code in arduino on: March 31, 2012, 12:18:20 am
That only works with non ebay cheapo who knows what kinda stuff, can't hurt as a one time exercise for a 2$ piece lol
1009  Using Arduino / General Electronics / Re: analog pin resistance? on: March 31, 2012, 12:15:54 am
So if I had a 10M source it would take 20 throw away calls to analogRead()?
1010  Using Arduino / Project Guidance / Re: Mega 2560 for project on: March 30, 2012, 06:06:50 pm
If you buy atmega2560 you will have to learn about bootloading and isp, I've soldered one tqfp chip before and its not so bad with the hot air method and solder paste, definetly needs a custom pcb tho,
1011  Using Arduino / General Electronics / Re: analog pin resistance? on: March 30, 2012, 04:05:58 pm
I usually discard once and read,
but if I do a 10M and a 2.2M resistor divider I can get an accurate reading without altering it
id try it but I don't want to buy the resistors if its not worth it
1012  Using Arduino / Programming Questions / Re: ascii code in arduino on: March 30, 2012, 02:22:14 pm
I figured it out with a simple program, have it cycle thru the characters printing the nu,ber below the actual character, then just use the number you found
1013  Using Arduino / Programming Questions / Re: OSEPP (ARDUINO COMPATIBLE) VS ARDUINO on: March 30, 2012, 02:20:21 pm
From what it sounds like its sketcky, I've bought 3 mega 30$ ea, 2 unos 20$ea, and a nano 15$ from ebay and never had a problem with any,
so far
unkown chinese dealer : 6
1014  Using Arduino / General Electronics / analog pin resistance? on: March 30, 2012, 11:45:56 am
Anyone know what the actual impedance of an analog pin is? Im wondering what the max practical voltage divider would be without being affected by the analog reading
1015  Using Arduino / Programming Questions / Re: how to generate sine wave using the ATMEGA 168A ? on: March 30, 2012, 07:55:26 am
Depending on the load you could get a properly sized rc filter and use pwm to get a crude sine wave, not ever gonna be perfect but an approximation
1016  Using Arduino / Project Guidance / Re: Random non ardunio question on: March 30, 2012, 05:59:55 am
I would imagine that perhaps you could call a plain led a 500Thz oscillator,
and if the electrical current was operating that fast I imagine it would be kinda hard to keep it on a circuit board
1017  Using Arduino / Project Guidance / Re: Simple data logger for newbie on: March 29, 2012, 11:14:36 pm
Best way is probably something like an arduino nano, sd card + slot, then just plug the sd in the computer and read your data, you probably could do the whole thing for 30$, and the time would depend on the size of the sd card
say you get a 2gb card which is like 2.1 billion bytes or something like that, and every event is something like
3/30/12 12:07 off,
3/31/12 14:08 on,
So that'd be about 2147483648/16== 134217728 events which I think if it switched every minute it'd last you 255 years, longer if its not done every minute, assuming if my math is right,
but at that point I think you would need a more accurate clock to be even close to good
1018  Using Arduino / Project Guidance / Re: Small + cheap wireless-controlled LED bank on: March 29, 2012, 07:51:03 pm
Look up nrf24l01 they are 3.50 a piece on ebay and work both ways, are addressable with a 5byte address, I've tested one without an external antenna for reliable transmission about 50 feet away up a floor,
32 byte packet max, so plenty of data in a single packet to control whatever
I've seen 2 libraries on the net, I use the mirf library and it works great
1019  Using Arduino / Microcontrollers / Re: what is the recommended isp for general use? (328 and 2560) on: March 29, 2012, 07:10:26 am
Where is a good online store to buy it from? I usually get my stuff from ebay, but the usbasp I got I used on a bricked mega2560 and at first it said error cannot set sck period then I turned on verbose upload so I could figure out what command to put in avrdude to do it myself on watever speed works and suddenly it said it was working,
weird part is I think the 8u2 on the board is also burnt as it says it doesn't respond, and when I burn the bootloader in the mega I get pin 13 blinking erratically but in a pattern, and when I upload a sketch to blink 13 nothing happens
so idk if I trust it with a good board, id rather buy something legit I know will work
also do you know any good gui's to use the programmer to set the fuses? I know it can be done with avrdude but I really am clueless on how to use that
1020  Using Arduino / Microcontrollers / what is the recommended isp for general use? (328 and 2560) on: March 28, 2012, 03:58:37 pm
What do most people use for isp? I know there's a couple, so what's the easiest to use with the ide and works with most devices?
Pages: 1 ... 66 67 [68] 69 70 ... 115