|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
www.machinescience.org has a great set of tools for PIC programming based on the PIC 16F877. I think you can still get free FIRST accounts for their web-based IDE. They've streamlined a lot of the programming by having a bootloader and serial programmer, similar to how the FRC controller works, but the microcontroller is fully-functional and you write code for it just like you would in any other development environment.
What are you using to drive the DC motors? Edit: http://www.machinescience.org/firstoffer.html Last edited by ZZII 527 : 17-06-2007 at 16:32. |
|
#2
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
I believe the 16f84 and 16f877 are the 2 good begginer PICs. But why a PIC? Why not an AVR? or a BASIC Stamp?
I know from expirience it is much much easier to start with an AVR. it is the same thing as a PIC but made by atmel and not microchip. You can go get a programmer for 50 - 80$ if you want the best cheap board. if you wanna go cheap you can easily go to 20$ for the programmer. the compilers are free, ad there is even a huge underground world for AVRs.......www.avrfreaks.net -John |
|
#3
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
hi, thanks a lot for your replies.
(sorry it took me so long to respond).. so, I got my hand on a cheap Microchip PICKIT2. + a bunch of 16f690s. played a lot with it, and currently learning the basics of PWM signals. ZZII, I had no idea that there are offers like this, what does this offer actually provide? forwarded it to me "superiors" John, thank you, looks cool, but too late for me. thanks a lot!! Ran. Last edited by 3dude_2231 : 04-07-2007 at 19:13. |
|
#4
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
i'm working on avrs (specifically the 169, as found in the butterfly) for my summer project. butterfly is a nice $22 board with a screen, speaker, etc., plus open-source starter code for all of the built-in functions. you don't need an expensive programmer, just solder up a three-pin connector to serial (i can send you in the right direction if you decide to go this route). AVRs are more powerful and built for C, while PICs are generally built for Assembly, which is a pain and not really relevant to FIRST at all (I hope).
Hope this helps! |
|
#5
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
|
|
#6
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
I would recommend an Arduino, It is a little board with an ATmega8 or 168 and a built in programmer, so you get it and its ready to work. There are USB and serial versions. All of the code open source and you program it in C. It supports everything you need it to do.
|
|
#7
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
yeah, i know that feeling. BUT if you have some pins lying around and you know how to use a soldering iron, it isn't really THAT bad.
|
|
#8
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Yeah but it's so much more useful because of the number of different ways you can program the Atmegas. Also, you might accidentally program the fuses in the chip in ways that you can only fix by using a commercial programmer.
Last edited by Adam Y. : 07-07-2007 at 12:16. |
|
#9
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
http://smileymicros.com/ The arduino is nice. It is basically the BASIC Stamp of the AVR world. I looks like you can only program it using the "arduino language" which to me is not good. It is better to learn how to do it right the first time. I also can't find a price for it. The stk and dragon are nice, but they are nor rally made to be put onto a robot. They are good to use as a ISP programmer if you have a seperate board with ISP headers, or if you have a chip that needs to be flashed then put into a socket somewhere. But I have found that with my STK since it has no holes and no other good way to mount it anwhere that I use it strictly for a dev. board. -John |
|
#10
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
Quote:
Quote:
Last edited by Adam Y. : 08-07-2007 at 12:19. |
|
#11
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
I didn't know about the JTAG because I have never used it. From the stuff I hear about it I should start using it to at least debug programs. From my understanding you can run the program on the uC step by step from the computer? -John |
|
#12
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
Quote:
|
|
#13
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
-John |
|
#14
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
The Arduino is has a bootloader that emulates an STK500, and a standard 6 pin ISP header. The "Arduino Language" is just some functions that they include to make it easier to program, you can add in standard avr code, or not use the arduino stuff at all. I like the arduino because it is pretty good for prototyping things, I recently purchased a STK500 and dragonfly bundle from digikey and i still use the arduino more.
|
|
#15
|
||||
|
||||
|
Re: Private bot - which PIC microcontroller?
Quote:
Quote:
Last edited by Adam Y. : 08-07-2007 at 19:33. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: Team 241: This Years Bot Lifting Last Years Bot | Dantvman27 | Robot Showcase | 3 | 21-02-2007 07:04 |
| Embedded Microcontroller major? | John Gutmann | Career | 5 | 27-07-2006 23:49 |
| Propeller Microcontroller | Adam Y. | Electrical | 4 | 20-04-2006 13:27 |
| 217 Vs. 229 - Which Bot is Prettier? | Swan217 | General Forum | 73 | 02-12-2005 13:30 |
| microcontroller selection¿ | Rickertsen2 | Programming | 11 | 25-05-2003 10:52 |