# ArdIU - Open source flight computer w/ ATMega328

### Help Support The Rocketry Forum:

#### LithosphereRocketry

##### Pining for the Fjords
Oh yeah, and silkscreen is done...

#### LithosphereRocketry

##### Pining for the Fjords
Parts and boards for the first three are on the way! I'll order the next set of three once I know these work and are reasonable to build.

@Tobor, @jahall4, @bandman444- are you still interested? I'll only have two to give out in this batch but as soon as I can verify the design I'll order more.

@everyone else- there are still two unclaimed boards in the second batch...

#### bandman444

##### Well-Known Member
Parts and boards for the first three are on the way! I'll order the next set of three once I know these work and are reasonable to build.

@Tobor, @jahall4, @bandman444- are you still interested? I'll only have two to give out in this batch but as soon as I can verify the design I'll order more.
Yep!

#### cwbullet

##### Obsessed with Rocketry
Staff member
Administrator
TRF Lifetime Supporter
Global Mod
Subscribed. Great job on this project.

#### LithosphereRocketry

##### Pining for the Fjords
The second iteration of boards are here! I only printed one set of 3 because it'll be a while before they;ll be ready to sell anyway, even in beta form...

Size comparison:

If you're anything like me, those pads for the SD holder look reeaaaalllly small. While you're completely right, they're definitely doable. This was my technique- not necessarily ideal, but it worked pretty darn well.

First, tape the card holder in place with a scrap of low-residue tape like painters' tape:

Then melt some solder onto the two front structural pads to tack the part in place:

Then remove the tape and solder the back pads (this is a bit harder but not too bad):

Then the rest of the front pads. With these, I always ended up with too much solder on one pad, and it would bridge over to the next. Luckily the finish and solder resist on these boards is pretty nice, so with a bit of melting they nicely separate out:

Somewhere between the chair and the warehouse my parts order got screwed up, so I couldn't do all of the passives, but I did the ones I had, as well as the regulator:

Good to know for future iterations- the 220 ohm resistors on the left are at exactly the right spacing to fit tweezers in between them. IIRC they're 100 mil apart, center to center.

You may notice a few letters and numbers scattered around the board. Those are the Arduino pinouts for the various components for the enterprising programmer- if you don't like my code for some reason, you can write your own.

#### Tobor

##### Get your peanuts....
TRF Supporter
...@Tobor, @jahall4, @bandman444- are you still interested? I'll only have two to give out in this batch but as soon as I can verify the design I'll order more.
Oh man sorry, I haven't been paying attention to this thread. So like yeah, I'm still interested.

#### slothead

##### Slothead Tom
Pardon me while my head explodes... Great thread! I’ve learned too much, and still haven’t absorbed it all.

Tom

#### LithosphereRocketry

##### Pining for the Fjords
Hi again all!

It's been a while- I've been busy with other commitments, and computer issues have left me scrambling to recover some of my work. But anyway, I'm still working on this project. I've had a few good test flights since I last updated you all, including one to 3000+ feet, so I'm feeling pretty confident that ArdIU is close to beta-testing ready.

@Tobor, @jahall4, @bandman444 - sorry to ping you again, but I just want to double check whether you're still interested in beta testing.

On that subject, I'm getting close to ready to ship beta kits. The cost for a kit will most likely be around $30 plus shipping and require assembly of a similar difficulty to an Eggtimer kit- the one caveat being I'm not likely to be able to include nearly as professional instructions. If you absolutely don't want to assemble anything I would consider building it for you- however, I would charge an additional fee and there would be no guarantee of turnaround time, as I would need to find a solid block of of time to sit down and assemble it. I'll send out a more comprehensive update once I have a bit more time, but if you have any questions feel free to ask here or via email! #### bandman444 ##### Well-Known Member Hi again all! It's been a while- I've been busy with other commitments, and computer issues have left me scrambling to recover some of my work. But anyway, I'm still working on this project. I've had a few good test flights since I last updated you all, including one to 3000+ feet, so I'm feeling pretty confident that ArdIU is close to beta-testing ready. @Tobor, @jahall4, @bandman444 - sorry to ping you again, but I just want to double check whether you're still interested in beta testing. On that subject, I'm getting close to ready to ship beta kits. The cost for a kit will most likely be around$30 plus shipping and require assembly of a similar difficulty to an Eggtimer kit- the one caveat being I'm not likely to be able to include nearly as professional instructions. If you absolutely don't want to assemble anything I would consider building it for you- however, I would charge an additional fee and there would be no guarantee of turnaround time, as I would need to find a solid block of of time to sit down and assemble it.

I'll send out a more comprehensive update once I have a bit more time, but if you have any questions feel free to ask here or via email!
I would be happy to help.

#### Sooner Boomer

##### Well-Known Member
As long as the kits are in that aprox. price range,, I'm interested. I could probably do assembly for someone wanting a kit but lacking the skills (let me get mine put together first before I commit!).

#### anbhtblr

##### Rich@bna
TRF Supporter
Hi again all!

It's been a while- I've been busy with other commitments, and computer issues have left me scrambling to recover some of my work. But anyway, I'm still working on this project. I've had a few good test flights since I last updated you all, including one to 3000+ feet, so I'm feeling pretty confident that ArdIU is close to beta-testing ready.

@Tobor, @jahall4, @bandman444 - sorry to ping you again, but I just want to double check whether you're still interested in beta testing.

