Notifications
Clear all

[Sticky] Components & Programming

146 Posts
20 Users
11 Reactions
33 K Views
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1111
Topic starter  

Welcome to the Components & Programming section.  In this section you can post about topics such as:

  • Arduino hardware and sketches - if you're having difficulty with an Arduino-based design or understanding how to program please post your questions here.
  • Raspberry Pi related inquiries - same as with the Arduino, your questions and comments are welcome here.
  • Other microcontrollers and microcomputers - we aren't just focused on the Arduino and Raspberry Pi! Post any comments or questions about your device here.
  • Understanding electronics - if you're having problems understanding any aspect of electronics ask your questions here.
  • Sensors and Displays - Anything you can connect to your microcontroller or microcomputer qualifies, so if you have any problems using I/O devices let us know.

In short, this is a pretty general section and if in doubt it's probably where you want to post. There are, however, a few exceptions:

  • If you are building a project and are having problems or would like to show it off there is a section for that.
  • There is also a separate forum for robotics-related questions and projects.

Thanks!

Bill

 

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
Quote
(@chris)
Member
Joined: 5 years ago
Posts: 2
 

hi im new at this was doing the rtc temp humid project which prints to serial monitor was wondering how do i modify the sketch to print to lcd display i have a 16x2 display on i2c bus to arduino uno my temp humid sensor is an AM2320 and my rtc is DS1307 tiny rtc thanks all


   
ReplyQuote
triform
(@triform)
Member
Joined: 5 years ago
Posts: 324
 

@chris

Hi Chris,

Have a look at the LiquidCrystal library included with the Arduino IDE. Bill has a tutorial here on it:

Scott

 


   
Duce robot reacted
ReplyQuote
(@chris)
Member
Joined: 5 years ago
Posts: 2
 

@triform

thx triform get on to it now


   
ReplyQuote
(@pugwash)
Sorcerers' Apprentice
Joined: 5 years ago
Posts: 923
 

@chris

The first thing you need to do is put this in its own topic. This is just a welcome splash sheet!


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 

Back here again is the code for the motor controller on github yet I need the for loop


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 

Here is SD card with record and play back sketches left record right playback the arm on duce robot has 4 servos fine but I want 2 for the claw working in unison so I just use the same pin out ? I hope so.


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 
15667895256111984596814

   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 

This just arrived let's see what this thing can do I think it will work well for navigation what are your thoughts on this ?

15678846269671410170440

 


   
ReplyQuote
Robo Pi
(@robo-pi)
Robotics Engineer
Joined: 5 years ago
Posts: 1669
 

@duce-robot

I'm hoping to pick one of those TFMINIs up myself along with a Jetson Nano.   Still waiting to sort through the financial situations first. ? 

But yeah, from what I've heard that TFMINI should be really accurate for navigation.

DroneBot Workshop Robotics Engineer
James


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 

@robo-pi

Yes me to I just took the plunge any way the Jetson probably maybe will be last this is plenty with trying to hook up the digram you illustrated and ros read into that which left me looking up at the surface of the water 200 feet above me lol the node MCU 8266 love it just got it set up .what an example library!!! I hope bill doesn't take off and leave me in the dust ....to fast anyway this is why I went with infrastructure first  I knew this would be the hardest part I have learned here that it is all in the system the same system runs a micro robot as a giant robot one last thing can I use 1 k  2 k  or 5 k pots for a servo SG 90 its all I have left .? 


   
ReplyQuote
Robo Pi
(@robo-pi)
Robotics Engineer
Joined: 5 years ago
Posts: 1669
 
Posted by: @duce-robot

I hope bill doesn't take off and leave me in the dust ....

Me too.  I like to try to take full advantage of the low-end stuff.  Like a TFMINI instead of the full-blown 360 degree model that costs 3x more.  I don't plan on having a robot  the moves so fast that it needs to know everything that's going on 360 degrees around it instantly.

You're in the same boat with me as you don't plan on having Duce run around the house at warp speed.  So that TFMINI should  be more than sufficient to provide you with all the navigation data you'll ever need.

I do have some far-range plans for my robot to eventually go outside on a base that will be powered by a lawn mower engine.  When I get to that point I might consider the 360 degree LIDAR.  But that's a long way off.  I don't even have my robot roaming around the house yet at normal speeds.

In fact, I'm waiting for Bill to put out the next DB1 series video and I've been praying to the Robotics Goddess that he'll be covering the motor control circuits in more detail since that's where he left off before the Jazz Festival.

Bill's probably hanging around with a bunch of Jazz women and that's why we haven't see a lot of him lately. ? 

DroneBot Workshop Robotics Engineer
James


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 

@robo-pi

I do have a video I just posted on YouTube with duce moving with interrupts and 5 volt relay but not far since I only have 4 feet clearance on any side I do have some ideas about that cytron motor code it seems very easy to write to.... We be liken that ! The robot with the Briggs Stratton is going to be a beast . sounds like a big project  . it would be cool patrolling the perimeter.


   
ReplyQuote
Duce robot
(@duce-robot)
Member
Joined: 5 years ago
Posts: 689
 

A shot of the tf mini on its servo

15679049062801437412101

 


   
ReplyQuote
Robo Pi
(@robo-pi)
Robotics Engineer
Joined: 5 years ago
Posts: 1669
 
Posted by: @duce-robot

The robot with the Briggs Stratton is going to be a beast . sounds like a big project

I'm planning on converting it to propane just so I won't need to mess with liquid gasoline.  Like I say, that project is far off in the future.  At the very earliest I might get it up and running by next summer.  I am working on the chassis right now, but it has a long way to go, and it's not the only project I'm working on.

Posted by: @duce-robot

A shot of the tf mini on its servo

Look'in good.   That what I plan on doing with a TFMINI too.  I'll just use it to take several readings in slightly different positions and see if I can map out a course forward from that.   But I don't even have one yet.  I was going to wait until I get the Jetson Nano, but I suppose I could use the TFMINI with a Raspberry Pi, or even an Arduino for that matter.

Those are the kinds of videos I'd like to see from Bill.  Ideas for how to employ really accurate sensors using simple    SBCs or microcontrollors.   We already know we can run it out of the box on a Jetson Nano.   But can we take advantage of a TFMINI using an Arduino?  Or with a simply Python program on a Raspberry Pi?

That's what I want to know.

What are you going to be using  your TFMINI with?  I'm guessing you'll use your Panda?   Did the TFMINI come with software?

See, I really don't know much about it at all.   I'll need to get one and start playing around with it.

DroneBot Workshop Robotics Engineer
James


   
ReplyQuote
Page 1 / 10