Show Posts
Pages: 1 2 [3] 4 5
31  Forum 2005-2010 (read only) / Troubleshooting / Re: Programming a Mini Pro on: September 02, 2010, 10:25:59 pm
Figured out the problem.  the IDE does not have a "board" selection for a 16Mhz Mini Pro (328).  Copying the 8Mhz config in boards.txt and changing the clock rate resolved this problem
32  Forum 2005-2010 (read only) / Troubleshooting / Re: Programming a Mini Pro on: September 02, 2010, 07:29:11 pm
It's a pro mini 328  16mhz.  

As I said I got download working with using the grn pin tied to rts on the cable which properly resets.  But ASCII text does not display on the serial console properly.  I'm using the die, so all the base code gets recompiled (which is what caused my problems with make and my duemilanova, the base code pieces were not getting rebuilt so I was picking up objects built for a mega)
33  Forum 2005-2010 (read only) / Troubleshooting / Re: Programming a Mini Pro on: September 02, 2010, 06:07:31 pm
Ok... as i found in another thread,  if i put RST to the "GRN" pin on the board, my upload works fine.  However, my simple "hello world" sketch just displays garbage characters.  
34  Forum 2005-2010 (read only) / Troubleshooting / Programming a Mini Pro on: September 02, 2010, 05:47:39 pm
I have a MiniPro that I'm trying to program with a simple sketch and a a FTDI cable.  I have the  Cable
TX -> RX on the board
RX -> TX on the board
Power -> VCC on the Board
RTS -> Reset (per the instructions)
Gnd ->Gnd

I know the cable is good, as I used it on a Duemilanova to verify that it is supplying power to the board, and that serial communications works.  When i put power to the mini pro, a red led lights up, and the green LED on pin 13 flashes (this should be an indication that the boot loader is running).

All I get from the IDE is
"avrdude: stk500_recv(): programmer is not responding"

(not I get the same when trying to program the Duemilanova through the FDTI cable)

Any suggestions?

