Re: Chip with simple program for Toy

From: John Fields (jfields_at_austininstruments.com)
Date: 09/29/04


Date: Wed, 29 Sep 2004 15:46:03 -0500

On Wed, 29 Sep 2004 20:57:00 -0700, "john jardine"
<john@jjdesigns.fsnet.co.uk> wrote:

>"RANDOM", Maybe easier said than done. A micro running a stored programme
>can't do it just on it's own.
> There's got to be available somewhere, a real random variable that the
>micro can then use as a 'seed' to maybe generate series of psuedo-random
>values.

---
For a toy, an 8 bit pseudo-random pattern is prob'ly good enough,
since you can get 255 tenth-second values out of the thing which you
load into an 8 bit down-counter, start the motor, and then count the
counter down with a 100ms clock.  When the counter counts down to
zero, you send a clock to the pseudo-random sequence generator to
generate the next pattern, load it into the counter, reverse the
direction of the motor and run the counter down to zero again to start
the next timeout with the new value from the PRSG.
 
-- 
John Fields


Relevant Pages

  • Re: Chip with simple program for Toy
    ... switch direction randomly :-) ... > counter down with a 100ms clock. ... > direction of the motor and run the counter down to zero again to start ...
    (sci.electronics.basics)
  • Re: Balancing rpcs.
    ... Balanced current in the MACHINE TOOL motor, ... the resistive load*. ... Also, what do you think of the comment to add capacitance between L1 and L2, ... because current balance measurements must only measure the ...
    (rec.crafts.metalworking)
  • Re: charger? (again) deep cycle batteries
    ... > a fridge freezer without any problems. ... Well within the capacity of the inverter you have ... inductive loading of a motor. ... the load of a motor doesn't mean that the two can work together. ...
    (misc.survivalism)
  • Re: Antii, can you give us an update?
    ... that load the load enable signal is FULLY DISABLED ... register connected to the input mux of the LFSR load input ... clock domains; with purely combinational logic ... work 100% when FPGA is almost empty (no matter what signal drivers ...
    (comp.arch.fpga)
  • Re: Variable load for testing phase convertor
    ... >increasing the load. ... >> machine I have is a power hacksaw with a 1 3/4 hp motor. ... >> Motor driving variable pitch propeller in small tank of liquid. ... >> Bolt car brake disc/drum to motor pulley. ...
    (rec.crafts.metalworking)