Hey everyone, hows it coming ?

0 views
Skip to first unread message

UHCL SenProj 010 spr/fall

unread,
Apr 23, 2010, 11:10:44 PM4/23/10
to UhclSeniorProj010
I would like to turn in the final documentation on Friday when we do
the presentation, maybe even on monday.

Has everyone done their two pages so duc can compile their
documentation? I'm going to work on the other sensors Sunday so we can
have a nice working prototype to show next week. I also created a more
viable 3d model and put it in duc's slide (we will use ducs slides
monday). you can see the video here
http://www.youtube.com/watch?v=tAvIcvFEMZE

If you havent done anything yet please just knock out those two pages
so we can get the documentation compiled ! Seriously a few paragraphs
and some diagrams/code should not take that long.

Dont wait till the last minute! I'm not planning to do the
documentation so if it does not get done its not going to just
"happen" we are going to get a bad grade because of no documentation.
But i'm sure it will all get done.


--
Subscription settings: http://groups.google.com/group/uhclseniorproj010/subscribe?hl=en

Scott Williams

unread,
Apr 23, 2010, 11:14:05 PM4/23/10
to UhclSeniorProj010
I have just uploaded my first motors code. I am sure it won't work
the first time, but its a start. Documentation is coming!

On Apr 23, 10:10 pm, "UHCL SenProj 010 spr/fall" <zonemi...@gmail.com>
wrote:
> I would like to turn in the final documentation on Friday when we do
> the presentation, maybe even on monday.
>
> Has everyone done their two pages so duc can compile their
> documentation? I'm going to work on the other sensors Sunday so we can
> have a nice working prototype to show next week. I also created a more
> viable 3d model and put it in duc's slide (we will use ducs slides
> monday). you can see the video herehttp://www.youtube.com/watch?v=tAvIcvFEMZE

zonemikel.com

unread,
Apr 23, 2010, 11:17:04 PM4/23/10
to uhclseni...@googlegroups.com
great, i dont expect anything that "works" just a first attempt ... we wont be running any of the code ...

Do good, Be Well,
Michael

--- On Fri, 4/23/10, Scott Williams <lswill...@gmail.com> wrote:

Trenton Franklin

unread,
Apr 24, 2010, 12:59:55 AM4/24/10
to UhclSeniorProj010
Just uploaded my pages of documentation....Would have had them up
earlier but I went to that student leadership banquet tonight and was
working all morning so I didn't have a chance to finish it until just
now.

http://groups.google.com/group/uhclseniorproj010/web/PIC%20Doc.docx

On Apr 23, 10:17 pm, "zonemikel.com" <zonetejasmi...@yahoo.com> wrote:
> great, i dont expect anything that "works" just a first attempt ... we wont be running any of the code ...
>
> Do good, Be Well,
>
>           Michael
>
> --- On Fri, 4/23/10, Scott Williams <lswilliam...@gmail.com> wrote:

Joseph Lopez

unread,
Apr 24, 2010, 1:46:50 AM4/24/10
to UhclSeniorProj010
Didn't have a chance to really work on it today, but I have started on
it. I figured I'd go into why we're using one battery type over
another as well as the charger. I'm hoping to have it up here
Saturday night at the latest.
Joseph

On Apr 23, 11:59 pm, Trenton Franklin <trenton...@earthlink.net>
wrote:

zonemikel.com

unread,
Apr 24, 2010, 12:31:37 PM4/24/10
to uhclseni...@googlegroups.com
Just a summary of what you did during the semester would be good too. We can have detail since its documentation but dont kill yourself. I would just contrast the charger designs ... talk a little about the one that didnt work, just talk about what you spent time on.
 
Ultimatley we need all the documentation done to turn in by next friday, but thats in duc's hands, but of course duc cant put it all together until he has it. If you get it done early enough duc i can look it over and see if i can improve on the documentation anywhere.

Do good, Be Well,
Michael

