Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 18
  • 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

Move Thread LAN_403
ConKbot of Doom
Sat Feb 17 2007, 08:33AM
ConKbot of Doom Registered Member #509 Joined: Sat Feb 10 2007, 07:02AM
Location:
Posts: 329
Brett Clark wrote ...

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...



or possibly a nike + Ipod unit for starters cheesey
Link2
Back to top
thedatastream
Sat Feb 17 2007, 09:26PM
thedatastream Registered Member #505 Joined: Sun Nov 19 2006, 06:42PM
Location: Yorkshire!
Posts: 329
thom wrote ...
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 would second AVRs, but that's only because I never got the hang of PICs and drifted onto AVRs via the 8051/2.

I like the ease of programing an AVR and I use the AVRISP - a 6 pin programming interface - to stuff my devices.

James
Back to top
Carbon_Rod
Sun Feb 18 2007, 01:23AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Bjorn, Is vectorizer open source? It looks interesting... I had built something similar, but switched to a digital PWM system instead for its stability (used as an emf renderer).

The USB based boot loader PICs are nice for most things (~24KB @ 48MHz + USB + serial com module.) C compilers are only good if you plan to write an interrupt based scheduler to guarantee timing for some things. (most C compilers for PIC are overpriced garbage, except the DSPIC series that use a gcc.)

ARM is nice too (note the good chips seem to be SOIC only), but the ARM gcc tool chain is good.
Back to top
Bjørn
Sun Feb 18 2007, 05:49AM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Vectorizer is not open source, but I am usually very helpful.

C compilers for very simple projects can be more trouble than they are worth. A competent programmer should be able to learn the PIC instruction set and make small useful programs with perfect timing in an afternoon.

One of the problems with gcc for ARM is that if you use some functions like printf it will include about 30kB of code that will never be executed and it will quickly sink your project unless you know how to hack away at the libraries.

There are some cheaper alternatives to basic stamps like http://www.rev-ed.co.uk/picaxe/
Back to top
Carbon_Rod
Sun Feb 18 2007, 07:36AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Have you tried gcc -O2 to run the optimizer ;-]

Also note the gcc is bad at byte alignment and padding for struct's. This is what causes constants in rom space to mysteriously lose space. Sometimes, what is normally bad code (or a trivial performance loss) on a PC will actually work better on a uC.

As for libs, most people have to write their own print() function to drive whatever display they plan to use.
Back to top

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.