Show Posts
Pages: 1 ... 62 63 [64] 65 66 67
946  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.
947  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);
}
948  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.
949  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.
950  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.
951  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?
952  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.
953  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.
954  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.
955  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Arduino + processing + rca help on: July 04, 2009, 07:32:25 pm
google tellymate.
956  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Running Arduino on a battery. on: July 04, 2009, 07:30:35 pm
Quote
Floating inputs drain power like PacMan eats dots.  Unused pins need to be configured as INPUTS with a PULLUP or PULLDOWN resistor or they need to be configured as OUTPUTS set LOW.  If you do nothing, it's very likely the pins will float.

I didn't know that!
957  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: A2d inputs over serial to pc on: June 26, 2009, 07:11:18 pm
google "arduino oscilliscope" for an example of an app that sends 10 bit data to a pc application(written in Processing)..

What are you catching it with on the PC?
958  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Easy question for you veterans on: June 15, 2009, 07:48:44 pm
I'm not sure this is really needed but maybe you could use a baseline voltage divider to set aref.  Run a 1M resistor from the car's "12V" to aref and a 470K from there to ground.  If you use the same two values for the other voltage dividers that would give you 100% of the range.

I have used 1M/470K voltage dividers to pick up signals from the tach and neutral sensor signals on a motorcycle.  These are both off/on sorts of things so I haven't needed to worry about the intermediate voltages.

By the way, does a car have a regulated 12V buss somewhere or does every circuit have to do its own regulation?
959  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Multiple LEDs on with Charlieplexing on: June 19, 2009, 04:11:33 pm
you might want to check out the code and circuits used here http://www.instructables.com/id/Arduino-Charliplexed-Heart-just-in-time-for-Valen/
960  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Multiple LEDs on with Charlieplexing on: June 17, 2009, 08:19:39 pm
What about splitting up the leds into multiple groups with each group having its own set of pins?  2 pins for 3 leds and you'd never have more than 3 on a set list.  Software would be complicated I guess.
Pages: 1 ... 62 63 [64] 65 66 67