However When I upload
35  Forum 2005-2010 (read only) / Development / Re: Fritzing diagram for standard Shield on: January 20, 2011, 02:21:24 pm
Andre.. thanks for this.. maybe i can bother you a little.  What I really want to do is have a board that plugs in a Mini Pro (as if it were a socketed device)  I have that on my schematic, which connects to the external world with an RJ45 linked to the serial pins (so i can plug a FTDI cable into a small board that takes the signals to the companion RJ45.  The Pro will drive a KS0108 LCD via 20 wire ribon cable and 3 buttons.

Is there a library of Fritzing parts (I can't seem to find a RJ45
36  Forum 2005-2010 (read only) / Development / Fritzing diagram for standard Shield on: January 19, 2011, 03:31:23 pm
does anyone have a fritzing diagram for a basic shield, something that just brings the pins up to another board?
37  Forum 2005-2010 (read only) / Development / Re: Speedometer , fuel gauge on: November 16, 2010, 05:33:27 pm
the other thing to do is hook the speed sensor you are using to an interrupt.  you can count the pulses (i;m using an interrupt for a tach input), and then simply handle the calculation based on elapsed time (say once every 250ms).  that way you don;t loose pulses.   There is a decent writup on tach input in this forum, and a speed sensor like you are doing is not much more than what a tach does.  
38  Forum 2005-2010 (read only) / Development / Re: Speedometer , fuel gauge on: November 16, 2010, 05:31:02 pm
spark fun has the Venus GPS with SMA connector for ~50 bucks.   you can get it to update 10x per second, so you can get pretty fine grained speed  and location.  I have yet to find anything else that can update that fast,  i'm using it for my race dash and data acquisition system so i can get reasonably accurate lap timing and position.
39  Forum 2005-2010 (read only) / Development / Beginner Eagle question on: September 23, 2010, 03:38:24 pm
I want to import the schematic for the Arduino Pro-mini into my schematic.  I can't find a way to do this within Eagle (using the freeware version).  Any suggestions.
40  Forum 2005-2010 (read only) / Interfacing / Re: using a 328 as a gLCD serial interface on: January 13, 2011, 01:35:55 pm
you have to build your own protocol..  A simple example would be sending a data structure over the serial wire. lets assume a simple example.  

struct {
    char command;  // single byte command make this ascii to make things simple
    uint8_t  len;  // data.. since this is 8 bits, we can send 0 to 255 bytes with this
    uint8_t  data[256] ;  
} cmd;

cmd.command = 'A';
sprintf(cmd.data,"This is a test");
cmd.len = strlen(cmd.data);

Serial.write((char *)cmd,sizeof(cmd));  

on the receiver, just read until you  have sizeof(cmd) bytes of data into a buffer, and then typecase it to the structure ..

This should send the entire structure.. of course we are sending more than the actual command contains, but it's a simple example.  

note I don;t have an arduino with me right now, so it may not be exactly perfect.
41  Forum 2005-2010 (read only) / Interfacing / Re: using a 328 as a gLCD serial interface on: January 13, 2011, 08:45:16 am
its pretty simple  you have 2 arduinos.  lets call them A and B  simply connect TX-A to RX-B and RX-A to TX-B.  then you can send serial data to and from each other.   you can even use the NewSoftSerial library on each arduino so that you can use the usb port to debug and monitor each one.


 this just lets the devices talk, you still have to come up with some kind of protocol and handle the data.  

42  Forum 2005-2010 (read only) / Interfacing / Re: Xbee pro 9600 xsc rpsma on: January 11, 2011, 04:34:24 pm
so i learned that i have purchased the wrong antenna;s  need 900mhz not 2.4ghz rated antenna.  hopefully this will resolve my issues.
43  Forum 2005-2010 (read only) / Interfacing / Xbee pro 9600 xsc rpsma on: January 10, 2011, 07:51:31 pm
I have two of the subject radios, 1 USB breakout and one breakout for the arduino.   I also have 2rpsma antenae from sparkfun,  Note, I have this setup working with the low end xbbe modules with the little wire antennae, I'm looking to get more range for my project.   I've got these "modems" set to the default settings.  However when I send a string from the pc (123456789) to the arduino mega the mega only receives hex 0.   Anyone have any thoughts
44  Forum 2005-2010 (read only) / Interfacing / Re: Qustion about sensor output on: January 11, 2011, 03:24:16 pm
one other thing.. only the ECU and dash tach share the tach signal from the Ignition controller... so i think that my erratic dash tach is because of the ECU (it was fine with this setup before adding the mega squirt.   it would be nice if i could take the tach from the ignition box and "split" it into 2 signals so that both devices get driven equally.. apologies for poor terminology here.
45  Forum 2005-2010 (read only) / Interfacing / Re: Qustion about sensor output on: January 11, 2011, 03:07:05 pm
can someone put together a schematic using a lm339 comparator with a 12v SQ Wave tach signal input.

One other related quesiton,  trying to learn here, i'm a SW Engineer, not a hardware one.  My commercial Data Acquistion system came with several "sensors" to hook up to the tach.  OF course i found one that works with my car, but one of the others confuses me.  Its basically a solid core wire which one wraps around the spark plug wier.  I believe this is an inductance loop (there is some small circuit board under a bunch of potting so I can't disect it), but there is not path to ground for this loop (i have an hour meter on my dirt bike that does the same thing, wraps around the spark plug wire).   I guess this is similar to how a timing light works.

Can anyone
a) explain why this works
b) help me create such an animal myself (my project is my own data acquisition system, gps, accelerometer, tach, AFR, ignition advance (my ignition box has a nice 0-1v output which is degrees of advance (eg.  0.13v == 13 degrees).  I;m looking for this for 2 reasons.  1) to give flexiblity for those who don't have a tach out signal that they can use, and 2) with my ECU (megasquirt), commercial daq, and the dash tach all connected to the same signal, the dash tach is erratic (the ecu and the daq both show correctly as compared to a timing light)
Pages: 1 2 [3] 4 5