All Blog Posts (53)

The War Room

This is where I will be for most likely the next 6 hours. Got my hot chocolate, laptop for media entertainment and information, and the writing instruments. Its figure drawing time, then hitting the electromech specifications last.

At least the conceptualization section is finished!…

Continue

Added by Abigail Amu on January 28, 2012 at 9:11pm — No Comments

AHP software

Cassie's post reminded me of a nifty application that can be used for AHP analysis, which the appendix to the Wikipedia article on AHP links to.

http://www.superdecisions.com/

It's free; all you have to do is set up an account and request a serial key. Once you download it (the Windows-compatible version works on W7 too), it may be awkward to learn how use it. Here's what we need to know:

1) To create…

Continue

Added by Andrew Ferrazzutti on January 28, 2012 at 10:31am — 2 Comments

AHP Analysis

Ok, if anyone else is planning on making an AHP for conceptualization in the proposal, here's a fool proof method:

1) Follow this wikipedia example:

http://en.wikipedia.org/wiki/Talk:Analytic_Hierarchy_Process/Example_Leader

2) In the mysterious parts where they get decimal numbers (and are actually solving for eigenvectors of 4x4 matrices...) use THIS handy…

Continue

Added by Cassie Rosen on January 25, 2012 at 8:00pm — No Comments

Patent Searching - Proposal Survey

Hey 1T4's and all others,

I was having some trouble doing the survey, particularly the "industry" survey, as I drew a blank to how to access patents. I often came across ones where I had to pay, or had poor search methods, etc.

I went to the Engineering Library over the weekend, and they directed me to:…

Continue

Added by Cassie Rosen on January 23, 2012 at 7:14pm — No Comments

Places to Buy Stuff (that are actually open)

Hey everyone,

After going through the list of suppliers for the project, it seems that we've found the same thing- a lot of them have closed up shop.  So I'm going to try my best to keep this list up to date with URLs, names, addresses and phone numbers.  If you want anything added, just comment!



Ability Metals & Machine - www.abilitymetals.com

963 Brock Road, Pickering, ON, L1W…

Continue

Added by Greg Hoy on January 22, 2012 at 5:00pm — 8 Comments

First Adventure to Solway Metal Factory

This morning, Jenny, Cassie, Kristine and myself missioned down to Solway to go check out the kind of scrap metal we would be able to work with (in time for our practical sessions on monday and tuesday). 

Though I was expecting the building to look like it did (it is a scrap metal place) it was not Home Depot like (by any means :P) and so the…

Continue

Added by Abigail Amu on January 21, 2012 at 8:00pm — 3 Comments

Day 2: Team Selection Problem Acquisition and the First Brainstorm

Post 1 – January 10th, 2012



It’s official! Our team has been chosen. Mason, Tom and myself will be working on the problem assigned to the Tuesday Lab Section, the Sticker Inspector Machine. If you are in the Tuesday section also, feel free to leave a comment. It…

Continue

Added by Abigail Amu on January 10, 2012 at 3:29pm — No Comments

Day 2: Team Selection and the First Brainstorm

blog post 1 – January 10th, 2012

Team Selection, Problem Acquisition and First Brainstorm

It’s official! Our team has been chosen. Mason, Tom and myself will be working on the problem assigned to the Tuesday Lab Section, the Sticker Inspector Machine.…

Continue

Added by Abigail Amu on January 10, 2012 at 3:27pm — No Comments

Moving Relocatable Code Files - org Directive

For simplicity's sake, up until this point I have been keeping all of my LCD writing functions and tables in the same file, but now that I am cleaning up my code in its near-polished state, I'm looking to move my tables to a separate file.

 

I have no problem with all of the basic steps, but since I am using relocatable code generated with the code flag, the linker always puts my tables in the last part of the program memory, which makes the tables work incorrectly (as…

Continue

Added by Mark J. Sutherland on March 2, 2011 at 2:55am — 2 Comments

RTC + PIC18 = <3

Here's my RTC sample code, ported for PIC18F4620. I added SSPIF support but disabled the interrupts and changed quite a bit of code in the basic I2C low-layer macros, including some #v()-literals to save space.

I wrote it in emacs, and have no clue how to use MPLAB. Sorry :)

Also note that it's relocatable code and full of my own debugging lines. You may have to play around with it to get it to work with your code. But it does definitely work the way it is…

Continue

Added by Sebastian Kosch on February 19, 2011 at 11:00pm — 1 Comment

ADC Sample Code has a bug (it seems)

There seems to be a mistake, because the code did not work, and after my change, it did work.

 

MainLoop

    bsf        ADCON0,2        ;start conversion and wait for it to complete

    btfsc    ADCON0,2

    goto    $-2

 

