From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Student Projects

cancel
Showing results for 
Search instead for 
Did you mean: 

myDAQ in the Box Robot

Purpose

                The myDAQ in the Box Robot is intended to allow a remote operator to control a mobile robotic base from anywhere within the same LAN as the robot and within WiFi range. Cost was the chief concern when designing this robot, and the bill of materials weighs in at just under $20 sans the obligatory NI myDAQ device.

Equipment:

  • 1x NI myDAQ                                                    
  • 1x L293 H-Bridge                                                              
  • 1x uF Capacitor                                                               
  • 2x 4AA Battery Pack                                                       
  • Wire                                                                                     
  • Box                                                                                      
  • 1/2x Soda Can                                                                 
  • 2x LEGO Technic Wheels                                     
  • 1x Tamiya Dual Motor Gearbox    

  Cost: ~$20

Set up Hardware:

  1. Assemble motor and gearbox as per provided instructions.
  2. Mount wheels using superglue to the gearbox shafts.
  3. Cut openings in box so that wheels can spin freely.
  4. Bifurcate a soda can (flavor of your choosing) and mount to the bottom of box. This will act as a skid to aid mobility.
  5. Mount gearbox to the same side of the box as the soda can such that the wheels sit unobstructed in the openings cut in step 3.
  6. Solder the H-Bridge circuitry as outlined in the included diagram.
  7. Attach wires to myDAQ DIO lines 0-3.
  8. Spy!

hardware schematic.png

Figure 1: H-Bridge Wiring

Software Instructions:

  1. Open myDAQ_Robot.vi
  2. Select Tools>Web Publishing Tool
  3. Select checkbox to enable Remote Control
  4. Accept all defaults
  5. Plug in myDAQ to local machine
  6. Share URL with friends, family, and co-workers.
  7. Hit the run arrow from the remote window to take control of the myDAQ in the Box Robot!
  8. W = Forward, S = Backward, A = Left, D = Right

* If your installed LabVIEW contains NI Vision, ensure you can see camera output. If not, adjust your browser’s security settings.

http://08milluz.files.wordpress.com/2011/07/front-panel.png

Figure 2: VI Front Panel

http://08milluz.files.wordpress.com/2011/07/block-diagram.png

Figure 3: VI Block Diagram

Check out what we did with our robot!

Andy Milluzzi

Rose-Hulman Institute of Technology
University of Florida
Computer and Software Engineering
Download All
Contributors