Search:
Intro Physical Computing Fall 2005

registered authors login here

For more on PMWiki, see pmwiki.org

Class
 

Main.Class History

Hide minor edits - Show changes to markup

November 02, 2005, at 06:26 PM by tigoe
Changed line 50 from:

''For the morning class especially, but really for both: I worked out the problems with the stepper controlled by a potentiometer. It ended up being a combination fo Dan's code and mine, with some re-thinking the action of the motor. It's on my code blog here.

to:

''For the morning class especially, but really for both: I worked out the problems with the stepper controlled by a potentiometer. It ended up being a combination fo Dan's code and mine, with some re-thinking the action of the motor. It's on my code blog here.\\

November 02, 2005, at 06:26 PM by tigoe
Added lines 46-50:

tigoe''


''For the morning class especially, but really for both: I worked out the problems with the stepper controlled by a potentiometer. It ended up being a combination fo Dan's code and mine, with some re-thinking the action of the motor. It's on my code blog here.

October 09, 2005, at 08:30 PM by tigoe
Changed lines 43-46 from:
to:

Adam

Variable names are not case-sensitive in PBPro, but the editor does correct them to whatever you first typed when you declare the variable. That's a typo you're looking at, Note and note are the same in that program.
tigoe

October 09, 2005, at 04:49 PM by apa2
Changed lines 42-43 from:

simply a typo? Adam\\

to:

simply a typo?
Adam

October 09, 2005, at 04:49 PM by apa2
Changed lines 33-43 from:

If you are interested in seeing the code I wrote for the Whac-A-Mole LED game, you can find it here: http://www.editmation.com/pcomp/week3.html Also, I've posted a template of our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Anyway, grab it here: [http://www.editmation.com/pcomp/pic-18F452.pdf] Chris K

to:

If you are interested in seeing the code I wrote for the Whac-A-Mole LED game, you can find it here: http://www.editmation.com/pcomp/week3.html Also, I've posted a template of our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Anyway, grab it here: [http://www.editmation.com/pcomp/pic-18F452.pdf] Chris K

Are variable names in PicBasic Pro case-sensitive?
I assumed they were but I just wanted to confirm that the example in the Physical Computing textbook on page 311 (where a variable "note" is declared) and then on page 312 "Note" is used.
Can "note" and "Note" be used to describe the same variable or is it simply a typo? Adam\\

September 29, 2005, at 12:03 PM by gjh235
Added lines 4-6:

Keeping with my new tradition: as we discussed musical notes and frequency in class, I've added a link to my site for those interested in seeing which frequencies represent which notes in western music. Follow the link below. gjh235

September 24, 2005, at 08:31 PM by ck987
Changed lines 30-31 from:

