This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-11-07 16:54:59

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Logic Circuit Simulator

Latest Version 0.8a - 2nd Dec 2007
I've just uploaded a simple, proof of concept logic simulator

(Latest version linked to here - http://scratch.mit.edu/projects/SimpleScratch/61841 )

I intend using it to teach Year 6 pupils the basics of logic gates and then  moving up to wiring a full-adder before they get into the QCA Control and Monitoring Unit!

(I'm having a go at teaching them binary this week first so I've got another week to get this project up and running properly!)

Any comments/suggestions/ideas would be welcome.

My thoughts are to make the blocks, grid snappable.

Maybe introduce more complex units such as flip-flops and adders???

Maybe a pulse train generator???

Needs to be downloaded to move the blocks around

Last edited by SimpleScratch (2007-12-02 17:09:44)

Offline

 

#2 2007-11-07 17:24:25

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: Logic Circuit Simulator

Cool idea. You might find this project interesting too http://scratch.mit.edu/projects/jay/495


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#3 2007-11-07 20:16:18

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Logic Circuit Simulator

If you are teaching binary, they might find my binary counter amusing:
http://scratch.mit.edu/projects/kevin_karplus/2162

Offline

 

#4 2007-11-12 11:48:55

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Logic Circuit Simulator

V 0.4a available (see 1st post or latest post for latest version)

New features

- The units snap to a grid.

- Includes AND,OR,NOT,XOR and NAND gates

- Clicking on gate changes its physical input lead configuration to avoid having to make up lots of connector types

- Feedback connectors supplied for flip-flop type circuits

- Heartbeat system used to show whether circuit is in a running state - if no Heartbeat flashing slowly then user needs to click on Green flag again.

- Size of units can be reduced by changing size variable in stage script if you want to get more units onto the stage


Please report any bugs/ideas here.

regards

Simon

Last edited by SimpleScratch (2007-11-19 14:50:50)

Offline

 

#5 2007-11-13 15:41:31

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Logic Circuit Simulator

V0.5 available (Latest version available via 1st post)

Changelog

Bug fix
- NAND gate worked like AND gate :-(  - OK Now :-)

New Feature

- NAND gate has 3 input wiring states so it can also work as a NOT gate - just click on it 3 times to see what I mean.

regards

Simon

Last edited by SimpleScratch (2007-11-19 14:52:01)

Offline

 

#6 2007-11-19 14:56:57

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Logic Circuit Simulator

V0.8 available here - http://scratch.mit.edu/projects/SimpleScratch/56969

New Features
- Gate appearance changed

- Connector type added to allow for 1/2 adder type configurations

- LED added (Clickable to change to a double LED for 1/2 adder type configurations)

- Push On/ Push Off switch added (Click on black button to push switch on.off - click on blue or red supplies to change button from Push off type to Push On)

- Slider introduced to change size of items.

regards

Simon

Offline

 

#7 2007-12-02 17:09:09

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Logic Circuit Simulator

V0.8a available

http://scratch.mit.edu/projects/SimpleScratch/61841

Only change is that its been compiled in Scratch 1.2 and you can now move the gates and other items around online as well using a new feature of Scratch 1.2 :-)

regards

Simon

Offline

 

Board footer