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.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
I've been into programming since I was a kid. I started out in BASIC but got frustrated because I couldn't get anything done. Later on I tried 68k assembler on the Amiga (because that's what all the cool gamez d00dz were using) but I just couldn't do a thing with it.
Eventually when I was doing my PhD, I tried programming PICs in assembler, and the penny kind of dropped then. The PIC has a nice small and simple instruction set, it makes a great "My First Assembler". I went on to program Analog Devices DSPs in assembler too. It wasn't till I had written a menu-driven user interface in assembler that I realised why C is the way it is, and why you ought to use it instead of assembler for projects like that. >_<
These days, pretty much everything has a C compiler, and you only need assembler if you want to squeeze absolutely all the performance out of the chip. Given the relative costs of hardware and programmer time, that's not really economical these days unless you're going to make a million of the device. But I'd still recommend trying something like PIC assembler, just so you know what's going on underneath all that compilation.
Banned on 3/17/2009. Registered Member #487
Joined: Sun Jul 09 2006, 01:22AM
Location:
Posts: 617
Hmm well I suck at programming I'd like to try assembler and c eventually but I'm not that great of a programmer. In fact it's safe to say I suck a little at it.
Registered Member #56
Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
1. Sorta. Every version is a little diferent, but all basic is about the same, and all c is about the same.
2. You can use the same programmer for most pic's, you just need to have a way to connect to the correct pins on each pic A common way to do that is to put a connector with the pins used for programming on the programmer, and another on the board(s) with the pic. The simple programmers (like the jdm) also support a lot of other chips from other manufactures (but you might need a diferent piece of software to program them)
Registered Member #96
Joined: Thu Feb 09 2006, 05:37PM
Location: CI, Earth
Posts: 4061
I've used a program called Pic Simulator IDE, works very well. Last time I checked it even supported HD44780 LCD displays and 120*64 graphicals. Demo version obtainable :) Regards, -A
Registered Member #65
Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Sophisticated Robot walkers are not easy to build – many people fail to even get something to stand up. However, I would recommend looking at Darpa’s ridicules looking pack mule video for a four leg gate cycle (one never quite figures out what’s wrong with real mules in this case.) Also, the slow motion cockroach run footage may give you some ideas too. Keep in mind if your robot is well designed up scaling it should not be too much of an issue. Learn ANSII C as it will allow you to reuse your code (if its well written then it will require little or no modification for PICs, AVRs, DSPs, SOCs, and whatever. Avoid compiler specific macro languages.)
I like pics because they are cheap and reliable (Microchips $857 P18 compiler was a dog product in my opinion – but works.) AVRs are better performers, easy to program, and come with a free gcc compiler.
Registered Member #239
Joined: Thu Feb 23 2006, 03:15AM
Location: canada
Posts: 23
Carbon_Rod wrote ...
Learn ANSII C as it will allow you to reuse your code (if its well written then it will require little or no modification for PICs, AVRs, DSPs, SOCs, and whatever. Avoid compiler specific macro languages.)
I like pics because they are cheap and reliable (Microchips $857 P18 compiler was a dog product in my opinion – but works.) AVRs are better performers, easy to program, and come with a free gcc compiler.
Yes, if you prefer working with C I would recommend the AVR, they were designed for this purpose.
Lots of C code examples are available (ie hd44780 functions). Writing/compiling can be done in AVR Studio with avr-gcc plugin, both are free.
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
If you are not interested in something very small then go for something modern and efficient with the power of an old PC like the 32 bit http://www.futurlec.com/ET-ARM_Stamp.shtml
Registered Member #79
Joined: Thu Feb 09 2006, 11:35AM
Location: Arkansas
Posts: 673
Thanks for all the replies guys! You've been indispensable.
I've been doing research on all the chips you guys suggested, and I realized I'm probably going to ruin a bunch of chips as I'm learning. I'd like to get something that is re-programmable but is as similar as I can get to the PIC chips and has an assembler for C. What would you guys suggest?
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.