If you are interested in seeing the code I wrote for the Whac-A-Mole LED game, you can find it here: [http://www.editmation.com/pcomp/whacamole.txt] A full documentation is coming soon. Also, I've posted a template that I made for our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Anyway, grab it here: [http://www.editmation.com/pcomp/pic-18F452.pdf] Chris K

to:

If you are interested in seeing the code I wrote for the Whac-A-Mole LED game, you can find it here: http://www.editmation.com/pcomp/week3.html Also, I've posted a template of our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Anyway, grab it here: [http://www.editmation.com/pcomp/pic-18F452.pdf] Chris K

September 24, 2005, at 07:34 PM by ck987
Changed line 30 from:

A number of people have asked to look at the code I wrote for the Whac-A-Mole LED game. A full documentation is coming soon. In the meantime, you can downlaod the code here: [http://www.editmation.com/pcomp/whacamole.txt]

to:

If you are interested in seeing the code I wrote for the Whac-A-Mole LED game, you can find it here: [http://www.editmation.com/pcomp/whacamole.txt] A full documentation is coming soon.

September 24, 2005, at 07:29 PM by ck987
Changed line 31 from:

Also, I've posted a template that I made for our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. It's here: [http://www.editmation.com/pcomp/pic-18f452.pdf] Chris K

to:

Also, I've posted a template that I made for our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Anyway, grab it here: [http://www.editmation.com/pcomp/pic-18F452.pdf] Chris K

September 24, 2005, at 07:28 PM by ck987
Changed lines 30-31 from:

A number of people have asked to look at the code I wrote for my Whac-A-LED game. You can downlaod it here: [http://www.editmation.com/pcomp/whacamole.txt] Also, I've posted a template that I made for our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Chris K

to:

A number of people have asked to look at the code I wrote for the Whac-A-Mole LED game. A full documentation is coming soon. In the meantime, you can downlaod the code here: [http://www.editmation.com/pcomp/whacamole.txt] Also, I've posted a template that I made for our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. It's here: [http://www.editmation.com/pcomp/pic-18f452.pdf] Chris K

September 24, 2005, at 07:25 PM by ck987
Changed lines 28-31 from:
to:

A number of people have asked to look at the code I wrote for my Whac-A-LED game. You can downlaod it here: [http://www.editmation.com/pcomp/whacamole.txt] Also, I've posted a template that I made for our friend, the 18F452 PIC chip. Just print it, cut it out, and glue it to your chip. Let me know if you think the text is too small. Chris K

September 23, 2005, at 12:05 AM by ze216
Added lines 22-25:

Ilteris, 4 MHz and 32 kb are measurements of different parts of the PIC. The 4 MHz crystal we're using is part of the clock for the PIC. The PIC needs a steady signal (the clock) so that it can go through each step of its code at a constant pace and so that it can have something to measure external signals against. On the PICS almost all of the instructions take four clock cycles to complete so if the PIC is using a 4 MHz (four million cycles-per-second) crystal it is executing one million instructions per second. Each of the high-level commands in PICBASIC are made up of a bunch of the PIC's native low-level commands though so your PICBASIC programs won't appear to run that fast. The 32 kb (32 thousand bytes) is the amount of memory available on the PIC for storing your program. This is the part of the PIC you write your program to. There are some other types of memory on the PIC too - these are used for storing data used by your program.
Zach

September 21, 2005, at 03:35 PM by gjh235
Changed line 4 from:

As Fast Fourier Transform was brought up in class today, I thought I'd share a PDF that is rather straight-forward.\\

to:

As Fast Fourier Transform was brought up in class today, I thought I'd share a PDF that is rather straight-forward.

September 21, 2005, at 03:34 PM by gjh235
Changed lines 5-6 from:
  1. bare url: http://homepages.nyu.edu/~gjh235/PhysicalComputing.html
    I've done a bit of research in this area so contact me with any questions.//
to:

http://homepages.nyu.edu/~gjh235/PhysicalComputing.html
I've done a bit of research in this area so contact me with any questions.\\

September 21, 2005, at 03:33 PM by gjh235
Changed line 5 from:
  1. bare url: http://http://homepages.nyu.edu/~gjh235/PhysicalComputing.html\\
to:
  1. bare url: http://homepages.nyu.edu/~gjh235/PhysicalComputing.html\\
September 21, 2005, at 03:33 PM by gjh235
Changed lines 4-12 from:

Hi all. Anyone else get error messages from the Epic programmer. Specifically the errors looked like this.
Code verify error at 0000.
0000 should be 2801
Continue verifying?

Any ideas?
Thanks. Justin\\

to:

As Fast Fourier Transform was brought up in class today, I thought I'd share a PDF that is rather straight-forward.\\

  1. bare url: http://http://homepages.nyu.edu/~gjh235/PhysicalComputing.html
    I've done a bit of research in this area so contact me with any questions.//
September 21, 2005, at 07:52 AM by atp237
Added lines 15-21:

Hi Justin I recieved the same error message 0000 as well last night. Can't be sure of what the problem is, however when I tried code that I know for sure works in the same document the error persisted. I copied the code that I needed, opened up a new document and it downloaded fine. So my hunch was there was something not immediately evident about the particular file. That's probably not much help in answering your question, but at least you know you're not alone.
Alice atp237

September 20, 2005, at 12:03 AM by gjh235
Changed line 10 from:
to:

\\

September 20, 2005, at 12:03 AM by gjh235
Changed lines 11-12 from:

Any ideas? Thanks. Justin

to:

Any ideas?
Thanks. Justin\\

September 20, 2005, at 12:03 AM by gjh235
Added lines 4-14:

Hi all. Anyone else get error messages from the Epic programmer. Specifically the errors looked like this.
Code verify error at 0000.
0000 should be 2801
Continue verifying?
Any ideas? Thanks. Justin gjh235

September 19, 2005, at 11:19 AM by apa2
Changed line 10 from:

I created a couple of low tech MacGyver-like switches. Here is one made from a ChapStick dispenser. The only soldering was a for couple of headers. As you twist the bottom of the dispenser, some paperclips are raised until they make contact with the leads. \\

to:

I created a couple of low tech MacGyver-like switches. Here is one made from a ChapStick dispenser. The only soldering was for a couple of headers. As you twist the bottom of the dispenser, some paperclips are raised until they make contact with the leads. \\

September 19, 2005, at 11:12 AM by apa2
Changed line 12 from:
to:
September 19, 2005, at 10:43 AM by apa2
Changed line 12 from:
to:
September 19, 2005, at 10:39 AM by apa2
Changed line 12 from:
to:
September 19, 2005, at 10:29 AM by apa2
Changed line 12 from:
to:
September 19, 2005, at 10:17 AM by apa2
Changed lines 8-12 from:
to:

ot6

I created a couple of low tech MacGyver-like switches. Here is one made from a ChapStick dispenser. The only soldering was a for couple of headers. As you twist the bottom of the dispenser, some paperclips are raised until they make contact with the leads.
Adam
Attach:chapstick.jpg

September 18, 2005, at 06:03 PM by ot6
Changed lines 5-8 from:
to:

ilteris

good questions ilteris. I don't have the answers, but I'm glad I looked here and found your link to the 18f452 datasheets. I had trouble finding it on the microchip website since it seems like they're trying to phase this chip out in favor of 18f4520 18f452 page. The link to the datasheets on the top left doesn't work, but now i see the 18fxx2 datasheet link in the middle right of the same page.
ot6

September 14, 2005, at 06:52 PM by ik501
Changed line 5 from:
to:
September 14, 2005, at 06:51 PM by ik501
Changed line 4 from:

This pic18F452 got me excited all over. I cannot wait to get one of those. While we are on the subject I have found the datasheet of it, if you are interested. I got couple of questions though. So since Tom told us that we are going to use 4Mhz crystal clock to bang the chip, does this mean we have potentially bang it 4million times per seconds right? I have also found out on the datasheet that it has 32kb memory that is equal to 16387 cycles per second. So can someone enlighten me about those subjects, what are the difference of those, I think I am mixing up subjects here. If I go with an example, I want to process some information into the chip and then take out that information, does this mean It can do it 16387 times per second? So what about this 4mhz. What is it good for? Enlighten this poor guy.

to:

This pic18F452 got me excited all over. I cannot wait to get one of those. While we are on the subject I have found the datasheet of it, if you are interested. I got couple of questions though. So since Tom told us that we are going to use 4Mhz crystal clock to bang the chip, does this mean we have potentially bang it 4million times per seconds right? I have also found out on the datasheet that it has 32kb memory that is equal to 16387 cycles per second. So can someone enlighten me about those subjects, what are the difference of those, I think I am mixing up subjects here. If I go with an example, I want to process some information into the chip and then take out that information, does this mean It can do it 16387 times per second? So what about this 4mhz. What is it good for? Enlighten this poor guy. \\

September 14, 2005, at 06:50 PM by ik501
Added line 5:
September 14, 2005, at 02:43 PM by ik501
Changed lines 2-4 from:
to:

tigoe

This pic18F452 got me excited all over. I cannot wait to get one of those. While we are on the subject I have found the datasheet of it, if you are interested. I got couple of questions though. So since Tom told us that we are going to use 4Mhz crystal clock to bang the chip, does this mean we have potentially bang it 4million times per seconds right? I have also found out on the datasheet that it has 32kb memory that is equal to 16387 cycles per second. So can someone enlighten me about those subjects, what are the difference of those, I think I am mixing up subjects here. If I go with an example, I want to process some information into the chip and then take out that information, does this mean It can do it 16387 times per second? So what about this 4mhz. What is it good for? Enlighten this poor guy.

September 09, 2005, at 10:09 PM by mb2812
Changed lines 2-6 from:

tigoe

Which of these pages is considered the "journal"? Is each individual individual lab's page a place for everyone to log their experiences?
Matt

to:
September 09, 2005, at 10:07 PM by mb2812
Changed lines 2-6 from:
to:

tigoe

Which of these pages is considered the "journal"? Is each individual individual lab's page a place for everyone to log their experiences?
Matt

September 05, 2005, at 05:53 PM by tigoe
Changed line 1 from:

Howdy. Welcome to the class. If you've got any immediate questions for me, please email me instead of posting here. If you've got questions for the whole class, this is a fine place for it.

to:

Howdy. Welcome to the class. If you've got any immediate questions for me, please email me instead of posting here. If you've got questions for the whole class, this is a fine place for it. \\

September 05, 2005, at 05:53 PM by tigoe
Added lines 1-2:

Howdy. Welcome to the class. If you've got any immediate questions for me, please email me instead of posting here. If you've got questions for the whole class, this is a fine place for it. tigoe

Edit Page - Page History - Printable View - Recent Changes - Search