X-Authentication-Warning: freeware.mcu.motsps.com: bin set sender to owner-mot-68hc11-apps using -f Date: Tue, 09 Dec 1997 03:27:07 From: "N" To: mot-68hc11-apps@freeware.mcu.motsps.com Subject: Free C Source Code, PWM, monitor, robotics and more Sender: owner-mot-68hc11-apps@freeware.mcu.motsps.com Reply-To: Mot-68HC11-Apps@freeware.mcu.motsps.com Message sent by "N" to the mot-68hc11-apps Mailing List. I don't know if this message got through, so I will post it again, sorry if this has already been received by the list. To expand on this message a bit more, the source code is original stuff that was developed over the last few years. The monitor source has code in it that reads Motorola 'S' records into memory and should come in handy for those who may be zaping EPROMS still. I had a RAM chip hooked up to the HC11 for development, but you could download to the internal RAM also. I had a board that plugged into a 28 PIN ROM socket, and connected a "jumper" wire over for the R/W line on the RAM chip, and a extra address decode line. Thus you had ROM and RAM on one board. Worked real well! The monitor is in pretty much generic C, and should be a small job to get it to work on other CPU's (I.E: change the hardware drivers). The robotic code used PWM routines to drive R/C servo's - making a robot arm. The source is in machine lang due to the speed needed, but what's interesting about this is that you can drive 8 R/C servos at the same time with it. A interesting concept I haven't seen elsewhere. The remote control source was for a car crash on a TV show, that never got used, but it did work! It uses regular motors and a resistive feedback loop in the car, and sends data reliably to the car. If signal is lost then the unit slams on the brakes. There is also IDE hard drive interface routines, this took quite a bit of time to get working, and I suggest a good working knowledge of IDE before playing with it. Someone could use it to log data to a hard disk or something. I just thought that keeping this source code on my system till I die was silly, so here it is. (let's not be anal retentive past the point that we made $$ off of the code) Here's the original message: My loss is your gain, here's some 68HC11 routines I have written over the past few years, they include stuff for ROBOTICS, a IDE hard drive tester, PWM routines and a MONITOR program that reads Motorola S records into memory and should work with any 68HC11 board, the routines are as generic C as possible, so they may work on other processors as well. You can find the ZIP file at: http://www.netmake.com/hobby/index.html Some info about the Tomy Robot is there, and other interesting stuff. Here's a list of the included source code. Have fun! adcdemo.c - simple demo using the HC11 analog inputs and a POT crash1.c - remote control for a (real) car crash for TV robot1.c - demo where I used two hobby PWM servo motors to make a robot idetest.c - IDE Hard Drive tester mon1-1.c - 68HC11 Monitor ROM Program servo.c - tests the PWM servo routines hc11my.c - support routines z68hc11.h - defines zadc.c - ADC routines zdelay.c - a simple delay routine zintEEP.c - programs the internal EEPROM zLCD1.c - driver for most LCD displays zLCD2.c - driver for other types of LCD displays zserial.c - serial in / out routines zUHCrun.h - runtime routines I was using zend.h - used at the end of programs ____________________________________________________________________ Get free e-mail and a permanent address at http://www.netaddress.com To unsubscribe, send mail to Majordomo@freeware.mcu.motsps.com. In the message body, put unsubscribe mot-68hc11-apps http://www.mcu.motsps.com/lit/faq/major.html#zubscribe