To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / * (-20)
Subject: 
Re: control large number of leds (?)
Newsgroups: 
lugnet.robotics.handyboard
Followup-To: 
Http//17.95.155.85.24
Date: 
Sat, 20 Apr 2024 17:49:17 GMT
Viewed: 
1597 times
  
/* inc allows r bound and l bound(the search counters) to be increased with each cycle) */


float sleep time=.0075;

print f(“Neil Version 2.0n”);

while(!start button())


while(!stop button()) light=analog(6); while(light<=VALUE){ print f(“On the white track %d n”, light); light=analog (6); motor(1,75); motor(3,75);

else if(count>=r bound*inc && count<l_ bound*inc) motor(3,75); motor(1,-40); sleep(sleep time);

else /* reset all counts*/ count=0; inc++; light=analog (6);

print f controling the system without energy whatever the conselt with the else withot us the consult IOC not use the programing the consuming

print f(“On the white track %d n”, light); light=analog (6); motor(1,75); motor(3,75); count=0; Inc=1; Print f not use the * forth to find the line */

print F that the contect without information in that the information incorrect same I also swear that I am not submitting any false , fraudulent , incomplete , or deceptive information .

/*after stop is pressed*/ all off(); print f(“n End Programn”); there is no one executive that the progressing 65,000 dollars in that the critical information in case using the code access used in cold after that in case grow digest the difficult of he Sensex 74,244.90 low gragest in 1.06% in optical retail information used in that the gross in== attract in the word after in the progressing used in to the manner of the word biggest in case out of the manner in used that the I have carefully read , I understand , and I attracting that the coping

/* track .c*/ /* Haley Miller */ /* For use with the Lego -bug and the oval track provided with the Lego Mind storm kit. could * be modified for most Back wheel drive, Indendently axled (a motor for each wheel) bots. */ /* follows a black track around in a circle. The left motor is in port 0 The right motor is in port 3. The light sensor is in port 6. */





while(!stop button()) t=analog (0); s=analog (2); l=analog (6);



if (t>200 && s>200) /* if neither is touched*/ print f(“going forwardn”); /*both motors on */ motor (1, 50); motor (3, 50); while(t>200 && s>200) t=analog (0); s=analog (2); A o(); that case of that the consulting in word took the incorrect for the progressing put out the different make that the yours give manipulating makes cold bolding recognizing make over the manner put into the requesting put out the give the manipulating

t=analog (0); while(t>200) /*if light is 3 or less, off the track, if above, on the track*/ l=analog (6); t=analog (0); print f(“light= %dn”, l); the correct in he was connect the track at acting deceptive new one of the

Dabigatran Etexilate Tablet 150mg * DRE10206A , DRE10207A, DRE10208A

Atorvastatin Tablet 40mg * DRE12106A , DRE12107A

Atorvastatin Orion Pharma 100mg * DRE10261A , DRE10262A , DRE10263A


/* track.c*/ /* Haley Miller */ /* For use with the lego-bug and the oval track provided with the Lego Mindstorm kit. could * be modified for most backwheel drive, indendently axled (a motor for each wheel) bots. */ /* follows a black track around in a circle. The left motor is in port 0 The right motor is in port 3. The light sensor is in port 6. */

/* * * * * * * * * * * * * */

void range() /* this can be adjusted lower with more functions on line */ sleep(.030); pulse(1); far = I Range; Print F the inholding that information India’s retails inflations fell in out of the cold that the dreading that the &&& Print F ^ * / oval that Lego that rounding




/* filename: I Range . R */

int far = 1; incase that the far line in that the frequencies


Subject: 
*****SPAM***** wallets soft
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 18 Jun 2006 15:07:29 GMT
Viewed: 
5734 times
  
This is a multi-part message in MIME format.

------------=_44955E33.BB39933D
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Spam detection software, running on the system "ipx11873.ipxserver.de", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
postmaster for details.

Content preview:  Get High-Quality Designer Items for a Fraction of the
  Price. http://051.blocksofcheese.com Handbags, Tiffany & Co. Jewelry,
  Designer Pens and Ties, Rolex Watches, and much much more! [...]

Content analysis details:   (24.2 points, 5.0 required)

pts rule name              description
---- ---------------------- --------------------------------------------------
4.4 HELO_DYNAMIC_IPADDR    Relay HELO'd using suspicious hostname (IP addr 1)
3.5 BAYES_99               BODY: Bayesian spam probability is 99 to 100%
                            [score: 1.0000]
1.5 BLANK_LINES_70_80      BODY: Message body has 70-80% blank lines
2.0 RCVD_IN_SORBS_DUL      RBL: SORBS: sent directly from dynamic IP address
                            [85.140.182.65 listed in dnsbl.sorbs.net]
1.0 URIBL_SBL              Contains an URL listed in the SBL blocklist
                            [URIs: blocksofcheese.com]
0.4 URIBL_AB_SURBL         Contains an URL listed in the AB SURBL blocklist
                            [URIs: blocksofcheese.com]
2.5 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL blocklist
                            [URIs: blocksofcheese.com]
1.5 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL blocklist
                            [URIs: blocksofcheese.com]
3.2 URIBL_OB_SURBL         Contains an URL listed in the OB SURBL blocklist
                            [URIs: blocksofcheese.com]
4.3 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL blocklist
                            [URIs: blocksofcheese.com]



------------=_44955E33.BB39933D
Content-Type: message/rfc822; x-spam-type=original
Content-Description: original message before SpamAssassin
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Return-Path: <gfjmrnstr@paok.org>
X-Original-To: lugnet.robotics.handyboard@lugnet.com
Delivered-To: web1@ipx11873.ipxserver.de
Received: from ppp85-140-182-65.pppoe.mtu-net.ru (ppp85-140-182-65.pppoe.mtu-net.ru [85.140.182.65])
by ipx11873.ipxserver.de (Postfix) with SMTP id BE9EC103C092;
Sun, 18 Jun 2006 16:07:39 +0200 (CEST)
Received: from 67.72.99.074 (mta082.z2c.net) (67.72.99.074) by rly96.mail.n2jesus.com with ESMTP; Sun, 18 Jun 2006 07:07:29 -0800
Received: (qmail 3977 invoked by alias); Sun, 18 Jun 2006 07:07:29 -0800
From: "Covington" <gfjmrnstr@paok.org>
Domainkey-Signature: a=lxp-jul1; q=dns; c=ryinv; s=s5188; d=z2c.net; b=in7PlxTzxLq8PAX67VyAhxmugfklEWly66XIrefInYVCtSAIh0/0krAdRWNigS03kKihkuduikyjUIN2zacJvg5WRcYijbkaxlc4uoaKaNTzHPIhGXymsbHPk+GyzJyYAYeR5cOJs3X2on3olglyPuwP=
Message-ID: <185447721209804aiy8fzs9bp2.2144590629560.Mail.news@journey.z2c.net>
Date: Sun, 18 Jun 2006 07:07:29 -0800 (PDT)
From: "Covington" <gfjmrnstr@paok.org>
To: lugnet.robotics.handyboard@lugnet.com
Cc: hale@lugnet.com, bush@lugnet.com, lowe@lugnet.com, brooks@lugnet.com, nichols@lugnet.com, hodges@lugnet.com, moreno@lugnet.com
Subject: wallets soft
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-mpm: 185447721209804aiy8fzs9bp2

Get High-Quality Designer Items for a Fraction of the Price.

http://051.blocksofcheese.com

Handbags, Tiffany & Co. Jewelry, Designer Pens and Ties, Rolex Watches, and much much more!

Visit Now to Catch our Current Specials!

http://051.blocksofcheese.com












dependent harbour
http://051.blocksofcheese.com/rm


------------=_44955E33.BB39933D--


Subject: 
Need help running the handyboard in assembly language
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 11 Oct 2005 17:43:39 GMT
Viewed: 
5133 times
  
Hey all.  I am a high school student in an engineering/robotics class at a
fairly advanced level.  I have gone through the steps of programming for the
LEGO RCX, and have moved to become a strong writer in the C programming language
and control mechanisms for the handyboard.  But now due to limitations of even
the C language, I need to move to programming in assembly language.  I
understand the basic structure of the language and the notations and mnemonics,
but when it comes to assembling the code and transferring it over to the
handyboard, there have been numerous roadblocks and I am about to pull all my
hair out.
Here is a list of my steps taken and roadblocks hit:
1.) I have successfully downloaded p_code.s19 to the handyboard using dl.exe
2.) I have written code both of my own writing and example code taken directly from Fred G. Martin’s Robotics book. (Only in frustration as I will describe later)
3.) I am not operating in full DOS mode due to restrictions of the teacher, but if necessary I can switch over.  But I can run the interactive C program in the command line shell.
4.) My first problem is assembling the .asm file to be downloaded to the handyboard.
5.) AS_11.exe will not run.  I have tried to run it using both the command line tool and in windows and it will not open.  Since I cannot run in DOS mode I resorted to other methods
6.) I switched over to my macintosh computer using OS X. with Classic support but the program will not run.
7.)  I have gone to newtonlab.com and used their online ICB compiler.  The
mnemonics like LDAA and ORG converted but the data and location like #$80
trigger the statement “Unrecognized Mnemonic” when the ICB assembles the code.

