Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Rumor Mill (http://www.chiefdelphi.com/forums/forumdisplay.php?f=15)
-   -   Bloody control system (http://www.chiefdelphi.com/forums/showthread.php?t=2228)

smokescreen 01-02-2002 00:45

Bloody control system
 
I hate this bloody control system.

No interrupts.
Not enough ram.
Can't send every variable to the dashboard.
UNSIGNED INTERGER MATH!!!!

Have to check on certain issues in the rule book, however.

Input and output is handled by the robot controller.
The OI sends signals to move servos.
Pots are connected to these servos.
Digital outputs turn on LEDs
The output of these LEDs are fed by phototransistors into the custom circuit board.
The pots, limit switches, and various other sensors hook into the custom circuit board.
The PIC in the custom circuit board handles the "thinking" part of the operation and sends voltage signals back to the OI through the sensor port.
These voltage signals are direct sensor signals to give values from 0-255.
The OI then simply reroutes the sensor signals to the appropriate speed controller or relay.
Ha! No more bloody stamp.
Goodbye Pbasic!
Nothing but good old assembler.

FotoPlasma 05-02-2002 14:20

You are right, brotha...

At least the little Lego robotics can be programmed in IC (Interactive C)...
I hate PBASIC...
And I'd gladly learn ASM (x86, if possible) instead of having to work with PBASIC...

Jon Lawton 05-02-2002 19:22

*COUGH* $100 Custom Circiut Board *COUGH*
*COUGH* Embedded System *COUGH*
*COUGH* Pick your architecture *COUGH*

...so stop complaining!

Just got my 68HC11F1CFN2 from Digi-Key yesterday. I'll post pictures of the board doing somthing that will shock and amaze soon! ;)

Joelster 13-02-2002 20:11

A program that may help
 
It is to make an arm turn if u or anyone else needs it. Any questions just pm me!!!!

if logged = 1 then hopskipjump:

if count1 = 1 then skippy:
if p1_sw_top = 0 then out:
if p1_sw_top = 1 then in:
in:
relay1_fwd = 1
relay1_rev = 0
count1 = 1
goto hopskipjump:
out:
skippy:


if count1 = 0 then jumpy:
if p1_sw_top = 0 then outy:
if p1_sw_top = 1 then iny:
iny:
relay1_rev = 1
relay1_fwd = 0
count1 = 0
outy:
jumpy:

hopskipjump:
logged = p1_sw_top

Greg McCoy 18-02-2002 21:11

Yeah, it would be great if there was an alternative control system. Even if you do make your own, you have to interface it with the IF one.

I guess FIRST is more interested in mechanical innovation then computer & electronics innovation. Too bad.

patrickrd 26-02-2002 01:37

When I was your age, we had to carry arounch punchcards and walk two miles to the nearest computer only to find a mistake in our algorithm and ...

ah nevermind.

ahecht 26-02-2002 02:17

I have to agree with FotoPlasma. I have a lego robot running a HandyBoard with a 68HC11 core, and I program it in InteractiveC. I'm telling you, the multithreading alone makes IC a godsend.

Wetzel 26-02-2002 02:29

Ahh..but do how far can you optimize your code?
Anyone else using bitshifts?:)

Joe Ross 26-02-2002 08:04

Quote:

Originally posted by patrickrd
When I was your age, we had to carry arounch punchcards and walk two miles to the nearest computer only to find a mistake in our algorithm and ...
Mine always worked perfectly the first time...of course there was the problem of dropping them :p

Greg McCoy 07-03-2002 13:07

Maybe in 10 years we'll be saying:

"And we had to use Microsoft products..."


All times are GMT -5. The time now is 18:03.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi