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.
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.
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.
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.
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 And those are all have like integrated a/d on them too!
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.
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.
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.
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.