--- On Sat, 4/24/10, Joseph Lopez <jolo...@gmail.com> wrote:

Duc Tran

unread,
Apr 24, 2010, 3:50:54 PM4/24/10
to UhclSeniorProj010
Ok, I'm gonna have to work on it hardcore on Tues.-Thurs. As you can
see I've made a template for the documentation but it is far from
where I want it to be. And I'll work on some extra slides tonight for
the practice presentation on Mon.

On Apr 24, 11:31 am, "zonemikel.com" <zonetejasmi...@yahoo.com> wrote:
> Just a summary of what you did during the semester would be good too. We can have detail since its documentation but dont kill yourself. I would just contrast the charger designs ... talk a little about the one that didnt work, just talk about what you spent time on.
>  
> Ultimatley we need all the documentation done to turn in by next friday, but thats in duc's hands, but of course duc cant put it all together until he has it. If you get it done early enough duc i can look it over and see if i can improve on the documentation anywhere.
>
> Do good, Be Well,
> Michael
>
> --- On Sat, 4/24/10, Joseph Lopez <jolope...@gmail.com> wrote:

Joseph Lopez

unread,
Apr 24, 2010, 4:57:40 PM4/24/10
to UhclSeniorProj010
I've uploaded my documentation. Went past the two page mark, but I
figured too much was better than too little. Anything that you guys
want me to change, add, or otherwise alter, let me know.

http://uhclseniorproj010.googlegroups.com/web/charger+documentation+sp10.doc

zonemikel.com

unread,
Apr 24, 2010, 5:24:10 PM4/24/10
to uhclseni...@googlegroups.com
Ok Joseph Good Job, so far we have Trent, Joseph and Me done with their documentation. Duc has a template and is ready to fill it in.

Everyone look at this diagram, this is what our "robot" is going to "do" this is its purpose. We basically want to be able to control the robot through the internet to demostrate how a human workforce could be automated through the internet( outsourcing anyone? )


Duc, tues-thurs is not really good enough. I would really prefer to look over the documentation before we submit it. I dont want stuff in there that is erronious, like old diagrams and such that dont really have anything to do with what we are doing. Its not that I dont trust you its just that I have a clear picture in my head of what the project is about and it changes quickly. For example this is what our current goals are
http://uhclseniorproj010.googlegroups.com/web/jinx_overview.png?hl=en&gsc=qnzfiwsAAACmDSW8YMMQIvcFKbXxqLSk I know you will prob do it all right I just want to doctor it up to make sure It reflects what we want to do next semester. Just do your best and have it done by wed night so i can finish it off and upload it thursday. Call me if you have any questions. you should be able to start now and just leave a space for Scotts contribution.

I'm pretty sure Scott is almost done also, he said he just needed to write up some documentation, he has already submitted the code.

Do good, Be Well,
Michael

--- On Sat, 4/24/10, Joseph Lopez <jolo...@gmail.com> wrote:

zonemikel.com

unread,
Apr 24, 2010, 5:28:23 PM4/24/10
to uhclseni...@googlegroups.com
This was in the latest version of the code ....

// sensors.h 
 
/* this just has some examples duc you really just need to map the sensorNumber
that the user requests to the set_acd_channel(channel) then take the reading
and return it. So you will need to make a list of the sensors and what number
they would be. Lets just assume you have channels 0 to 7 for now. */
 
//these are just examples you dont need these since you are using channels
// not pins
#define ls0 PIN_A0
#define ls1 PIN_A1
#define ls2 PIN_A3
 
#define vref 5
 
// variables to use
int16 adc_value; // adc read from AN0 0-1023
float volts; // volts 0-5v
 
// todo: documentation
// you could use ifstatements or a switch case .. i recommend switch case
float getSensor(int sensorNumber){
   set_adc_channel(0); // here you set the channel to 0, ra0 
   adc_value = read_adc();
   volts = (float)(adc_value * vref)/1023.0;
 
return volts; // return your result
}// end function
 

// AND MOTORS.H

