Go to Post It's like the people from Pimp my Pit came and had it professionally done. - [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 14-03-2004, 10:03
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Stamp or PIC?

I'm looking to invest some cash in microcontrollers, both for personal projects and for my team, and I'm trying to decide between PICs or Stamps. At the moment I think it would be best to simply make a PIC programmer. Anyone out there partial to Stamps? Why?
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #2   Spotlight this post!  
Unread 14-03-2004, 11:12
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Stamp or PIC?

I prefer using PICs. For the price of one Basic Stamp, you could get quite a few PIC 16F877 microcontrollers, which are far more powerful and flexible than Stamps. PBASIC is a very simple programming language; it's very easy for straightforward tasks, but it's frustrating when used for more complex stuff. Free C and BASIC cross-compilers are available for PIC microcontrollers, so there's really no reason to spend the extra money on a Stamp just to avoid programming in assembler.
  #3   Spotlight this post!  
Unread 14-03-2004, 11:35
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Re: Stamp or PIC?

I think PICs are the best way to go. As was alread said, BASIC stamps are a pain in the butt when doing complex things. However, one thing I've noticed with the chip is that it's not very good with handling complex math operations, but if you make header files to do the math... you can get around that. BASIC has many of those trig functions and things built in however... that's the only plus I can think of though with BASIC... so yea, just go with PIC.
__________________
Chopsaw? Chopsaw.
  #4   Spotlight this post!  
Unread 14-03-2004, 11:42
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: Stamp or PIC?

actually a Basic Stamp board contains a PIC chip - I dont know if you can reprogram them to run assembly or C.

You can get 8 pin PIC chips that allow you to do some amazing things - two pins are power and gnd, that leaves you 6 IO pins to work with - but even still - they have design contests every once in a while and its amazing what some people have done with 8 pin PIC chips.

the PIC programmer pods are not expesive - and Im pretty sure you can program some PIC devices with a serial link without the need for a pod.

Ive been using MicroChips devices for about 8 years now and I think they are excellent.
  #5   Spotlight this post!  
Unread 14-03-2004, 12:09
phrontist's Avatar
phrontist phrontist is offline
Proto-Engineer
AKA: Bjorn Westergard
FRC #1418 (Vae Victus)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Falls Church, VA
Posts: 828
phrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond reputephrontist has a reputation beyond repute
Send a message via AIM to phrontist
Re: Stamp or PIC?

Quote:
Originally Posted by KenWittlief
the PIC programmer pods are not expesive - and Im pretty sure you can program some PIC devices with a serial link without the need for a pod.
Okay, I've deciced to go with PICs, but now the question is: What programmer? Any good ones available commercially for the 8-pin pics? I have modest soldering skills, but no PCB capability, can I make one?
__________________

University of Kentucky - Radio Free Lexington

"I would rather have a really big success or a really spectacular crash and failure then live out the warm eventual death of mediocrity" - Dean Kamen
  #6   Spotlight this post!  
Unread 14-03-2004, 12:15
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Stamp or PIC?

Quote:
Originally Posted by phrontist
Okay, I've deciced to go with PICs, but now the question is: What programmer? Any good ones available commercially for the 8-pin pics? I have modest soldering skills, but no PCB capability, can I make one?
Take a look at this one:
http://www.jdm.homepage.dk/newpic.htm

It can program many PICs, including some of the 12-series 8-pin ones and the ever-popular 16F84. It's easy enough to build on perfboard if you don't want to make a PCB, and the parts cost is negligible.

Some PICs, such as the 16F877, have "self-programming" capabilities; that is, they can be loaded with special bootloader software that allows them to accept new programs via a serial link to two I/O pins without any fancy programming hardware. Unfortunately, they have to have the bootloader installed before they can do that, which requires a working programmer...
  #7   Spotlight this post!  
Unread 14-03-2004, 12:59
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: Stamp or PIC?

Choosing a programmer can be onfusing. I ahve tried several and talked to many people. A great programmer that programs most of te Microchip product line is:the Melabs EPIC programmer. This is what i use. You can get JUST the programmer by itself for $59 I would recommend you get the package deal for $99 which comes with the programmer, the AC adapter, parallel cable, and your choice of either a ZIF socket for 8,18,or 20 pin devices or 28 and 40 pin devices. Chose either ZIF socket, and buy the other one seperately. With this setup you can program most any PIC currently in production. Hmmm... that sounded sortof like an oxiclean comercial or something.