Could someone tell me step-by-step what to do.  If switching to full DOS mode is
necessary I can find a way.  I want to be able to switch between C and assembly
languages within a running program to facilitate the mobility of the robot if it
is possible in any way.  Any form of help would be greatly appreciated.  If
there is an alternative to switching to DOS that sort of information would be
appreciated.
Thank you


Subject: 
Polaroid and Handy Board malfunction
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 5 Nov 2004 06:36:56 GMT
Viewed: 
4795 times
  
Hello:

we have aquired all sort of sensors for Mobile robot application and with them
the MIT Handy Board and its expansion borad.
Our problem is when we try to use the Polaroid 6500 smt sonar borad with the
expansion board of the HB. After all connections were made according to the
manual of both the 6500 sensor and the expansion HB, at the the time of turn on
of the board The power diodes on the expansion board heated up and the Q1
transistor of the polaroid 6500 board was fried. We have checked all possible
reason of mistakes we might have made but none was found. Is there something
missing that we did not get with the package that should made us aware of some
precaution, or maybe some connection or variation of what was written in the PDF
manuals?

please if anyone can help on this issue, reply  to maged.najjar@balamand.edu.lb

we are holding any furthur try with another polaroid 6500 and HB until we get
some clue of what went wrong.

Thank you


Subject: 
Re: control large number of leds (?)
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 29 Feb 2004 21:02:17 GMT
Viewed: 
4828 times
  