// motors.h file 
 
// motor array of bits 
int8 lmotor=0;
int8 rmotor=0;
 
// this is just one way you could do it however you want
void setMotorSpeed(char side, int speed){
   int8 speedvar=0;
   if(speed == 10){speedvar=0b11111111;} // or 0xff or 255
   if(speed == 5){speedvar=0b00001111;} // or 0xf or 15
   
   if(side == 'l'){lmotor=speedvar;}
   if(side == 'r'){rmotor=speedvar;}
}


Do good, Be Well,
Michael

--- On Sat, 4/24/10, zonemikel.com <zonetej...@yahoo.com> wrote:

Duc Tran

unread,
Apr 24, 2010, 6:30:52 PM4/24/10
to UhclSeniorProj010
I'm not sure what you mean by this: "So you will need to make a list
of the sensors and what number
they would be. Lets just assume you have channels 0 to 7 for now."

Something like this:?

How is the case statements different from
set_adc_channel(sensorNumber)? Does it not do the same thing?

---start function---
#define ls0 0
#define ls1 1
#define ls2 2

#define vref 5

float getSensor(int sensorNumber)
{
int16 adc_value;
float volts = 0;

setup_adc_ports(ALL_ANALOG);
setup_adc(ADC_CLOCK_DIV_8);

switch(sensorNumber){

case '0' :
set_adc_channel(0);
delay_us(10);
adc_value = read_adc();
volts = (float) (adc_value*vref)/1023.0;
return volts;
break;
case '1':
set_adc_channel(1);
delay_us(10);
adc_value = read_adc();
volts = (float) (adc_value*vref)/1023.0;
return volts;
break;
case '2':
set_adc_channel(2);
delay_us(10);
adc_value = read_adc();
volts = (float) (adc_value*vref)/1023.0;
return volts;
break;
default:
break;
}

   return volts;
}
----end function---

P.S. Guess no sleep for me on Tues. YAY!!! But seriously, I'll will
try to compile everyone's part in the documentation by Wed.
> --- On Sat, 4/24/10, zonemikel.com <zonetejasmi...@yahoo.com> wrote:
>
> From: zonemikel.com <zonetejasmi...@yahoo.com>
> Subject: Re: Hey everyone, hows it coming ?
> To: uhclseni...@googlegroups.com
> Date: Saturday, April 24, 2010, 5:24 PM
>
> Ok Joseph Good Job, so far we have Trent, Joseph and Me done with their documentation. Duc has a template and is ready to fill it in.
>
> Everyone look at this diagram, this is what our "robot" is going to "do" this is its purpose. We basically want to be able to control the robot through the internet to demostrate how a human workforce could be automated through the internet( outsourcing anyone? )
>
> Duc, tues-thurs is not really good enough. I would really prefer to look over the documentation before we submit it. I dont want stuff in there that is erronious, like old diagrams and such that dont really have anything to do with what we are doing. Its not that I dont trust you its just that I have a clear picture in my head of
>  what the project is about and it changes quickly. For example this is what our current goals arehttp://uhclseniorproj010.googlegroups.com/web/jinx_overview.png?hl=en...I know you will prob do it all right I just want to doctor it up to make sure It reflects what we want to do next semester. Just do your best and have it done by wed night so i can finish it off and upload it thursday. Call me if you have any questions. you should be able to start now and just leave a space for Scotts contribution.
>
> I'm pretty sure Scott is almost done also, he said he just needed to write up some documentation, he has already submitted the code.
>
> Do good, Be Well,
>
>           Michael
>
> --- On Sat, 4/24/10, Joseph Lopez <jolope...@gmail.com> wrote:
>
> From: Joseph Lopez <jolope...@gmail.com>
> Subject: Re: Hey everyone, hows it coming ?
> To: "UhclSeniorProj010" <uhclseni...@googlegroups.com>
> Date: Saturday, April 24, 2010, 4:57 PM
>
> I've uploaded my documentation.  Went past the two page mark, but I
> figured too much was better than too little.  Anything that you guys
> want me to change, add, or otherwise alter, let me know.
>
> http://uhclseniorproj010.googlegroups.com/web/charger+documentation+s...

