Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 9
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Vaxian (17)


Next birthdays
05/21 Dalus (34)
05/21 Kizmo (37)
05/22 Skynet (32)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

Cheaper alternatives to Basic Stamps

1 2 
Move Thread LAN_403
Brett Clark
Thu Feb 15 2007, 05:57PM Print
Brett Clark Registered Member #482 Joined: Thu Jul 06 2006, 07:13PM
Location:
Posts: 8
Long time lurker, I post pretty infrequently, but I've got a quick question.

I've been given a BS2 for the microcontroller portion of my Intro to Industrial Automation class, been doing alot of pretty fun stuff with it and have come up with lots of projects/applications for around my apartment but at ~$50 a stamp, they're fininacial impractical.

It's my understanding so far that a stamp is just a PIC microcontroller coupled with some eeprom, a voltage regulator and some circuitry to interface it with the serial port.

Are there cheaper micro's that are programmed in a higher level language (BASIC, C, Java) that I can supply with my own eeproms and regulator circuits?

Has anyone had experience with these? What were your opinions? Ease of use, flexibility, that kind of stuff.

I could google just to find what micro's may meet these conditions but I guess I'm more interested in gaining some opinions from folks with personal experience.


Thanks
Back to top
Avalanche
Thu Feb 15 2007, 06:41PM
Avalanche Registered Member #103 Joined: Thu Feb 09 2006, 08:16PM
Location: Derby, UK
Posts: 845
You can't go wrong with a PICKit 1 programmer, and a PIC16F684. It's about the norm if you want to get away from using stamps. I regularly use that setup to get things up and running.

You can create an I2C port on them quite easily, to interface to some external EEPROM if you need it, and if you use the (free) hi-tech C compiler, it comes with enough demo code to form the basis for pretty much anything you are ever going to do with that chip.
Back to top
J. Aaron Holmes
Thu Feb 15 2007, 08:19PM
J. Aaron Holmes Registered Member #477 Joined: Tue Jun 20 2006, 11:51PM
Location: Seattle, WA
Posts: 546
Avalanche wrote ...

You can't go wrong with a PICKit 1 programmer.

Agreed. Go get one now! I soldered a ZIF socket onto mine, and it's been my only PIC programmer for years.

I think you'll find, too, that the need for a high-level language on PICs is somewhat less than on other MCU's. I originally used PIC-C Lite, the free version of Hi-Tech's C compiler (the non-free version is EXTREMELY non-free, if you get my meaning), which comes with the PICkit. It only supports certain PICs, though. I bought some 16F630's recently for an LCD driver project, and since they weren't on the PIC-C Lite list, I decided it was time to just bite the bullet and do it all in assembly. To my surprise (and delight), it was incredibly easy. The instruction set is so small and orthogonal, you'll have it memorized by accident after an hour or two. No exaggerating. That said, if the PIC you're using is supported by PIC-C Lite, I think it's a great way to go.

Regards,
Aaron, N7OE
Back to top
...
Thu Feb 15 2007, 11:35PM
... Registered Member #56 Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
If you like programming in basic, then I would suggest mikrobasic (from mikroelectronica). the non-free version is limited to 2k of program, but that is plenty for most applications. Although I will warn you, it can be a little picky at times.

Or, really you should just ite tbe bullet and get the student version of microchips C compiler.

As to having an external eeprom, there is no point. Really, the bs2 is sorta on my bad list right now, as the process or reading/writing from the eeprom is sooo slow compared to what a pic can do... And it adds unnecessary costs. It might have been a good idea like 10 (actually more) years ago when they were introduced, but thee days you are better off using the internal flash memory in a modern pic. You can even get pics these days that have an internal oscillator, just needs power! It doesn't get much better than a 8 pin chip with 6 i/o lines suprised And those are all have like integrated a/d on them too!
Back to top
Bjørn
Fri Feb 16 2007, 01:00AM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
If you need something that is about 100 times faster and capable of running serious applications then you can try this http://www.futurlec.com/ET-ARM_Stamp.shtml

It is not a lot cheaper but if you need the power it is extremely good value for money.
Back to top
thom
Fri Feb 16 2007, 02:18AM
thom Registered Member #239 Joined: Thu Feb 23 2006, 03:15AM
Location: canada
Posts: 23
Here is the schematic: http://www.weethet.nl/english/basicstamp2_schema.php

Its a pic16C57C (16 I/O, 2k prog, 72B ram), 24LC16 (24kbit I2C eeprom), and some other stuff. Pic costs $3-4, and the eeprom is 50c or so. Quite the markup.


I would recommend Atmega88 (23 I/O, 8k prog, 1k ram) ~$3.80, or another AVR.

The C compiler and IDE for it are free (no restrictions) and heavily supported.
Back to top
Bjørn
Fri Feb 16 2007, 03:13AM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
If anyone wants to download the files needed to develop for the ET-ARM Stamp they can send me a PM.

The Keil C compiler/assembler has a full simulator if someone wants to try it without hardware. It is also possible to use the GNU C compiler but I am not able to answer any questions about that.
Back to top
Hazmatt_(The Underdog)
Fri Feb 16 2007, 03:57AM
Hazmatt_(The Underdog) Registered Member #135 Joined: Sat Feb 11 2006, 12:06AM
Location: Anywhere is fine
Posts: 1735
I use KEIL for the 8051 and its a pretty good compilier. They'll send you a CD too if you need it.
Back to top
...
Fri Feb 16 2007, 04:02AM
... Registered Member #56 Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
thom wrote ...

Here is the schematic: http://www.weethet.nl/english/basicstamp2_schema.php

Its a pic16C57C (16 I/O, 2k prog, 72B ram), 24LC16 (24kbit I2C eeprom), and some other stuff. Pic costs $3-4, and the eeprom is 50c or so. Quite the markup.


I would recommend Atmega88 (23 I/O, 8k prog, 1k ram) ~$3.80, or another AVR.

The C compiler and IDE for it are free (no restrictions) and heavily supported.

I should point out that the code that runs in the pic16C57C is secret, and the only way to get it is to buy a pre burned pic from Parallax. So if you go the diy route, you will not be able to use the parallax compiler.
Back to top
Brett Clark
Fri Feb 16 2007, 04:23AM
Brett Clark Registered Member #482 Joined: Thu Jul 06 2006, 07:13PM
Location:
Posts: 8
Thanks for the info guys, the PIC16's look pretty good, quite affordable.

That ARM is a beast, nothing I'm doing now would even be worthy of it.

Going to switch my front door over to RFID, now only if I could get my hands on some sub-dermal tags...



Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.