mikroElektronika

Development Tools, Compilers, Books
It is currently 08 Sep 2010 16:11

All times are UTC + 1 hour




Post new topic Reply to topic  [ 512 posts ]  Go to page Previous  1 ... 31, 32, 33, 34, 35  Next
Author Message
 Post subject: Re: PIC related website
PostPosted: 28 Jul 2010 19:01 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
joseLB wrote:
Just making chimmic and your words mine too, I collected some interesting ideas for a good usage for old PS2 optical mouses.
As you can see at this documentation I collected - including datasheet (there are plenty at Internet), the idea is to use a mouse as a very simple camera, or better, as it has a lot of processing power for image movement detection, use it as a movement sensor, telling if the object has moved on this/that direction, or at a robot if there are objects coming on it's direction and so on, Sun movement, target positioning, etc., etc., etc.
What about to have some positioning routines at your unit? :mrgreen: :oops: :roll:
documentation: http://www.docpro.com.br/multimidia/Mou ... asheet.zip
Jose
Nice idea, I will study the documentation you provided. :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 06 Aug 2010 19:08 
Offline

Joined: 30 Sep 2006 21:09
Posts: 17
http://users.edpnet.be/rosseel01/DRO/PI ... _HID_Keybd
page not work....anyone have USB_HID_Keyb_Library.mpa ?


Last edited by mpardinho on 07 Aug 2010 18:17, edited 2 times in total.

Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 07 Aug 2010 10:02 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
mpardinho wrote:
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#USB_HID_Keybd
page not work....anyone have USB_HID_Keyb_Library.mpa ?
If you give me your email address I can send it to you. :D

Has anyone else also problems accessing http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#USB_HID_Keybd?

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 07 Aug 2010 18:18 
Offline

Joined: 30 Sep 2006 21:09
Posts: 17
send me please brother mpardinho@hotmail.com
many thanks for help.


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 07 Aug 2010 19:02 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
mpardinho wrote:
send me please brother mpardinho@hotmail.com
many thanks for help.
Done. :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 08 Aug 2010 16:33 
Offline

Joined: 30 Sep 2006 21:09
Posts: 17
is posible to send me the file?
http://users.edpnet.be/rosseel01/DRO/PI ... yboard.zip

many thanks

your site not work?
you need host for your site? i can create a sub-domain in my site.


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 08 Aug 2010 16:56 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
mpardinho wrote:
Done...

mpardinho wrote:
your site not work?
Normally my site works fine. Perhaps the problem is also something like this: http://www.mikroe.com/forum/viewtopic.php?f=88&t=24911&start=2. Please have a look.

mpardinho wrote:
you need host for your site? i can create a sub-domain in my site.

Anyway, thanks for the "host" offer, but for now I do not need it! :D :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 09 Aug 2010 16:29 
Offline

Joined: 30 Sep 2006 21:09
Posts: 17
i have one problem with USB_PS2_Keyboard
i send caracter $38 = / than pc show ;
i need show ?
but / not work

ps... i changed my dns and your page work 100% :D


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 09 Aug 2010 19:32 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
mpardinho wrote:
i have one problem with USB_PS2_Keyboard
i send caracter $38 = / than pc show ;
i need show ?
but / not work
Character $38 is both for "/" and "?". The "?" is the shift version, so in byte 0 of the HID input report you will have to set a "shift" modifier bit (e.g. bit 1 or bit 5).

The modifier bits are:
HID1_11.pdf wrote:
0: LEFT CTRL
1: LEFT SHIFT
2: LEFT ALT
3: LEFT GUI
4: RIGHT CTRL
5: RIGHT SHIFT
6: RIGHT ALT
7: RIGHT GUI


mpardinho wrote:
ps... i changed my dns and your page work 100% :D
Glad to hear so. :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 10 Aug 2010 12:43 
Offline

Joined: 30 Sep 2006 21:09
Posts: 17
i try byte 0 = 1 and byte 1 = $38, but show "ç"


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 13 Aug 2010 19:54 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
joseLB wrote:
Quote:
Hard to stop writing, isn't it ?
Indeed...
Great Dany, as always.... thanks again.

Just making chimmic and your words mine too, I collected some interesting ideas for a good usage for old PS2 optical mouses.