Wow, I thought this list was dead.

Hmmm. You're missing two key bits of information :
1) Do you want to individually control each LED's brightness?
2) How often do you wish to change the brightness?

If you are attempting to make a television like display its a lot harder
than if you're making  simply a LED sign.

--Chuck


At 11:37 AM 2/29/2004, Claudia Bernett wrote:
hi.

i'm working in a project in which i'll need to control the brightness of about
700 leds.  i've just begun to research solutions - and i'm not sure the hb is
the right microcontroller for the job, but i thought perhaps an hb user on
this
list would have some relevant experience and could perhaps point me in the
direction of the right hardware/software combination.  it seems as though i'll
need multiple microcontrollers, and additional hardware to manage the
control of
a large numbers of leds.

the MAX6954 4-Wire Interfaced, 2.7V to 5.5V LED Display Driver with I/O
Expander
and Key Scan made by maxim-ic was suggested as a possibility - if anyone is
familiar with it.

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3410

separate but related, i'll need the software running on the mc to be able to
return the current time, down to seconds.  i know system time is available on
the hb, but gets reset everytime the device is rebooted.  so - if there
are any
suggestions regarding a solution for this piece as well it would be much
appreciated.

thanks in advance,
claudia


Subject: 
control large number of leds (?)
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sun, 29 Feb 2004 19:37:12 GMT
Viewed: 
4725 times
  
hi.

