Go to Post Forum Anonymity = Rampant Exaggeration, if not outright Blatant Lying. - dsm [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-08-2006, 17:10
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Self-Made Robot Controller?

I've been looking since the end of the 2006 season for information on how to build and program my own robot controller. It seems that every website that tries to do this ignores the beginner and speaks to like-minded college students. All I know right now is how to plug in and put my image on the IFI-black-box-enclosed pic.

Does anyone know where to get good information on programming a pic18f8722 OUTSIDE of the official FRC Robot Controller? Maybe the 68HC11 even? I'm not afraid of buying parts, other chips, making my own circuit boards, etc.

Thanks.
__________________
What place are we at? ... TODAI!
  #2   Spotlight this post!  
Unread 13-08-2006, 17:21
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Self-Made Robot Controller?

Quote:
Originally Posted by JohnC
I've been looking since the end of the 2006 season for information on how to build and program my own robot controller. It seems that every website that tries to do this ignores the beginner and speaks to like-minded college students. All I know right now is how to plug in and put my image on the IFI-black-box-enclosed pic.

Does anyone know where to get good information on programming a pic18f8722 OUTSIDE of the official FRC Robot Controller? Maybe the 68HC11 even? I'm not afraid of buying parts, other chips, making my own circuit boards, etc.

Thanks.
I recommend 8-bit controllers like Atmel AVRs, check out the STK500 starter kits, they come with everything you need to program the chip. Also look in to avr-gcc and WinAVR, it's a free compiler suite for the AVRs based on GNU GCC compiler. And avrdude is good software for flashing the chip, if you don't have a serial port I can report high success with a Keyspan USA-19HS USB<->Serial adapter.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #3   Spotlight this post!  
Unread 13-08-2006, 22:10
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Self-Made Robot Controller?

how much do you know about electronics and circuits?
__________________
1139 Alumni
  #4   Spotlight this post!  
Unread 13-08-2006, 23:11
FIRST JerseyKid's Avatar
FIRST JerseyKid FIRST JerseyKid is offline
Alumni
AKA: Erik Cokeley
FRC #0025 (Team Mercury)
Team Role: Alumni
 
Join Date: Oct 2002
Rookie Year: 1996
Location: Hightstown New Jersey
Posts: 52
FIRST JerseyKid is on a distinguished road
Send a message via AIM to FIRST JerseyKid Send a message via Yahoo to FIRST JerseyKid
Re: Self-Made Robot Controller?

What do you want the controller to be used for? Unless you want to overkill the controller, like the FRC one, you need to plan out the controller around the problem.
__________________
Team 1089 alumni coach.
  #5   Spotlight this post!  
Unread 14-08-2006, 17:55
Ken Leedle Ken Leedle is offline
College Student
FRC #0706 (CyberHawks)
Team Role: Alumni
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Wisconsin
Posts: 37
Ken Leedle will become famous soon enoughKen Leedle will become famous soon enough
Re: Self-Made Robot Controller?

If you want to program your own microcontrollers, you either need a programmer or a starter/prototyping board. If you want to program many different microcontrollers and make your own circuit boards, you should get a programmer. It would probably be easier to start out with a starter kit though. I got a PICSTART PLUS programmer as a a sophomore and taught myself assembly language from a book. The PICSTART PLUS has a zero insertion force DIP socket and can program most of the Microchip PICs. You just stick your PIC in the socket, program it in MPLAB, and put the chip in your breadboard or circuit. If you want to program in C, you need to get a compiler (obviously). You can start out with the student/demo verson of the C18 compiler for 60 days. I would definitely start with C, just get a book from amazon on programming PICs in C and you should have all the info you need. I have built control systems for two robots. My first one was an autonomous vehicle that was controlled by two 18F458s. My current one is a 5 axis robotic arm on a mobile base controlled by two 18F8720s. I have built all the circuit boards myself on both robots. You might just want to buy a vex controller, especially if you want to make a remote control robot.
  #6   Spotlight this post!  
Unread 14-08-2006, 20:26
gburlison gburlison is offline
Mentor
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Sep 2002
Rookie Year: 2000
Location: Colorado Springs, CO
Posts: 245
gburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to all
Re: Self-Made Robot Controller?

You might try something a little simpler.

http://www.sparkfun.com/commerce/cat....php?cPath=2_9
__________________
Gordon Burlison - Mentor
662/Rocky Mountain Robotics
"Every silver lining's got a Touch of grey - Robert Hunter"
"No sense in being pessimistic, it wouldn't work anyway"
  #7   Spotlight this post!  
Unread 15-08-2006, 20:14
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Self-Made Robot Controller?

Quote:
Originally Posted by Matt Krass
I recommend 8-bit controllers like Atmel AVRs, check out the STK500 starter kits, they come with everything you need to program the chip. Also look in to avr-gcc and WinAVR, it's a free compiler suite for the AVRs based on GNU GCC compiler. And avrdude is good software for flashing the chip, if you don't have a serial port I can report high success with a Keyspan USA-19HS USB<->Serial adapter.

Start with a HPC Explorer It has the voltage regulator, serial connector, ICD connector, all hooked up and ready to use. Has wire-wrap ready pins too, along with PTHs for every pin on the micro. its easy to solder in an IDE connector and use and IDE cable to connect your project to the micro.

Microchip microprocessors are very rock solid, so much that they can drive LEDs straight out of the pins, unlike a motorola or atmel.

The 18F8722 on the HPC explorer runs at 40MHz, 10mips. Same as used in the FRC controller.

PM me if any ?'s.

-Q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #8   Spotlight this post!  
Unread 15-08-2006, 21:08
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Self-Made Robot Controller?

Microchip is a great uC to start with. They have an in-circuit programmer that looks like a red and white hockey puck. If you use that you can get surface mount PIC processors as small as 6 pin SOT-6 packages, and you program them while they are attached (soldered) in the circuit

this would really open up options for you - you could start with tiny robots with micro servos, or tiny control boards that you could fit into anything.

Once you build a micro-bot with 2 input and output channels, you will have a better understanding of the overall picture, and will know what you want to do for your next (bigger) project.

http://www.microchip.com/stellent/id...&part=DV164005

Last edited by KenWittlief : 15-08-2006 at 21:11.
  #9   Spotlight this post!  
Unread 16-08-2006, 02:25
FIRST JerseyKid's Avatar
FIRST JerseyKid FIRST JerseyKid is offline
Alumni
AKA: Erik Cokeley
FRC #0025 (Team Mercury)
Team Role: Alumni
 
Join Date: Oct 2002
Rookie Year: 1996
Location: Hightstown New Jersey
Posts: 52
FIRST JerseyKid is on a distinguished road
Send a message via AIM to FIRST JerseyKid Send a message via Yahoo to FIRST JerseyKid
Re: Self-Made Robot Controller?

Quote:
Originally Posted by KenWittlief
Microchip is a great uC to start with. They have an in-circuit programmer that looks like a red and white hockey puck. If you use that you can get surface mount PIC processors as small as 6 pin SOT-6 packages, and you program them while they are attached (soldered) in the circuit

this would really open up options for you - you could start with tiny robots with micro servos, or tiny control boards that you could fit into anything.

Once you build a micro-bot with 2 input and output channels, you will have a better understanding of the overall picture, and will know what you want to do for your next (bigger) project.

http://www.microchip.com/stellent/id...&part=DV164005

I've used the hockey puck alot its really good with a pic programmer.

If your doing pic microcontrollers you should think of what the 'controller' needs to do.

Are you having it be reprogrammable? Youd need a build in programmer, you can find specs online.
How many digital and analog signals do you want?
Theres a lot of parameters that you need to figure out and ussually you do it by looking at the problem at hand.
__________________
Team 1089 alumni coach.
  #10   Spotlight this post!  
Unread 16-08-2006, 21:06
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Self-Made Robot Controller?

Materials:
Serial Plug(Radio Shack)
Wire(different colors will help)
4.7Ohm Resistors(3)(Radio Shack)
Breadboard(Radio Shack)
10MHz Ceramic Resonator(internet)
Led(to play with)(Radio Shack)
220 Ohm between the Pic's pin and the led(protection)(Radio Shack)
Any PIC that the softwares support(Microchip.com)
5 Volt power supply or a voltage regulator(Radio Shack)

Very Cheap ICSP...

Serial Port to PIC

TXD (Pin 3) -----[4.7K]------ MCLR

GND (Pin 5) ----------------- Vss(ground)

DTR (Pin 4 ) -----[4.7K]------ RB 7 (PGD)

CTS (Pin 8) --------------- RB 7

RTS (Pin 7) -----[4.7K]------ RB 6 (PGC)

Use this software http://www.ic-prog.net/
or this http://www.qsl.net/dl4yhf/winpicpr.html

MPLab IDE with C18 to program with...

Programed my 18F458 with this...

or as gburlison said sparkfun.com
One of these http://www.sparkfun.com/commerce/cat....php?cPath=2_9
and this http://www.sparkfun.com/commerce/pro...?products_id=9
and a 18 series PIC

Last edited by 6600gt : 16-08-2006 at 21:22.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Self-Balancing 2 Wheeled Robot Mike Robotics Education and Curriculum 25 02-08-2005 15:12
mini made robot communication John Gutmann Electrical 1 19-07-2005 23:16
Self Balancing Robot in FIRST (plausible? possible? preferable?) phrontist General Forum 11 28-06-2004 10:55
Need to import robot made in inventor into 3dsmax, HELP! anish 3D Animation and Competition 1 03-03-2002 13:53


All times are GMT -5. The time now is 23:04.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi