You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • how alt-hold work?
    the altitud is specified in the firmware or ArduPilot will try to hold in the altitud plane is, when fail safe turns on ?
  • 3D Robotics
    What's your preferred programmer: avrdude or AVR studio? In either case, it's a matter of flashing the chip with the hex file, but they have different procedures.

    Sorry about all this complicated stuff, but you're really ahead of us. This is all going to be much easier and well documented in the production version (plus they're going to come with the firmware pre-loaded, fuses set and all that). Normal people shouldn't have to mess about with this sausage making!
  • 3D Robotics
    Sorry, I was wrong about the Lilypad. These aren't our current boards, so I forgot what we'd added and not. I think your board does have the crystal, yes? In which case, you want to select "Decimila". Let me know if that makes a difference.

    BTW, the production boards will be running at 20 mhz.
  • Not sure how to program the ATTiny. I meant to ask about that.
  • I get this. Me thinks the AVRstudio overwrote something. ANy ideas?

    avrdude: stk500_getsync(): not in sync: resp=0x00
    avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
  • 3D Robotics
    Once you've set the fuse and loaded the bootloader you can use the Arduino IDE. It's been a while, but I think you need to select "Lilypad" as the board. Also remember to press the reset button when you're uploading a new sketch. I can't recall if you have to set the fuse for the Attiny on the MUX to have Jordi's firmware run properly, but when you get to that I can ask Jordi to walk you though it.

    BTW, we've moved on to a different board configuration, so our latest code may use different pinouts that the ones you've got. But it should be pretty easy to tweak so it works.
  • Yes I do. It was a little difficult soldelring but it executes the blink code so I know it is programming. I can try that. Anything else I need to know?
  • 3D Robotics
    Wow, you moved quickly. We hadn't expected anyone would get there yet, so we haven't written the tutorial yet. But here's the short version: You've got to set one atmega fuse correctly. The DIV8 fuse (which divides the clock speed by 8 and is, annoyingly, the default setting of the chips) needs to be turned off. The easiest (and safest way) is to use AVRStudio. Do you have that?
  • Hey guys, I built the smd version but do not seem to be able to program via Arduino software and FTDI. I did program using the ISP connector via my STK600 but shouldn't the FTDI be accessable now? I loaded the bootloader so it should work right? WHat settings for the borad should I use?

    -Bill
  • I know this is intended for planes, but this platform actually seems perfect for ground based vehicles as well. It could be simply built without the CPD4, and coded differently.
This reply was deleted.