As you can see at this documentation I collected - including datasheet (there are plenty at Internet), the idea is to use a mouse as a very simple camera, or better, as it has a lot of processing power for image movement detection, use it as a movement sensor, telling if the object has moved on this/that direction, or at a robot if there are objects coming on it's direction and so on, Sun movement, target positioning, etc., etc., etc.
What about to have some positioning routines at your unit? :mrgreen: :oops: :roll:
documentation: http://www.docpro.com.br/multimidia/Mou ... asheet.zip
Jose
Hi Jose,
I studied the link and what I see is (I hope I am not wrong) ideas about how to use a component that is present in some optical mouses (ADNS-2610). This is of course a total different subject than the thing called "PS2 mouse" (what this unit is about), how interesting it may be of course (and it is...).
So, I propose not to add anything to the "PS2 Mouse" unit because of the possible usage of that component.
At this moment I have no optical mouses that I can destroy for component extraction. Perhaps I will look later deeper into the ADNS-2610 possibilities.

Anyway: thanks for the suggestion! :D :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 15 Aug 2010 13:23 
Offline

Joined: 02 Apr 2006 05:56
Posts: 345
Location: Riode Janeiro, Brasil
Dany wrote:
This is of course a total different subject than the thing called "PS2 mouse" (what this unit is about), how interesting it may be of course (and it is...).
So, I propose not to add anything to the "PS2 Mouse" unit because of the possible usage of that component.
At this moment I have no optical mouses that I can destroy for component extraction. Perhaps I will look later deeper into the ADNS-2610 possibilities.
Indeed Dany, it's a complete distinct usage of the "mouse". Meanwile I will try to define better what would be interesting routines/functions for it.

I see at least 2 main classes. Use it positioning functions and it's "camera". I am seeing some articles in "optical flow", that's the tecnique they use and that is being used for movement detection, objects distance, etc. In some applications you even need distinct lenses...
Jose


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 17 Aug 2010 15:56 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
Hi, a small unit has been added to the website:

TimeBase.mpas (see http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#TimeBase). It permits to measure times (e.g. execution times of codeparts or repetitiontimes of events) in milliseconds (max 65535 = 65.5 seconds) or in seconds (max 65535 = 1092 minutes = 18.2 hours).
Can also be used to make things happen after simply a certain amount of time elapsed.

The principle is simple:
- get a time mark at the start of the measurement
- let the event to be measured execute to closure
- get the time elapsed since the time mark taken earlier

The timing resolution is 1 millisecond, hence the unit has a routine "UpdateTimeBase" to be called by a 1 msec timer interrupt.
Also the program that uses the unit has to define the "TimebaseTimerInterruptBit" variable: the interrupt enable bit of the timer used to call "UpdateTimeBase", e.g.
var TimebaseTimerInterruptBit: sbit at TMR2IE_bit; // timer 2 is the 1 ms timer used here

A small example project: http://users.edpnet.be/rosseel01/DRO/PIC/TimeBasetest.zip.

Have fun! :D :D :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 20 Aug 2010 19:43 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
Hi all,

The following tools have been updated: the "copy to clipboard" feature has been added. In some cases some other small things have been made better or have been added.

Have fun! :D :D

Tool:
RamSizes (v4.1), see http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#RamSizes
RomSizse (v4.0), see http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#RomSizes
Function Calls (v3.3), see http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#FunctionCalls
Global Variables (v4.1), see http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#GlobalVars

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
 Post subject: Re: PIC related website
PostPosted: 29 Aug 2010 12:38 
Offline

Joined: 18 Jun 2008 11:43
Posts: 1962
Location: Nieuwpoort, Belgium
Hi,

the "FunctionCalls" tool has been equipped with a graphical representation of the call tree of a selected routine, see http://users.edpnet.be/rosseel01/DRO/PIC/index.htm#FunctionCalls.


Image

Have fun! :D :D

_________________
Kind regards, Dany.
(happy user of mikroPascal PRO, PicFlash2, RTClock, Max232 board, PICFlash Experimental Board, Ethernet PROTO board, MMC/SD Card Proto board, Yo2Lio's and Janni's libraries)
http://users.edpnet.be/rosseel01/DRO/PIC/index.htm


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 512 posts ]  Go to page Previous  1 ... 31, 32, 33, 34, 35  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group