i'm working in a project in which i'll need to control the brightness of about
700 leds.  i've just begun to research solutions - and i'm not sure the hb is
the right microcontroller for the job, but i thought perhaps an hb user on this
list would have some relevant experience and could perhaps point me in the
direction of the right hardware/software combination.  it seems as though i'll
need multiple microcontrollers, and additional hardware to manage the control of
a large numbers of leds.

the MAX6954 4-Wire Interfaced, 2.7V to 5.5V LED Display Driver with I/O Expander
and Key Scan made by maxim-ic was suggested as a possibility - if anyone is
familiar with it.

http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3410

separate but related, i'll need the software running on the mc to be able to
return the current time, down to seconds.  i know system time is available on
the hb, but gets reset everytime the device is rebooted.  so - if there are any
suggestions regarding a solution for this piece as well it would be much
appreciated.

thanks in advance,
claudia


Subject: 
handyboard for sale
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sat, 13 Dec 2003 00:31:28 GMT
Viewed: 
6262 times
  
Hi I have few NEW assembled handyboards for sale.
if any one interested
visit http://www.mindsensors.com/handyboard.htm



Nitin@
www.mindsensors.com


Subject: 
lego reflectance sensors
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 31 Oct 2003 14:49:14 GMT
Viewed: 
5605 times
  
Hello,

we are using Lego reflectance sensors for an experiment and the HB is
showing a rather strange behavior. If we plug a single sensor in the
expansion board, it works fine, but when two of them are connected, then
none of them work. Even more, if the single sensor reading is 200 decreases over
185 when the second one is connected, without any change in sensor position. We
tried the 4 lego sensor inputs and nothing changes. We are
sure that it is not a sensor problem, but what is it then? any idea?

thanks!


Subject: 
hady board short circuit...
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 22 Oct 2003 11:47:26 GMT
Viewed: 
5522 times
  
Hello,

when I switch the HB on, first both -- batt and pow -- lights are on for a
second and inmediatelly, both become off again. The U13 voltage regulator
gets very hot in few seconds. I've changed that unit but there is no change in
the board's behavior. I think the board is shortcircuited some where, but
where?

thanks!


Subject: 
Compass sensor and Ultrasonic Range Finder
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 21 Oct 2003 14:02:04 GMT
Viewed: 
5453 times
  
Hi, all:
  I am a new user of Handy board. And I have a problem with assembling the
Compass sensor and Ultrasonic Range Finder.
  Compass sensor's model is CMPS03 and Ultrasonic Range Finder is
