caramoan tour package

caramoan tour package

Author Topic: RTOS for mini MOBOT  (Read 4442 times)

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #20 on: April 04, 2008, 03:47:37 PM »
Try mo microCos/ uCos-II
download here: http://www.micrium.com/products/rtos/ucos-ii_download.html

maganda yan kaso depende rin sa microcon mo kung naka port na kung gusto mo ikaw na lang mag port pero since bago ka pa yata sa RTOS mahihirapan ka, so hanap ka na lang ng mga micro con na na nakaport... alam ko marami sa atmel, sa Zilog wala yata...
di pala 'to pwede sa PIC16 series..  :'( pic16lf73 lang ang gamit ko..  :'(
anong pala ibig sabihin ng naka-"port" ?  ???
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: RTOS for mini MOBOT
« Reply #20 on: April 04, 2008, 03:47:37 PM »

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10726
  • Pogi/Ganda Points: 631
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: RTOS for mini MOBOT
« Reply #21 on: April 04, 2008, 03:56:29 PM »
"port" - move from one system to another...example originally written for PIC18, pag linipat sa PIC16, "port" yun...

or kung program sa Linux, linipat sa Windows, "port" din yun...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Philippine Electronics Forum

Re: RTOS for mini MOBOT
« Reply #21 on: April 04, 2008, 03:56:29 PM »

Offline celdricg

  • Size AA Battery
  • ****
  • Posts: 113
  • Pogi/Ganda Points: 3
    • http://www.bobongbooks.com/
Re: RTOS for mini MOBOT
« Reply #22 on: April 04, 2008, 07:36:46 PM »
baka meron browse mo sa site nila or i-google mo

Philippine Electronics Forum

Re: RTOS for mini MOBOT
« Reply #22 on: April 04, 2008, 07:36:46 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #23 on: April 04, 2008, 08:46:41 PM »
Use the CCP peripheral.
-Clear the TRIS of the CCPx output.
-Set bit3 and bit2 of CCPxCON to high and PWM mode will run.
-Set PR2 for the period
-Set CCPRxL + CCPxCONbits 5 and 4 as the duty cycle.
-Turn on Timer2
buti na lang may section ng PWM settings sa Project Wizard ng CCS C.. ayos.. :D
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: RTOS for mini MOBOT
« Reply #23 on: April 04, 2008, 08:46:41 PM »

Offline paranz

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4525
  • Pogi/Ganda Points: 177
  • Gender: Male
  • 1/4W resistor specialist
    • RapidSignal Electronics
Re: RTOS for mini MOBOT
« Reply #24 on: April 04, 2008, 09:52:24 PM »
buti na lang may section ng PWM settings sa Project Wizard ng CCS C.. ayos.. :D

gamit ka nalang ng hitech c kasi mas lalong maiintidihan ang pic hardware habang nagacode ka. Medyo mahirap nga sa simula lang pero you understand deeper, which is important.


Try mo microCos/ uCos-II
download here: http://www.micrium.com/products/rtos/ucos-ii_download.html

maganda yan kaso depende rin sa microcon mo kung naka port na kung gusto mo ikaw na lang mag port pero since bago ka pa yata sa RTOS mahihirapan ka, so hanap ka na lang ng mga micro con na na nakaport... alam ko marami sa atmel, sa Zilog wala yata...

ok rin siguro ito. Matestingan ko rin ito balang later. Marami magagandang features i like it  :D
Thanx for sharing


PIC16 Programming Tutorial using MPLAB and Hi-Tech C
www.rapidsignalph.com/tutorials/pic16-tutorials

Arduino & gizDuino Tutorials
www.rapidsignalph.com/tutorials/arduino-tutorials

Philippine Electronics Forum

Re: RTOS for mini MOBOT
« Reply #24 on: April 04, 2008, 09:52:24 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #25 on: April 04, 2008, 10:01:05 PM »
gamit ka nalang ng hitech c kasi mas lalong maiintidihan ang pic hardware habang nagacode ka. Medyo mahirap nga sa simula lang pero you understand deeper, which is important.
nakakawalang-gana pag di ko maintindihan ang proces,
lalo na kung magpapalit pa ako ng compiler,
kaya CCS C lang muna ako.. ahihihihi  :D

meron rin ngang RTOS ang CCS, di ko lang alam kung paano gamitin..  :(
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: RTOS for mini MOBOT
« Reply #26 on: April 04, 2008, 10:09:16 PM »
nakakawalang-gana pag di ko maintindihan ang proces,
lalo na kung magpapalit pa ako ng compiler,

medyo nakakarelate ako kasi dati ayaw ko din magpalit ng compiler. but nung lumipat ako ng ibang compiler,wala yung mga functions na nakasanayan ko kaya napilitan akong intindihin ang mga bagay bagay ;D kaya ngayon nakakailang palit ng ako ng compiler, as much as possible di ko ginagamit ang mga hardware peripheral functions kundi yung mga normal functions tulad ng printf,sprintf etc
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #27 on: April 05, 2008, 01:10:26 PM »
nakakainis.. mabilis ang andar ng minibot ko..  >:(
sa bilis nya, babangga muna sya bago madetect yung obstacle!..  waaaa :'(
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6129
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: RTOS for mini MOBOT
« Reply #28 on: April 05, 2008, 01:11:47 PM »
nakakainis.. mabilis ang andar ng minibot ko..  >:(
sa bilis nya, babangga muna sya bago madetect yung obstacle!..  waaaa :'(

at least nadetect nya ;D ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #29 on: April 05, 2008, 01:13:56 PM »
at least nadetect nya ;D ;D
palitan ko na kaya specs ng minibot ko..
hindi na obstacle-avoiding, obstacle-crashing mobot na!..  :'(
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10726
  • Pogi/Ganda Points: 631
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: RTOS for mini MOBOT
« Reply #30 on: April 05, 2008, 01:18:48 PM »
ganyan talaga...hindi pa perfect sa una... :)

yung mobot ko dati pag naka-detect ng obstacle, nahihilo... ;D
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #31 on: April 05, 2008, 01:22:59 PM »
ok lang sana bumangga basta makakabalik pa,
kaso walang reverse direction ang motors nya, kaya wala rin syang backward movement..  :'(
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline paranz

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4525
  • Pogi/Ganda Points: 177
  • Gender: Male
  • 1/4W resistor specialist
    • RapidSignal Electronics
Re: RTOS for mini MOBOT
« Reply #32 on: April 05, 2008, 01:30:33 PM »
ok lang sana bumangga basta makakabalik pa,
kaso walang reverse direction ang motors nya, kaya wala rin syang backward movement..  :'(

If maliit lang current ng motor (< 20mA), pwede naman siguro i-connect diretso sa PIC pins para ma-reverse ang motor. Then, cross your fingers na hindi maapektuhan ang PIC sa noise ng motor  ;D
PIC16 Programming Tutorial using MPLAB and Hi-Tech C
www.rapidsignalph.com/tutorials/pic16-tutorials

Arduino & gizDuino Tutorials
www.rapidsignalph.com/tutorials/arduino-tutorials

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #33 on: April 05, 2008, 01:34:54 PM »
If maliit lang current ng motor (< 20mA), pwede naman siguro i-connect diretso sa PIC pins para ma-reverse ang motor. Then, cross your fingers na hindi maapektuhan ang PIC sa noise ng motor  ;D
sinukat ko dati yug steady current ng motor @ 3V, mas mataas sya compared dun sa rated sink/source ng pins ng pic..
ano pa kaya kung switching na yung motor drive..  kaya di ko na dinirekta.. :'(
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10726
  • Pogi/Ganda Points: 631
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: RTOS for mini MOBOT
« Reply #34 on: April 05, 2008, 01:39:34 PM »
pwede gumawa ng h-bridge na 4 npn transistors (2 pnp + 2 npn kung mas mataas sa 5V yung motor)...lalaki nga lang yung mobot mo...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #35 on: April 05, 2008, 01:45:16 PM »
pwede gumawa ng h-bridge na 4 npn transistors (2 pnp + 2 npn kung mas mataas sa 5V yung motor)...lalaki nga lang yung mobot mo...
3V lang kasi ang supply ng motor..  :'(
kahit yung pinagayahan ko ng hardware ng motor, 1 npn lang ang ginamit..
http://elm-chan.org/works/ltc/report.html
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10726
  • Pogi/Ganda Points: 631
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: RTOS for mini MOBOT
« Reply #36 on: April 05, 2008, 01:51:18 PM »
hmmm...kung kailangan talaga umataras at hindi pwede h-bridge, pwede dagdag ng motor sa kabilang side ng gulong for reverse...dagdag hardware nga lang...

nakita ko rin dati yang site na yan...binalak ko ring gumawa pero na-arbor ng ibang tao yung mga vibrator ko ng cellphone kaya hindi na natuloy...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: RTOS for mini MOBOT
« Reply #37 on: April 05, 2008, 01:55:34 PM »
hmmm...kung kailangan talaga umataras at hindi pwede h-bridge, pwede dagdag ng motor sa kabilang side ng gulong for reverse...dagdag hardware nga lang...
hindi rin pwede 'to..  :(

lagyan ko na lang kaya ng parang spring para mag-bounce sya ng kaunti,
then may space na sya para makaliko.. ahihihi  :D
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10726
  • Pogi/Ganda Points: 631
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: RTOS for mini MOBOT
« Reply #38 on: April 05, 2008, 03:42:59 PM »
ah nadidikit na sa pader... ;D

yung unang mobot ko, may bumper na may spring...ang purpose talaga nun para wag mabasag ng mabasag yung PCB pag nabangga...pero useful naman dahil nakaka-maneuver kahit napunta sa sulok...
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Philippine Electronics Forum

Re: RTOS for mini MOBOT
« Reply #38 on: April 05, 2008, 03:42:59 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com