To share code with the TowerGeeks community just start a discussion under the Code Sharing Center category, title/describe your code posting, and attach your files. Please limit the discussions here to the code being shared and not other general or hardware discussions.

Reply to This

Replies to This Discussion

I wanted to share these layout templates (using ExpressPCB) that are buried in this thread.

http://www.towergeeks.org/video/smart-sprinkler-controller-1

Reply to This

Attached is my sprinkler controller project for MCF51CN128 (see videos).

Includes:
Software application that runs on top of MQX RTOS
ExpressPCB schematic and layout files for the relay module

The software is very basic. It only supports telnet connections to the system over the network. The sprinkler system is enabled and the zones are turned on/off through a command line interface. No scheduling or other advanced stuff (yet).

Enjoy,
MacL
Attachments:

Reply to This

So you have it running at home? Did you find any design flaws in your first prototypes?

Reply to This

Hi,
I forgot to include the custom component files for ExpressPCB. Their tools don't have the edge connector component so I had to build them myself. They are attached. All the hard work is done, so now everyone has no excuse to building their own modules!

Thanks,
Mac L
Attachments:

Reply to This

Hi All

This is a template for FreeRTOS + lwIP, using almost 64KB with the Tower MCF51CN
Hope somebody can find it useful

Regards

Paolo
Attachments:

Reply to This

This isn't exactly CODE, but I wanted a clearer picture of what pins of the 51CN were dedicated to which functions (if any), and where they showed up on the connectors and etc. So I've put together this google-doc spreadsheet:
http://spreadsheets.google.com/ccc?key=0AqdMB5dovDUZdFlUZWVCNmxsZG5...

One of the happy discoveries was that the elevator connectors (the 2mm socket strips) have pinouts that match the PCIe connectors - there's an A connector that matches up with A0..A80 of PCIe, and the B connector for B0..80

It turns out that the Serial Board is pretty good about not using up pins it doesn't need. Aside from the boatload of pins used for the ethernet MII interface.

The most questionable thing I found was that the A2D pin used for (hardwired to) the Y axis accelerometer on the cpu board is also used for USBOTG power control on the serial board. (There is a jumper that prevents this pin from connecting from CPU to the bus, however, and the USB on the serial board is non-functional with the 51CN anyway.)
The elevator bus and cpu board are set up to use the "mini-flex-bus" feature of the chip, but this is not used by the serial board, and it looks very non-invasive (those cpu pins are connected directly to the bus as well as via the latch used by the flexbus.)

This spreadsheet is based on the freescale schematics, and has not been thoroughly checked for mistakes (if anyone notices any, let me know!) Use without verification at your own risk.

Reply to This

Similar (still rather un-checked) spreadsheet oriented toward the tower bus:

Tower Bus Spreadsheet

Reply to This

All, the Tower Configuration Tools is available on the Freescale Tower site. This has the pinouts for the primary and secondary connectors as well as an Excel based tools for doing compatibility checking and new module creation.

-Michael

Reply to This

RSS

Advertisement Click Here

Spread The Word!

Follow TowerGeeks on TwitterTowerGeeks on FacebookShare This
Towergeeks has their own pages on Twitter as well as Facebook. Find us there and help spread the word about the Tower System!

© 2010   Created by TowerGeeks.

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!