SRF04(Please visit http://www.robotstorehk.com/sensor.html for more
details). And I find that I could not assembly those sensors in a normal
way. Can anyone told me how to assembly them ?

  My Handyboard is HB-A-IC-DB9(Please visit
http://www.robotstorehk.com/handyboard.html for more details), that is the
board which without expansion board.

  Actually, my aims is only let the robot can use compass sensor, ultrasonic
range finder, and somethings else that I have already success assembly them.
If there are another models of those sensors that is more suitable for
Handyboard, please told me in detail.

Please reply to my email address: navypcms@yahoo.com.hk

--
best regards,

¤×³½


Subject: 
lego angle sensor
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 21 Oct 2003 08:18:54 GMT
Viewed: 
5518 times
  
Hello,

I have problems while trying to read the lego rotation sensor using the
expansion board. I include the "Explego.icb" file and read the counter
using lego$i_counts variable. I have tested the program with the same sensor
in a different HB and it works fine.

Any hint?

thanks!


Subject: 
Motor Problem
Newsgroups: 
lugnet.robotics.handyboard
Followup-To: 
lugnet.robotics
Date: 
Fri, 16 May 2003 09:22:59 GMT
Viewed: 
5481 times
  
HI!
Actually i am having Problem while working on my
robatics projcet,actually my motors takes 3Amp
under load
i am using handyboard for this,so when the motors
operate under load it stop working and the IC(LM293D)
gets hot, so if any body can help me i would be tahankful to him
with best regards
          Ahmad kamal NAsir


Subject: 
IC datatype Problem
Newsgroups: 
lugnet.robotics.handyboard
Followup-To: 
lugnet.robotics.edu
Date: 
Mon, 12 May 2003 03:01:24 GMT
Viewed: 
5375 times
  
Hi!
I am having a problem with using IC
actually i am using handy board for a
robatic project.
Problem:
       i want to use handy board knob
fuction which return integer value.
so when i assign this value to float variable
which i wanna used ,it don't work and gives me error
so my question is how i can convert integer value to
float so that i can use knob function.
              if you really help me i would be very thankful to you.
                                          with Regard
                                           Nasir.


Subject: 
Sensor Assembly Problem
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 4 Apr 2003 15:39:55 GMT
Viewed: 
5533 times
  
Hi,

    I'm using the handyboard for a robotics competition, and I have been having
a problem when I use my compass and sonar together.
    I am using a Daventech SRF04 ultrasonic ranger, and a Daventech compass.
Here is the problem:  I can read the sonar using the library I have attached at
the end, and it all works fine until I start reading the compass.  I can
continue reading the compass for as long as I want (and get accurate readings),
However the sonar routines no longer return when I call them.  I use a
pulsewidth mesuring routine I found on an old handyboard mailing list to
measure the compass.  I suspect an interrupt problem, but I don't know enought
assembly to know what is wrong.

    Jeff



*************************
* SONAR LIBRARY V1.0    *
* December 29, 2001     *
* by Willem van Asperen *
* wasperen@hotmail.com  *
*************************

    ORG    MAIN_START

* program equates
USERLATCH   EQU   $5000     ; defined in libexpbd.asm
USERVAL     EQU   $32       ; defined in libexpbd.asm
BASE        EQU   $1000

OUTBIT6SET  EQU   %01000000 ; expansion board digtal output bit 6
OUTBIT5SET  EQU   %00100000 ; expansion board digtal output bit 5
OUTBIT4SET  EQU   %00010000 ; expansion board digtal output bit 4
OUTBITSRES  EQU   %10001111 ; mask to reset both output bits

TCNT    EQU    $100E        ; timer base count register
TCTL2    EQU    $1021        ; timer control register 2
TMSK1    EQU    $1022        ; timer interrupt mask register 1
TFLG1    EQU    $1023        ; timer interrupt flag register 1
TMSK2    EQU    $1024        ; timer interrupt mask register 2
TFLG2    EQU    $1025        ; timer interrupt flag register 2
TIC3    EQU    $1014        ; timer input capture value
TIC3INT    EQU    $BFEA        ; Timer Input Capture 3 interrupt vector

TFLGIC3    EQU    %00000001    ; timer 3 flags
IC3OFF    EQU    %11111100
IC3FALL    EQU    %00000010
IC3RISE    EQU    %00000001

DONE    EQU    $FFFF

tmp    FDB    0

variable_sonar_distance0    FDB    0    ; latest measurements
variable_sonar_distance1    FDB    0
variable_sonar_distance2    FDB    0
variable_sonar_status        FDB    DONE

OUTBITS    FCB    OUTBIT4SET    ; expansion board output bits
    FCB    OUTBIT5SET
    FCB    OUTBIT6SET

subroutine_initialize_module:
    LDX    #BASE

    LDAA    #OUTBITSRES    ; make both output bits zero
    ANDA    USERVAL
    STAA    USERLATCH
    STAA    USERVAL

    LDD    #ping_return    ; install interrupt vector
    STD    TIC3INT

    BSET    TCTL2,X #IC3FALL    ; tell IC3 to respond to falling edge
    BSET    TMSK1,X #TFLGIC3    ; enable interrupt at IC3

    RTS

*********************************
* subroutine _sonar_ping(in)    *
* in : AB = 0 or 1              *
* out: AB = current timer value *
*********************************
subroutine__sonar_ping:
    STD    variable_sonar_status

    LDX    #OUTBITS    ; point X to relevant bit patern for output
    ABX

    LDAA    0,X        ; pulse high on out bit
    ORAA    USERVAL
    STAA    USERLATCH
    STAA    USERVAL
    LDAA    0,X        ; pulse low on out bit
    COMA
    ANDA    USERVAL
    STAA    USERVAL
    STAA    USERLATCH

    LDD    TCNT        ; store current time
    STD    tmp

    RTS

ping_return:
    LDD    variable_sonar_status    ; make X point to relevant result variable
    ASLB
    ADDD    #variable_sonar_distance0
    XGDX

    LDD    TIC3        ; calculate and store travel time
    SUBD    tmp

    STD    0,X

    LDAA    #TFLGIC3    ; reset flag IC3
    STAA    TFLG1

    LDD    #DONE        ; reset status
    STD    variable_sonar_status

    RTI

/*end sonar lib*/





*****************************************************************
* Programm to measure a pulsewidth with the TIC2 port of
* the 68HC11
*
*
*         |---------|           |----------
*  -------|         |-----------|
*
*         |<------->| pulsewidth
*
*
* Programm written for Pacificar-Project TWI, Switzerland
* by Thomas Hauri and Beat Buchmann
*
* Version 1.0
*
* last changes : 02 Okt 1997
*
* History    :    06.03.97     :    realizing testversion to test Handyboard
interrupt
*                                features
*
*            :    02.10.97    :    added and adjustetd some things to run with
*                                expansionboard
*
*
******************************************************************


* used registers
*****************

BASE            EQU    $1000
PORTA            EQU    $1000        * Port A data register
CFORC            EQU    $100B        * Timer Compare Force Register
OC1M            EQU    $100C        * Output Compare 1 Mask register
OC1D            EQU    $100D        * Output Compare 1 Data register

TCNT            EQU    $100E        * Timer Count Register
TIC2            EQU    $1012        * Timer Input Capture register 2
TIC3            EQU    $1014        * Timer Input Capture register 3
TOC3            EQU    $101A        * Timer Output Compare register 3
TCTL1            EQU    $1020        * Timer Control register 1
TCTL2            EQU    $1021        * Timer Control register 2
TMSK1            EQU    $1022        * main Timer interrupt Mask register 1
TFLG1            EQU    $1023        * main Timer interrupt Flag register 1

HPRIO            EQU    $103C        * Highest Priority Interrupt and misc

TIC2INT            EQU    $EC            * Timer Input Capture 2
TIC3INT            EQU    $EA            * Timer Input Capture 3
TOC4INT            EQU    $E2            * Timer Input Capture 4

* addresses and masks

pos_edge_02        EQU    %00000100    * Select positiv edge to detect
%0000xx00 on TIC2
neg_edge_02        EQU    %00001000    * Select negativ edge to detect
%0000xx00 on TIC2

pos_edge_03        EQU    %00000001    * Select positiv edge to detect
%000000xx on TIC3
neg_edge_03        EQU    %00000010    * Select negativ edge on TIC3

tmsk1_flag_02    EQU %00000010    * using TIC2
tflg1_mask_02    EQU %11111101    * capture mask
tmsk1_mask_02    EQU    %11111101    * used to disable TIC2 interrupt

tmsk1_flag_03    EQU %00000001    * using TIC3
tflg1_mask_03    EQU %11111110    * capture mask
tmsk1_mask_03    EQU    %11111110    * used to disable TIC3 interrupt




    ORG MAIN_START

* variables
************
local_counter                FCB        0
temp                        FDB        0
run                            FCB        0
integrator                    FDB        0
variable_pulsewidth2        FDB        0
variable_pulse_done2        FDB        0

*************************************************************************
* initialization start
*************************************************************************
subroutine_initialize_module:


* include of ldxibase.asm

    LDAA    HPRIO
    ANDA    #$40                * test SMOD bit
    BNE        *+7
    LDX        #$FF00                * normal mode interrupts
    BRA        *+5
    LDX        #$BF00                * special mode interrupts



* Lets now install the interrupt routine into the TIC3 interrrupt

    LDD    TIC2INT,X
    STD    interrupt_code_exit+1

    LDD    #interrupt_code_start
    STD    TIC2INT,X

    BCLR    TFLG1-BASE,X tflg1_mask_02    * Clear TIC2 Bit in TFLG1
    BCLR    TMSK1-BASE,X tmsk1_flag_02    * Clear TIC2 Bit in TMSK1



    RTS


*************************************************************************
*    subroutine get_wavelength: starts measuring the wavelength
*
*    inputs    :    must be 1
*
*************************************************************************

subroutine_get_pulsewidth2:

equal_one:
    LDAA    #1
    STAA    local_counter

go_on:
    LDX        #BASE

    LDAA    #pos_edge_02
    STAA    TCTL2-BASE,X            * set hot_edge in Timer Control Register

    LDD        #0
    STD        integrator
    STD        variable_pulse_done2
    LDAB    #1
    STAB    run
    LDD        #$ffff                    * set pulsewidth to 65ms
    STD        variable_pulsewidth2

    BCLR    TFLG1-BASE,X tflg1_mask_02    * Clear TIC2 Bit in TFLG1
    BSET    TMSK1-BASE,X tmsk1_flag_02    * SET TIC2 Bit in TMSK1 (enable
interrupts)


    RTS




*************************************************************************
* END measurement routine
*************************************************************************


*************************************************************************
* implementation of interrupt routine
*************************************************************************

interrupt_code_start:
    LDAA    run
    BEQ        interrupt_code_exit

    CMPA    #2
    BHS        second

first:
    LDD        TIC2        * take time at first rising edge of measurement
    STD        temp
    INC        run                * set run -> next time interrupt is called
    LDX        #BASE
    LDAA    #neg_edge_02
    STAA    TCTL2-BASE,X    * set hot_edge in Timer Control Register

    BRA        end                * routine second will be called instead of
routine first

second:
    LDD        TIC2            * take time at following rising edge
    SUBD    temp            * subtract times to get wavelength in 0.5 us

    LSRD                    * divide by two to get the unit us and to avoid
*                               negative numbers from timer overflows
    ADDD    integrator        * add length to integrator, which is used to
    STD        integrator        * calculate the mean wavelength over 4
measurements
    LDAB    #1                * reset run
    STAB    run

end:
    LDX        #BASE
    BCLR    TFLG1-BASE,X tflg1_mask_02    * Clear TIC2 Bit in TFLG1

    LDAA    local_counter    * check if end of measurement
    BEQ        stop_interrupt
    DEC        local_counter

    BRA        interrupt_code_exit

stop_interrupt:

    BCLR    TMSK1-BASE,X tmsk1_flag_02 * Clear TIC2 Bit in TMSK1(disable
interrupts)

    CLR        run

done:
    LDD        #1
    STD        variable_pulse_done2
    LDD        integrator
    STD        variable_pulsewidth2    * give back to Interactive C

interrupt_code_exit:
    JMP        $0000    * this is the end of the routine this value poked by
init routine

*************************************************************************

/*end pulsewidth lib*/


Subject: 
Handy Board For sale @ e-Bay item#3410256356
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 1 Apr 2003 00:12:27 GMT
Viewed: 
5357 times
  
Hello group

I have a working Handy board for sale at e-Bay Item 3410256365 It comes with
many extras. please take a look, biding starts at $30.00 and there is no
reserve.

Thanks Mark Newvine


Subject: 
Fw: [handyboard] xmas songs
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 13 Dec 2002 15:27:39 GMT
Viewed: 
6860 times
  
----- Original Message -----
From: <x01101001@yahoo.com>
To: <handyboard@yahoogroups.com>
Sent: Friday, December 13, 2002 8:19 PM
Subject: [handyboard] xmas songs


Hi,

I uploaded a file "songs.ic" (see Files section) which contains some
XMAS songs as Interactive C source code.  There are bugs in a few
tones, and it is quite large, but it is fun to have during the
holidays. Use Interactive C 4.0 for use with Handy Board or Lego
RCX.  Running main will play all songs endlessly (buggy tones
included).  You can divide the frequencies down to fit 8 bits if you
want to shrink the size.  Let me know if you find the buggy tones.

Happy holidays!
-Nick


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CFFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
handyboard-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





Subject: 
Re: 68HC11A1FN
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sat, 7 Dec 2002 03:07:29 GMT
Viewed: 
6342 times
  
I did try, but still can't find any.

Rita

"Patrick Hui" <huip@hkstar.com> wrote in message
news:00bb01c29bea$159787e0$ed1f66da@patrickh...
Hello,

Did you check the motorola site to see if 68HC11A1FN library is available?

Thanks and Best Regards,

Patrick Hui

--00--------------------------------------------------------
R O B O T     S T O R E    ( H K ) -- Home of Robot Parts and Science
Projects
MIT Handyboard system, robotic controller sensors, motors, mechanical • parts
and more...
http://www.RobotStoreHK.com
Complete product catalog site:
http://www.RobotStoreHK.com/products.html
TEL: +(852) 9752-0677 (24-Hour, 7-DAY a week Voice hotline)
FAX: +(852) 2887-2519 (24-Hour, 7-DAY a week Fax hotline)
Enquiry / Order / Quotation: info@RobotStoreHK.com (response within • 24-hour)
Technical Support: support@RobotStoreHK.com (response within 24-hour)
PayPal.com Recipient Email: sales@RobotStoreHK.com



----- Original Message -----
From: "Rita Fung" <tritafung@hotmail.com>
To: <lugnet.robotics.handyboard@lugnet.com>
Sent: Wednesday, December 04, 2002 1:48 AM
Subject: 68HC11A1FN


Dear all,

I'm looking for the library for drawing a modified schematic for the
HandBoard, but Protel does not have the library for this. Does anybody • have?
or is there any other chip which could replace the current one??

Thanks

Rita



Subject: 
Re: 68HC11A1FN
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 4 Dec 2002 23:08:39 GMT
Viewed: 
6169 times
  
Hello,

Did you check the motorola site to see if 68HC11A1FN library is available?

Thanks and Best Regards,

Patrick Hui

--00--------------------------------------------------------
R O B O T     S T O R E    ( H K ) -- Home of Robot Parts and Science
Projects
MIT Handyboard system, robotic controller sensors, motors, mechanical parts
and more...
http://www.RobotStoreHK.com
Complete product catalog site:
http://www.RobotStoreHK.com/products.html
TEL: +(852) 9752-0677 (24-Hour, 7-DAY a week Voice hotline)
FAX: +(852) 2887-2519 (24-Hour, 7-DAY a week Fax hotline)
Enquiry / Order / Quotation: info@RobotStoreHK.com (response within 24-hour)
Technical Support: support@RobotStoreHK.com (response within 24-hour)
PayPal.com Recipient Email: sales@RobotStoreHK.com



----- Original Message -----
From: "Rita Fung" <tritafung@hotmail.com>
To: <lugnet.robotics.handyboard@lugnet.com>
Sent: Wednesday, December 04, 2002 1:48 AM
Subject: 68HC11A1FN


Dear all,

I'm looking for the library for drawing a modified schematic for the
HandBoard, but Protel does not have the library for this. Does anybody • have?
or is there any other chip which could replace the current one??

Thanks

Rita


Subject: 
68HC11A1FN
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 3 Dec 2002 17:48:24 GMT
Viewed: 
5951 times
  
Dear all,

I'm looking for the library for drawing a modified schematic for the
HandBoard, but Protel does not have the library for this. Does anybody have?
or is there any other chip which could replace the current one??

Thanks

Rita


Subject: 
Sony Infra Red HandyBoard Transmission
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 20 Nov 2002 19:14:12 GMT
Viewed: 
6343 times
  
Has anyone successfully modified the sonyxmit.asm driver on page 267/268 of
Fred Martin's publication: Robotic Explorations?

I've been trying to modify the driver so that it will communicate with a
Sony TV, so far without success. In the book Fred explains that the code, as
it stands, will not communicate with Sony consumer equipment because the
device selection bits are not transmitted.

I have tried setting the phase countdown to 23 instead of 20 to accommodate
the 3 extra machine code bits but I'm obviously missing something.

I have tested my remote's output by using the program 'remctrl.c'
and verified that the button codes on my remote correspond to the
values indicated in the book on Page 256

Thanks,

Jonathan



Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  Brief | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR