Two Nanos and Program
I am following along with each episode and somewhat confused about replacing these two nanos which control both motors. If I am correct of what I am hearing, is there going to be a problem if I still use the two nanos? I am a new "learner" at programming and also have to watch at what I spend to what I replace. Thanks for this forum!
I understand that Bill is planning to produce a custom board using the 328P chip, but providing you use the same pinout on your Nano setup then the software should still work OK. However, even if it doesn't, I expect any changes will be minor and there will be other people on the forum who can help you out. At the moment I am planning to use a coupe of Chinese Pro Mini clones on my controller and am not expecting any issues.
If you haven't made the perf-board setups that the Nanos sit on yet you should hold off until Bill has finalised his new design as it sounds like we may need to incorporate some EEPROMs or similar to store the configuration data.
I think there will be a few of us working to tighter budgets than Bill is, so hopefully there should be plenty of support around for this type of variation on the forum.
These are interesting engineering decisions to think about. It is a valuable to watch bill rethink his original design.
The trade-offs here (everything in engineering is a trade off) are modular vs monolithic and custom vs COTS (Commodity off the shelf).
There is a good article the pros and cons of both modular vs monolithic software design here. The same principles also apply to hardware.
Custom vs COTS. Every engineer struggles with this one. Custom designs usually provide better performance but the are generally more expensive due to upfront design costs.
The good news is that the DroneBot software will soon be moving to github. This will make it easy to share code across both variations.
In a perfect community, Bill will head down the path which he find most interesting and effective for his needs. Others might head in another direction and maintain a public 'fork' of Bills work. In six months or a years, when it is time to start on DB2, we can all learn from what worked and what didn't work in the variations of DB1.
OK guys, I'm a little late to the party but spent the summer catching up. I'm ready to test the motor control board (yes, its the original design with two nanos) but can't find the test code. I found code from the video Bill did on controlling large gear motors using PWM but I'm looking for the code used to control the DB-1 motors in episode 11. Any guidance on where to look will be greatly appreciated.
Thanks for the info. I didn't find anything from on github about DB-1 but did find a Cytron library with the sketch you referred to. I am new to writing sketches so I may need some guidance in that regard.
Also check out Jeremy Blum's arduino tutorial 1 through 15 you will pick up a lot of what you are looking for
Thanks. I found 15 tutorials on YouTube. Looks like I'm going to be busy today.