On that subject, I'm getting close to ready to ship beta kits. The cost for a kit will most likely be around $30 plus shipping and require assembly of a similar difficulty to an Eggtimer kit- the one caveat being I'm not likely to be able to include nearly as professional instructions. If you absolutely don't want to assemble anything I would consider building it for you- however, I would charge an additional fee and there would be no guarantee of turnaround time, as I would need to find a solid block of of time to sit down and assemble it. I'll send out a more comprehensive update once I have a bit more time, but if you have any questions feel free to ask here or via email! Once the kits are ready I would love to try one, alpha, beta, or prod. #### curtisheisey ##### Well-Known Member TRF Supporter Hi again all! On that subject, I'm getting close to ready to ship beta kits. The cost for a kit will most likely be around$30 plus shipping and require assembly of a similar difficulty to an Eggtimer kit- the one caveat being I'm not likely to be able to include nearly as professional instructions. If you absolutely don't want to assemble anything I would consider building it for you- however, I would charge an additional fee and there would be no guarantee of turnaround time, as I would need to find a solid block of of time to sit down and assemble it.

I'll send out a more comprehensive update once I have a bit more time, but if you have any questions feel free to ask here or via email!
HI, I would love to help out with beta testing. Several of us where I work are working up an internal "build it" course. We are making the course around rocketry and plan to incorporate a "control" unit based on roll control. I would really like to beta test your flight computer. Thanks, Curtis

#### Tobor

##### Get your peanuts....
TRF Supporter
Hi again all!

It's been a while- I've been busy with other commitments, and computer issues have left me scrambling to recover some of my work. But anyway, I'm still working on this project. I've had a few good test flights since I last updated you all, including one to 3000+ feet, so I'm feeling pretty confident that ArdIU is close to beta-testing ready.

@Tobor, @jahall4, @bandman444 - sorry to ping you again, but I just want to double check whether you're still interested in beta testing.

On that subject, I'm getting close to ready to ship beta kits. The cost for a kit will most likely be around \$30 plus shipping and require assembly of a similar difficulty to an Eggtimer kit- the one caveat being I'm not likely to be able to include nearly as professional instructions. If you absolutely don't want to assemble anything I would consider building it for you- however, I would charge an additional fee and there would be no guarantee of turnaround time, as I would need to find a solid block of of time to sit down and assemble it.

I'll send out a more comprehensive update once I have a bit more time, but if you have any questions feel free to ask here or via email!
Yeppers, you still have my interest.

#### LithosphereRocketry

##### Pining for the Fjords
Glad to hear there's interest! @curtisheisey, @anbhtblr, @sooner.boomer, you have been added to the list.

Curtis, the ArdIU does support roll/attitude tracking in theory, but I've been getting some wonky numbers on my test flights- I probably just need to calibrate it, but I'd like to make sure before I say it's officially supported. Would you be writing your own firmware or using some configuration of mine? If you're looking to develop your own, I'm happy to give you the hardware specs so you can start prototyping if you have the parts lying around.

On the subject of firmware, when I get the chance I'll set up a Github repository for this project- the firmware is essentially an Arduino library, so programming the altimeter is done by literally writing a C++ script. However, I'll be happy to publish some basic tweakable configurations for common usage- e.g. logging only, standard dual deploy, etc.

On availability time- I'm going to need to order more PCBs to be able to get all the beta kits together, so it will be a few weeks at least before I'm ready to ship.

How vital are step-by-step assembly instructions to everyone? I can certainly do it but I would need to find some time once PCBs are here to do a fully documented build.

#### anbhtblr

##### Rich@bna
TRF Supporter
Glad to hear there's interest! @curtisheisey, @anbhtblr, @sooner.boomer, you have been added to the list.

Curtis, the ArdIU does support roll/attitude tracking in theory, but I've been getting some wonky numbers on my test flights- I probably just need to calibrate it, but I'd like to make sure before I say it's officially supported. Would you be writing your own firmware or using some configuration of mine? If you're looking to develop your own, I'm happy to give you the hardware specs so you can start prototyping if you have the parts lying around.

On the subject of firmware, when I get the chance I'll set up a Github repository for this project- the firmware is essentially an Arduino library, so programming the altimeter is done by literally writing a C++ script. However, I'll be happy to publish some basic tweakable configurations for common usage- e.g. logging only, standard dual deploy, etc.

On availability time- I'm going to need to order more PCBs to be able to get all the beta kits together, so it will be a few weeks at least before I'm ready to ship.

How vital are step-by-step assembly instructions to everyone? I can certainly do it but I would need to find some time once PCBs are here to do a fully documented build.
C++ is fine. As far as instructions, I think a bullet list of high level steps will be sufficient. If there are difficult to differentiate parts some guidance/hints will be appreciated.

#### curtisheisey

##### Well-Known Member
TRF Supporter
I would probably start with your code as a baseline (for the roll control).

Thanks

#### LithosphereRocketry

##### Pining for the Fjords
Hi all!

It's been a good bit since I updated this project. Progress since the last update:
- Bug squashing. Lots and lots of bug squashing. I switched to a different pressure sensor implementation due to errors in the old library resulting in random readings of thousands of meters underground, and many bugs resulted, but the end result is much better code.
- Speaking of better code, apparently pulling all the available data from the accelerometer was causing massive slowdowns in my code - up to 200ms per read (!). The current code just pulls the latest datapoint and flushes the rest, which got me up to a nice stable 20-30 reads per second.
- I've also been working on a Windows/Linux/Android app to view graphs from the altimeter and convert the .aiu binaries to formatted CSVs. It's working reasonably well, although it would benefit from some end-of-flight detection, as it tends to log a lot of zeroes compared to the actual data as it's sitting on the ground.

I'll add some more updates as I think of things, but that's all for now I think. Also, a successful flight to around 6000 feet earlier this fall (although my avbay pressure dynamics were a little weird, so the data is a bit funky)