zonemikel.com

unread,
Apr 24, 2010, 9:52:45 PM4/24/10
to uhclseni...@googlegroups.com
No sleep on tuesday ? You have plenty of time, it should take you no longer than 2 hours to do the documentation, if you feel that you cannot let us know now before it gets too late.

The sensors function looks fine, so did the other one. What we need is ... well we really dont know what we need but that function gives us options for each sensor which is great.

See you all on monday.

Do good, Be Well,
Michael

--- On Sat, 4/24/10, Duc Tran <dtra...@gmail.com> wrote:

Scott Williams

unread,
Apr 24, 2010, 11:53:20 PM4/24/10
to UhclSeniorProj010
I have uploaded my documentation for the motor control, it is in the
files section. See you guys monday!

On Apr 24, 8:52 pm, "zonemikel.com" <zonetejasmi...@yahoo.com> wrote:
> No sleep on tuesday ? You have plenty of time, it should take you no longer than 2 hours to do the documentation, if you feel that you cannot let us know now before it gets too late.
>
> The sensors function looks fine, so did the other one. What we need is ... well we really dont know what we need but that function gives us options for each sensor which is great.
>
> See you all on monday.
>
> Do good, Be Well,
>
>           Michael
>
> --- On Sat, 4/24/10, Duc Tran <dtranu...@gmail.com> wrote:
> >  what the project is about and it changes quickly. For example this is what our current goals arehttp://uhclseniorproj010.googlegroups.com/web/jinx_overview.png?hl=en...know you will prob do it all right I just want to doctor it up to make sure It reflects what we want to do next semester. Just do your best and have it done by wed night so i can finish it off and upload it thursday. Call me if you have any questions. you should be able to start now and just leave a space for Scotts contribution.
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Scott Williams

unread,
Apr 25, 2010, 2:24:57 PM4/25/10
to UhclSeniorProj010
I have uploaded a modified presentation. I added several slides for
motor control. Let me know what you guys think.
> > >  what the project is about and it changes quickly. For example this is what our current goals arehttp://uhclseniorproj010.googlegroups.com/web/jinx_overview.png?hl=en...you will prob do it all right I just want to doctor it up to make sure It reflects what we want to do next semester. Just do your best and have it done by wed night so i can finish it off and upload it thursday. Call me if you have any questions. you should be able to start now and just leave a space for Scotts contribution.

Duc Tran

unread,
Apr 25, 2010, 4:29:54 PM4/25/10
to UhclSeniorProj010
Alright I've included Scott's slides into the ppt as well as some
extra ones. Mike, I'll leave it up to you to do the final editing. See
you guys tomorrow and good luck on that test!
> > > >  what the project is about and it changes quickly. For example this is what our current goals arehttp://uhclseniorproj010.googlegroups.com/web/jinx_overview.png?hl=en...will prob do it all right I just want to doctor it up to make sure It reflects what we want to do next semester. Just do your best and have it done by wed night so i can finish it off and upload it thursday. Call me if you have any questions. you should be able to start now and just leave a space for Scotts contribution.
> ...
>
> read more »

Duc Tran

unread,
Apr 25, 2010, 4:33:33 PM4/25/10
to UhclSeniorProj010
Whoops forgot to mention, it is this file
SP_FinalPresentation_D_V1.0.ppt.
> > > > >  what the project is about and it changes quickly. For example this is what our current goals arehttp://uhclseniorproj010.googlegroups.com/web/jinx_overview.png?hl=en...prob do it all right I just want to doctor it up to make sure It reflects what we want to do next semester. Just do your best and have it done by wed night so i can finish it off and upload it thursday. Call me if you have any questions. you should be able to start now and just leave a space for Scotts contribution.
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages