BASIC Stamps
-
- Outdoor Adventurer
- Posts: 751
- Joined: 12 April 04 11:27 pm
- Location: Brisbane
BASIC Stamps
Has anyone had any experience working with BASIC Stamp microproccesors or anything along those lines?
- Map Monkey
- 1050 or more caches found
- Posts: 2214
- Joined: 08 April 04 3:06 pm
- Location: Banana Republic
- Contact:
- Papa Bear_Left
- 800 or more hollow logs searched
- Posts: 2573
- Joined: 03 April 03 12:28 am
- Location: Kalamunda, WA
- Contact:
Re: BASIC Stamps
PM or email me and we'll talk code!Lt. Sniper wrote:Has anyone had any experience working with BASIC Stamp microproccesors or anything along those lines?
-
- 50 or more caches found
- Posts: 146
- Joined: 16 August 04 4:51 pm
- Location: Hallam
- Udderchaos
- 400 or more spectacular views seen
- Posts: 728
- Joined: 30 January 05 11:16 pm
- Location: mount gambier SA
- Papa Bear_Left
- 800 or more hollow logs searched
- Posts: 2573
- Joined: 03 April 03 12:28 am
- Location: Kalamunda, WA
- Contact:
A Stamp is a Pic, but built up with most of the usual bits'n'pieces (clock and power supply and RS232 chip, etc.) on a module. Quite convenient for people who want to _do_ stuff with a micro using simple BASIC programs, rather than wanting to learn all the ancilliary things you need to do to make a microcontroller work.Andrew&Leesa wrote:a work mate spend a stack of time playing with pic's
much cheaper....
The setting up is fairly costly, though, and there's cheaper ways to get an MCU up and running.
- EcoTeam
- 200 or more found
- Posts: 1267
- Joined: 03 April 03 7:57 pm
- Twitter: EEVblog
- Location: Crestwood, NSW
- Contact:
The PIC-AXE chips are now stealing all the limelight from the BASIC Stamp.
HEAPS cheaper, a single chip solution, and programmable in BASIC with free tools.
http://www.microzed.com.au/PICAXE/picaxe_chips.htm
You can get them from other places in Oz to, like here:
http://www.oatleyelectronics.com/componts.html
There have been a ton of articles in Silicon Chip mag recently about using the chips:
http://www.siliconchip.com.au/cms/searc ... rds=picaxe
You won't be the first with a PIC in a waypoint decoder. I used one for my Macgyver cache, and Odlid Dave used one in his Play It Again Sam cache. I even demonstrated one at the second Sydney cachers picnic, but have never got around to placing it!
UberGeek EcoDave
HEAPS cheaper, a single chip solution, and programmable in BASIC with free tools.
http://www.microzed.com.au/PICAXE/picaxe_chips.htm
You can get them from other places in Oz to, like here:
http://www.oatleyelectronics.com/componts.html
There have been a ton of articles in Silicon Chip mag recently about using the chips:
http://www.siliconchip.com.au/cms/searc ... rds=picaxe
You won't be the first with a PIC in a waypoint decoder. I used one for my Macgyver cache, and Odlid Dave used one in his Play It Again Sam cache. I even demonstrated one at the second Sydney cachers picnic, but have never got around to placing it!
UberGeek EcoDave
-
- 50 or more caches found
- Posts: 146
- Joined: 16 August 04 4:51 pm
- Location: Hallam
- EcoTeam
- 200 or more found
- Posts: 1267
- Joined: 03 April 03 7:57 pm
- Twitter: EEVblog
- Location: Crestwood, NSW
- Contact:
They are regular PIC chips (just programmed with a BASIC interpreter), so you power them from your usual 2V-6V DC supply voltage as you would any PIC chip.aussiecoder wrote:So how do you power these little guys ?EcoTeam wrote:The PIC-AXE chips are now stealing all the limelight from the BASIC Stamp.
HEAPS cheaper, a single chip solution, and programmable in BASIC with free tools.
UberGeek EcoDave
How long would you expect them to operate ?
dave
What do you mean by "how long do you expect them to operate"
EcoDave
- Papa Bear_Left
- 800 or more hollow logs searched
- Posts: 2573
- Joined: 03 April 03 12:28 am
- Location: Kalamunda, WA
- Contact:
It depends almost entirely on the duty cycle i.e. how much time they spend 'asleep' vs how much timer they're 'awake' and doing something.aussiecoder wrote:How long would you expect them to operate ?
So, a device that sits in a plastic box until someone presses a button would probably last for as long as the battery shelf-life, while a device that continuously flashed a LED might go for a few hours, days or weeks on a couple of AAs (depending on how quickly the LED flashed.)
The current drawn by most modern small MCUs (Pics, MSP430, HC08, Atmega, LPC900, etc.) in stop mode (waiting for something to happen) is under a microamp; zero for most practical purposes. When they're running, they typically draw somewhere between 1 and 10mA (which would flatten a couple of alkalines more often than you'd be happy to replace in a cache waypoint!)
- Udderchaos
- 400 or more spectacular views seen
- Posts: 728
- Joined: 30 January 05 11:16 pm
- Location: mount gambier SA
- EcoTeam
- 200 or more found
- Posts: 1267
- Joined: 03 April 03 7:57 pm
- Twitter: EEVblog
- Location: Crestwood, NSW
- Contact:
My MacGyver decoder used 4 AA's and lasted the shelf life of the battery. It was in sleep mode until you pushed a keypad button to wake it up, but even then battery drain was only 1mA total. Used an LCD screen.
It would have lasted maybe 5 years between battery changes, too bad the cache didnt' last that long! The first decoder got swept away in the flood and the second just went missing
EcoDave
It would have lasted maybe 5 years between battery changes, too bad the cache didnt' last that long! The first decoder got swept away in the flood and the second just went missing
EcoDave
-
- 50 or more caches found
- Posts: 146
- Joined: 16 August 04 4:51 pm
- Location: Hallam
Sorry about the cache, but pleased about the battery life.EcoTeam wrote:My MacGyver decoder used 4 AA's and lasted the shelf life of the battery. It was in sleep mode until you pushed a keypad button to wake it up, but even then battery drain was only 1mA total. Used an LCD screen.
It would have lasted maybe 5 years between battery changes, too bad the cache didnt' last that long! The first decoder got swept away in the flood and the second just went missing
EcoDave
Was this a picaxe or a stamp ?
thanks
dave
- EcoTeam
- 200 or more found
- Posts: 1267
- Joined: 03 April 03 7:57 pm
- Twitter: EEVblog
- Location: Crestwood, NSW
- Contact:
Mine was a PIC16F628 programmed in HiTech C, wasn't a PICAXE or STAMP.aussiecoder wrote:Sorry about the cache, but pleased about the battery life.EcoTeam wrote:My MacGyver decoder used 4 AA's and lasted the shelf life of the battery. It was in sleep mode until you pushed a keypad button to wake it up, but even then battery drain was only 1mA total. Used an LCD screen.
It would have lasted maybe 5 years between battery changes, too bad the cache didnt' last that long! The first decoder got swept away in the flood and the second just went missing
EcoDave
Was this a picaxe or a stamp ?
thanks
dave
The PIC used the 4MHz internal oscillator when operating with a total consumption of 2mA including LCD display. This dropped to 32KHz during SLEEP mode drawing 50uA, so no need for interrupt wake on keypress etc which makes your code simpler. 50uA gives you over 6 years life on AA's.
Both the PICAXE and STAMP support sleep modes, but they aren't all that powerful in this respect. If you want the ultimate battery life then you compile direct for the PIC chip itself and select the clock speed accordinly.
Of course, you wouldn't use LEDs if you want the lowest power consumption, an LCD display gives you much greater bang for your power budget.
STAMPs and PICAXEs are fairly limited in how much code you can put in them, so you won't be able to do anything to complex, but for simple jobs they do the trick. But I don't use them as I'm as I'm fully kitted up to program regular PICS in C.
EcoDave
-
- Outdoor Adventurer
- Posts: 751
- Joined: 12 April 04 11:27 pm
- Location: Brisbane
I have had a few cache ideas in mind for a while now, I told jFreak (a QLD cacher) about a year ago since he worked with PIC systems for work but it seems heÂ’s dropped out of caching so I am stuck for where to get started.
I know a fair bit of BASIC from back in school but its been like 6 years now from those classes.
I wouldnÂ’t know how to make a basic program that would run off a dedicated system for use as part of a cache.
Does a PICAXE or STAMP have an RTC, because the first 'smart' cache I have in mind must be able to keep an accurate track of the time and date.
I would just love to say what IÂ’m planning but since we are all competing for interesting caches I cant
Thanks Bear_Left and EcoTeam for your suggestions
I know a fair bit of BASIC from back in school but its been like 6 years now from those classes.
I wouldnÂ’t know how to make a basic program that would run off a dedicated system for use as part of a cache.
Does a PICAXE or STAMP have an RTC, because the first 'smart' cache I have in mind must be able to keep an accurate track of the time and date.
I would just love to say what IÂ’m planning but since we are all competing for interesting caches I cant
Thanks Bear_Left and EcoTeam for your suggestions