Btw.. If you are still interested in Basic stamps, the exorbitantly priced developement boards that parallox sells are nothing more than a serial cable, and a voltage reglaor all put together on a pretty looking PCB. You can build your own for under $15.
__________________
1139 Alumni
  #8   Spotlight this post!  
Unread 14-03-2004, 13:50
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Re: Stamp or PIC?

Quote:
Originally Posted by KenWittlief
actually a Basic Stamp board contains a PIC chip - I dont know if you can reprogram them to run assembly or C.
The BasicStamp1 and the BS2 both ran off of PICs, but everything after that used Scenix microcontrollers. The Scenix chips can be, themselves, programmed in ASM or C, but the BasicStamps can't.

If you google for something like "pic programmer", you'll come up with a good amount of results. The NOPPP (NO Parts PIC Programmer) was interesting, but there're many other possibilities for DIY programmers, as has been said.
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #9   Spotlight this post!  
Unread 14-03-2004, 15:59
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Stamp or PIC?

These look pretty cool.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #10   Spotlight this post!  
Unread 14-03-2004, 18:04
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Stamp or PIC?

I feel vaguely lonely in my partiality to Stamps. =)

I like the Basic Stamp rev.D (especially secondhand, as it is cheap). The BS1 can do pretty impressive things, even though it has only 8 I/O pins. And even though it is slow, it is quite usable. I have heard complaints from people about its lack of a watchdog timer, but there are ways to guard against crashes/code lockups/infinite loops. I spent quite some time last year trying to create a system to use interrupts with the Basic Stamp 2p, and I created a workable system. I'll dig out the schematics sometime soon.

My main problem with the Basic Stamp is its lack of a timer. For all the circuits I have used the Stamp rev.D in, I have had to use an external one. Other than that, the Stamp is quite powerful and can do more than you can think. Just try and get them secondhand, as they are more expensive than PICs, if bought directly from Parallax.

Btw, I have read somewhere that "anything the Stamp can do, the PIC can do better." The only exception I have been able to come up with concerns the DTMF instructions, but very few people use them anyway.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #11   Spotlight this post!  
Unread 14-03-2004, 19:23
velocipenguin velocipenguin is offline
Registered User
#0246 (Overclocked)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Boston, MA
Posts: 77
velocipenguin is on a distinguished road
Send a message via AIM to velocipenguin
Re: Stamp or PIC?

Quote:
Originally Posted by Venkatesh
The only exception I have been able to come up with concerns the DTMF instructions, but very few people use them anyway.
I suspect that some of the nicer PICs with built-in PWM generation hardware, when coupled with a bit of external filtering circuitry, could do an equally respectable job.
  #12   Spotlight this post!  
Unread 28-03-2004, 17:06
Kevin Casper Kevin Casper is offline
Registered User
#0171 (Hardcore Engineers)
 
Join Date: Oct 2003
Location: Platteville , WI
Posts: 15
Kevin Casper is an unknown quantity at this point
Re: Stamp or PIC?

Quote:
Originally Posted by Rickertsen2
Choosing a programmer can be onfusing. I ahve tried several and talked to many people. A great programmer that programs most of te Microchip product line is:the Melabs EPIC programmer. This is what i use. You can get JUST the programmer by itself for $59 I would recommend you get the package deal for $99 which comes with the programmer, the AC adapter, parallel cable, and your choice of either a ZIF socket for 8,18,or 20 pin devices or 28 and 40 pin devices.
I'll second this. It's what I use as well. It's one of the more reliable programmers.


Quote:
Btw.. If you are still interested in Basic stamps, the exorbitantly priced developement boards that parallox sells are nothing more than a serial cable, and a voltage reglaor all put together on a pretty looking PCB. You can build your own for under $15.

Really? I thought there is a built in programmer on those as well. I could be wrong.
__________________
Kevin Casper
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
Impending BASIC Stamp Editor Beta 2 release Greg Ross Programming 9 19-09-2003 06:05
Connecting USB webcam to pbasic stamp? JasonStern Programming 15 14-02-2003 23:45
Problem with communicating with STAMP through serial port Skabana159 Technical Discussion 2 06-02-2003 21:10
Auxilliary Basic Stamp Chip Kai Zhao Technical Discussion 9 07-01-2003 21:21
Have a question about the Basic Stamp Chip Boards wes16zeus Programming 3 06-12-2001 08:25


All times are GMT -5. The time now is 18:47.

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