Show Posts
Pages: 1 ... 62 63 [64] 65 66 67
946  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Burning the bootloader with an Arduino? on: July 29, 2009, 09:50:36 am
the bootloader sits permanently at the top of the flash memory and can load new code over the serial port.  using an isp programmer like the one you posted or what i'm using does the same thing. so, yes, you can burn in a program and run it without the bootloader.

i think it's easier to use the arduino enviroinment with a loader though.
947  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Burning the bootloader with an Arduino? on: July 29, 2009, 09:06:18 am
i am using the code from http://code.google.com/p/mega-isp/  to burn sketches into attinys.  it's simple enough to use but i have not had occasion to use it with an atmega or bootloader.
948  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: PWM output on: July 30, 2009, 08:16:08 pm
it's also indicative that the smoothing is routinely needed.  I wouldn't mind seeing your code when it's ready to show.
949  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: PWM output on: July 30, 2009, 07:03:15 pm
you might want to dig into this thread which is about filtering accelerometer-type outputs. http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248889032
950  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: PWM output on: July 28, 2009, 07:32:50 pm
Quote
Is it a lilypad accelerometer with a LED on it attached to a lilypad processor?  If so it's not getting excess voltage and it should be perfectly happy.

Do you see the joggles on all three axes?  Do they happen when it's sitting still?  I would check the power and signal connections for starters.  If it's real data you'll have to filter it in software I guess.

I have a lilypad accelerometer here but it's not hooked up right now.  As I recall the data was pretty clean and I was not filtering it.  I did have code that reacted to large changes by moving only 25% toward the new value but I think that was mote to do with handling quick movements gracefully.
951  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: PWM output on: July 27, 2009, 09:34:30 pm
Quote
If anybody wants to see the project I believe Jezuz is talking about, he posted this link under another topic

http://bxsciborgs.com/rus.tech.studio/mypics/DSCN1155.JPG
ok, thanks for the picture - I think that's a lilypad accelerometer toward the knuckles.  That already has a diode (LED actually) to drop the voltage.

Quote
Although the accelerometer works fine, the datasheet also mentions that at higher voltages, the accelerometer is more sensitive, which is what I do not want at all.

I don't think you should worry about sensitivity.  the x, y, and z readings are coming in as 10 bit numbers - you can just scale or translate them however you need to.
952  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Lost values :( on: July 30, 2009, 04:01:10 pm
I went and grabbed a section of code where I was pulling arduino numbers from an accelerometer.  You can ignore the guff about separating which axis it is but you can see that I had to consciously assemble an ascii string representing the readings then convert to an int.  There was never any suggestion of dropping values.Any help?

If you want to work with binary values, have a look at the oscilliscope example and see how he does it.

Quote
// called whenever serial data arrives
void serialEvent(Serial p) {
int c = port.read();
if (c != lf && c != cr) { //assemble the non-terminator characters into a string
 buf += char(c);
}
if (c == lf) {
  int val = int(buf); //extract the numerical value from the string
  if (val < (501)) { //if x axis gives input
    xval = val;
  }
  if ((val > (500)) && (val<(1001))) { //if y axis gives input
    yval = val;
  }
  if (val > (1000)) { //if z axis gives input
    zval = val;
  }
buf = ""; //clear the buffer
}
println("xval="+xval+" yval="+yval+"zval="+zval);
}
953  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: CAn Arduino communicate over midi connection? on: July 27, 2009, 08:16:45 pm
No idea what this thing does but there is a "reprogramming header" that looks like a standard in-circuit proogramming header.  I would assume that it's got some code in the atmega which you would have to integrate with.  Do you have the source and the means to modify/recompile it?  

If it's open source maybe you can find find the author or a project team to ask through the ladyada site.
954  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino operating temperatures on: July 17, 2009, 07:44:57 pm
if it's not exposed I bet it wouldn't be an issue.  If you think about something like my garage door keypad, it might not work at -37 but I bet it would be the battery that let it down.  It's only protection is its own cover and a little bit of wind shadow.
955  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Stuck Deciding. on: July 17, 2009, 07:38:00 pm
I would fire off a note to seeed and ask if they are using the 328 now - I wouldn't be surprised if they were.

I started with a diecimilla(sp) and I was delighted with it.  I have a half dozen xduino's now but that original still gets used.  I do like the added features of the seeeduino and I think you'd be happy with it even if it's still a 168.

For the record I mostly use the rbbb boards now because they're smaller and less expensive but I would recommend starting with the seeeduino or duemilanova.
956  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: AVR ISP programming via Arduino on: July 17, 2009, 07:48:41 pm
ok but in the end are we connecting 3 or 4 pins on the arduino to the attiny along with power and ground?
957  Forum 2005-2010 (read only) / Frequently-Asked Questions / AVR ISP programming via Arduino on: July 17, 2009, 07:27:24 pm
This http://hackaday.com/2009/07/15/avr-isp-programming-via-arduino/ item on hack-a-day has me confused.  I'd like to be able to program littler AVRs and maybe this is what I need but what is it actually?  from the picture below it looks like it connects some arduino pins to some leds and connectors.

from this pic it looks like you connect the shield's connectors to the attiny mounted on a breadboard.

What's bugging me though is why do I need all this stuff if I'm just connecting 3 or 4 arduino pins to the attiny?

I know I'm missing something.
958  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Sending PMs (Personal Messages) on: July 11, 2009, 02:14:35 pm
ok, thanks, good info.
959  Forum 2005-2010 (read only) / Frequently-Asked Questions / Sending PMs (Personal Messages) on: July 11, 2009, 10:44:24 am
I've sent two PMs recently and I wonder if there's any way to be sure they've been received or at least gone out.  

They show up in my PM Outbox - is that correct?  With email that would mean there was something wrong.
960  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino + processing + rca help on: July 04, 2009, 07:32:25 pm
google tellymate.
Pages: 1 ... 62 63 [64] 65 66 67