Show Posts
Pages: [1]
1  Using Arduino / Microcontrollers / problem bootloading arduino on a breadboard with no external avr on: April 23, 2011, 01:39:33 pm
I have an arduino put on a breadboard just like in this link:
http://itp.nyu.edu/physcomp/Tutorials/ArduinoBreadboard

I am trying to bootload it with no external avr just like in this link:
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html

I am using the FT232RL usb breakout board and am trying to connect the four pins to the respective pins in the atmega168.  basically I am connecting the from the FT232RL -to- the atmega168: GND -to- Reset(pin 1), 3.3V -to- Miso(digital pin 12), TX-O -to- SCK(digital pin 13), and RX-I -to- MOSI(digital pin 11).  just like in this picture

sorry I used the same color cables for the ft232RL connections.

I know that it should be connected as so:
 miso = 3;  # CTS X3(1)
  sck = 5;  # DSR X3(2)
  mosi = 6;  # DCD X3(3)
  reset = 7;  # RI X3(4)
However I am assuming that the four pins in the breakout board even though don't use those names are the same as the four pins arduino diecimila.  if this is not so than that could be the problem.

my questions are does anyone know if they are the same four pins just with different printed names?
When I connect the board to the computer to try to bootload it it says:
 ft245r:  bitclk 4800 -> ft baud 2400
avrdude.exe: ft245r_program_enable: failed
avrdude.exe: initialization failed, rc=-1
and then tells me to double check the connections.

but when I try to connect the four pins on the atmega168 to the ftdi directly to their respective pins for CTS, DCD, DSR, and RI it still won't work.  can anyone help me out to get the atmega bootloaded?
2  Community / Bar Sport / Re: 48รท2(9+3) = ? on: April 23, 2011, 12:24:57 pm
shouldn't it be following order of operations so that inside the parenthesis is first this would make it two, but as for the other approaches, I did not really get them.
3  Topics / Science and Measurement / Re: Distance Measuring on: March 26, 2011, 02:24:44 pm
I just wanted the measuring device to be on the aircraft,  a video is a good idea, but requires me to bring more things to go play than just the airplane.  this would just be something I put on the aircraft. 
4  Topics / Science and Measurement / Distance Measuring on: March 26, 2011, 01:37:52 pm
I am a real new newbie.  I am trying to make a distance measuring in the horizontal distance for around 100+ feet.  I am having trouble, because this is to measure the total distance a remote controlled airplane takes to land.
I first thought to use rpms for the wheel rotation on the ground, but sometimes the airplane bounces to land and I need to total distance from the first time it touches down to the point where it stops. 
I then thought to use a combination of a vertical ultrasound and calculate with the code the horizontal distance over time, and rpms once it stops bouncing and a flex button to switch between both, in other words the flex button is pressed and released by the weight of the airplane it would start the ultrasound and when it is pressed and held it will start the rpms.  the only problem with that Idea is that the bounces will not be exactly parabolic or hyperbolic so it makes the computation a little harder.
my next idea is to drop something on the ground at initial touchdown and then when it stops have an ultrasound measure the total distance from the thing that touched down and the airplane, but I don't know of an ultrasound that could go around 100+ ft distance.
I am really only looking for help with my ideas, or if someone has a better idea on how to do it, could you please help me out?
Pages: [1]