Two Nanos and Program  

  RSS

frankmac4
(@frankmac4)
New Member
Joined: 4 months ago
Posts: 1
2019-06-23 11:21 am  

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!


Quote
Topic Tags
RogerL
(@rogerl)
Active Member
Joined: 4 months ago
Posts: 17
2019-06-24 11:07 am  

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. 


ReplyQuote
twobits
(@twobits)
Estimable Member
Joined: 4 months ago
Posts: 146
2019-06-24 11:36 am  

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.


Duce robot and hstaam liked
ReplyQuote
Bif99
(@bif99)
Active Member
Joined: 2 months ago
Posts: 14
2019-10-01 6:17 pm  

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.

Bif99


ReplyQuote
Duce robot
(@duce-robot)
Reputable Member
Joined: 3 months ago
Posts: 257
2019-10-02 1:54 am  

@bif99

Some of it might be on github but I'm not sure if its up yet or not .👍🌞😁 you can also go in to the cytron library and adjust the pwm dir dual example and make some of your own test code .

This post was modified 2 weeks ago by Duce robot

ReplyQuote
Duce robot
(@duce-robot)
Reputable Member
Joined: 3 months ago
Posts: 257
2019-10-02 2:00 am  

@bif99

I did some test code with it and its pretty workable once you get in to it

This post was modified 2 weeks ago by Duce robot

ReplyQuote
Bif99
(@bif99)
Active Member
Joined: 2 months ago
Posts: 14
2019-10-02 3:47 am  

@duce-robot

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.


ReplyQuote
Duce robot
(@duce-robot)
Reputable Member
Joined: 3 months ago
Posts: 257
2019-10-02 4:50 am  

You might need to head over to ai  for that likely to get some better answers there👍😁 and a little robot psychiatry lol😁👍


ReplyQuote
Bif99
(@bif99)
Active Member
Joined: 2 months ago
Posts: 14
2019-10-02 2:52 pm  

@duce-robot

Don't understand your last message.


ReplyQuote
Duce robot
(@duce-robot)
Reputable Member
Joined: 3 months ago
Posts: 257
2019-10-02 3:23 pm  

@bif99

Artificial intelligence thread robo pi  probably knows a little more about code than I do scroll down the page to ai  

 

This post was modified 2 weeks ago by Duce robot

ReplyQuote
Duce robot
(@duce-robot)
Reputable Member
Joined: 3 months ago
Posts: 257
2019-10-02 3:31 pm  

@bif99

Also check out Jeremy Blum's arduino tutorial 1 through 15 you will pick up a lot of what you are looking for


ReplyQuote
Bif99
(@bif99)
Active Member
Joined: 2 months ago
Posts: 14
2019-10-02 4:03 pm  

@duce-robot

Thanks.  I found 15 tutorials on YouTube.  Looks like I'm going to be busy today.


ReplyQuote

Please Login or Register