goto $-2 is wrong, because it goes back 2 lines and starts the conversion all over again. You'll want to goto $-1 instead, to just test until the conversion is done.

 

However, I would reccommend this…

Continue

Added by Ritchie Thai on February 19, 2011 at 7:21pm — No Comments

EEPROM Access

The information regarding the EEPROM is minimal in the manual and you will need to go into the datasheets to get a bigger picture (as is the case for pretty much everything). This post is just to add to the stuff the manual is missing, so that you do not have to go searching through the datasheet.

 

First off, the datasheet itself uses VALUE and ADDR as registers to contain the data it would like to store. If you implement the code as is, it will not work. You will need to…

Continue

Added by Alim Jiwan on February 6, 2011 at 1:41am — No Comments

Tool: MPASM LCD String Writing Code Generator

http://dozydagger.com/misc/mpasm-lcd-writer.html

 

You know what I say to tables? Well, I don't say it, because I am not the type to publicly use such language, but once you get past the character limit it causes problems that can be tricky even if the solution is known.

 

Here's a work around that I'm using. "can" wasn't worth making a table for. A table would take 4 lines. If you include the code to…

Continue

Added by Ritchie Thai on February 1, 2011 at 1:30am — No Comments

Keypad Question

I am having some trouble with my keypad.  I build my code, then use PICUSB to write the

hex file.  The busy light comes on, then when it turns off, I switch from PRG to RUN. 

However, my keypad does not work at this point.  At one point in my code, I am prompted

to enter how many balls I want to dispense in Can1.  But when I press a key on the

keypad, it does not show up, and the program does not proceed.



However, if I switch back to PRG, turn the board OFF,… Continue

Added by Mohammed Patel on January 30, 2011 at 5:02pm — 4 Comments

Removed Post

I have removed this post because it was based on misinformation. I have decided not to delete the post because I wish the comments to be preserved.

Added by Ritchie Thai on January 28, 2011 at 5:00am — 7 Comments

PIC16 Table Lookups - A Guide

A table lookup on the PIC16 basically takes the following steps:

  • Get the address of index zero of the table
  • Add the table index to the address
  • Jump to that address

The table itself is a sequence of retlw instructions, which put a value into W and return. (dt and related directives are just assembler shorthand for inserting many retlws.)



A first try at implementing a table lookup thus looks like this:…



Continue

Added by Jack Sparrow on January 28, 2011 at 1:00am — 6 Comments

SN754110 claims it has internal clamping diodes - this means I don't need diodes in my circuit, right?

The datasheet for the motor driver SN754410 says that it has internal clamping diodes. My assumption is that if I use this IC, it has already taken care of the diode business for me and I can use it without worrying about that. Is this correct, or is this one of those things where you can't trust what the manufacturer says and have to put your own safety diodes in anyways?

Added by Neil Newman on January 26, 2011 at 11:53pm — 1 Comment

Anyone using a tube to vertically stack their tires?

I found a plastic vendor that sells acrylic tubes that are the perfect size to stack the tires (5" inner diameter and 5 1/4" outer diameter).



The only problem is that they only come in 6' long tubes. The 6' tube is ~$50 so I'm looking for 2 other groups who want to split up the 6' it'll be $15-20 for your 2' section of tube.



Heres the webpage for the plastic vendor…

Continue

Added by Timothy Ahong on January 26, 2011 at 10:00pm — No Comments

Code too long?

I have written some code (My main file is about 250 lines long) and I have been trying to test it. If I comment all except the first little bit of my code, it performs exactly as I expect when I test it on the LCD and keypad. Naturally then I uncomment a little bit more, and when I try to test it, part way through the operation, it reverts back to the beginning of the code. 
I was thinking there was an error in the code I had written, so…
Continue

Added by Matt Nejati on January 26, 2011 at 9:47pm — 10 Comments

Tip: DT location in code matters.

If there is a certain length of code coming before the DT (define table) directive, then characters/entries in the DT past a certain point will fail to return a value. Instead, upon reaching that character, the program will restart from the beginning.

 

Remember, or realize, that DT is actually a short form for a long list of retlw instructions. That means that having a DT holding a long string counts as many instructions.

 

This does NOT appear to be an issue of…

Continue

Added by Ritchie Thai on January 26, 2011 at 5:30am — 4 Comments

Monthly Archives

2024

2023

2018

2016

2015

2014

2013

2012

2011

2010

2009

1999

1991

1990

1989

1988

1987

1986

1985

1984

1983

1982

1981

1980

1979

1978

1977

1976

1975

1974

1973

1972

1971

1970

1969

1968

1967

1966

1965

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service