SlideShare a Scribd company logo
1 of 38
Radio Frequency Navigational Tracker
Main Objective
 Create a vehicle that will track a high
frequency RF/IR transmitter
 The practical application is a golf caddy
that will follow a golfer when requested.
Matthew Sharp
Platform
Processor
Motor
Digital
Compass
Motor
(Right)
GPIO
RS/232
Base of Vehicle
Transmitter
IR TX
RF TX
GPIO
Digital
Compass
Motor
(Left)
Motor
ControlGPIO
RS/232
RF RX
Hardware Overview
IR RX
Transmitter
Ben Says: “It Transmits!!”
Matthew Sharp
RF Transmission
Matthew Sharp
IR TX
Matthew Sharp
Receivers
Matthew Sharp
RF RX
Matthew Sharp
IR RX
Simple, yet sophisticated!!
Matthew Sharp
Sensors
Matthew Sharp
Timing is Everything
Matthew Sharp
8051 to the Rescue
Matthew Sharp
Powering the Transmitter
Fabien Nervais
Base Motors
 Two 12V ServoDisk Motors
 Power – 12V Car Battery
 Optocoupler
 Solid-State Relays
 4 Amp Fuses
Fabien Nervais
Rotating Mount Configuration
 5V DC Servo Motor
 Grooved Rubber Belt
 Power
 12V to 5V linear
voltage regulator
 Solid-State Relay
Fabien Nervais
Rotation Control
 Wire Routing Resolved:
 Approximately 350º Rotation
 Serial Cable Connection
 2 Limit Switches Controlling the Rotational
Behavior
Fabien Nervais
Powering the Rotating
Mount Platform
Fabien Nervais
Processor
Ryan Hitchler
System Clock
Ryan Hitchler
Capacitors and Vcc/Gnd Bus
.1 uF
Vcc Gnd
Ryan Hitchler
Headers
Ryan Hitchler
Memory
Ryan Hitchler
Memory Map
$0000
$FFFF
$8000
$8400
$FFFF
EPROM
SRAM
PERFS
$FFF
F
$0000
$7FFF
$8000
EPROM
SRAM
Current Memory
Map
Future Memory Map
Ryan Hitchler
Power
Ryan Hitchler
Reset
Ryan Hitchler
FPGA
Ryan Hitchler
EPROM Test Program
; Capstone test code
; for MC68HC11
CodeBase EQU $8000 ; address of start of code
ORG $FFFE ; start of address
pointer
DW CodeBase ; set up pointer address to start of
code
ORG CodeBase ; start of code
Start:
nop
nop
nop
jmp Start
Ryan Hitchler
EPROM Test Results
Ryan Hitchler
Parts Listing
Part Quantity Price
.1 uF Cap 28 Donated
1 uF Cap 2 Donated
Through Hold Pins 26 Donated
Power Bus 2 Donated
Raltron 8MHz Clk Oscillator 1 Donated
Heat Sink 1 Donated
LM7805 5V Regulator 1 Donated
78M33 3.3V Regulator 1 Donated
Banana Plug (Female) 3 Donated
LED (Yellow) 1 Donated
Diode 1 Donated
Various Resistors 3 Donated
SPST Switch 1 Donated
Push Button Switch 1 Donated
XCS10 FPGA 1 Donated
18V256 EEPROM 1 Donated
10 Pin 4.7KOhm SIP 3 Donated
6 Pin JTAG Header 1 Donated
20 Pin Logic Analyzer Header 2 Donated
27C256 EPROM 1 Donated
62256 SRAM 1 Donated
28 Pin ZIF 1 Donated
MC68HC11 E0 1 Donated
74373 Transparent Latch 1 Donated
MAX233 2 Donated
DB9 Connector 2 Donated
Perf Board 1 $19.00
Stand Off 10 $10.00
Total Cost $29.00
Ryan Hitchler
Power On RF
Signal
?
Set up
Interrupts
Set up
Serial
Poll RF
Receiver
No
Turn
Antenna
Poll IR
Receiver
IR
Signal
?
No
Yes
Yes
Stop
Antenna
Read Ant.
Compass
Turn Base
-> Ant
Base
=
Ant.?
Read Base
Compass
No
Stop
Turning
YesTurn Ant.
-> Base
Read Ant.
Compass
Ant. =
Base
?
No
Stop
Antenna
Move
Base
Yes
IR
Signal
?
Poll IR
Receiver
No
Yes
Poll RF
Receiver
RF
Signal
?
Yes
No
John Maitin
Software Algorithm Redux
Code
; Capstone algorithm code
; for MC68HC11
; begin code section
ORG CodeBase ; start of code
Start:
lds #Stack ; load stack pointer
bsr enable_int ; enable interrupts
pollrf:
ldaa PORTA ; get GPIO information
anda #RFMASK ; mask out RF information
cmpa #RFMASK ; compare to RF information
bne pollrf ; if no RF signal, continue polling
startantenna:
ldaa PORTA ; get GPIO information
oraa #MAONFMASK0 ; mask in antenna motor control info
anda #MAONFMASKF ; mask out unwanted info
staa PORTA ; write out GPIO stuff
pollir:
ldaa PORTA ; get GPIO information
anda #RFMASK ; mask out RF information
cmpa #RFMASK ; compare to RF information
bne stopantenna ; jump to stopantenna if no RF signal
found
ldaa PORTA ; get GPIO information again
anda #IRMASK ; mask out IR information
cmpa #IRMASK ; compare to IR mask
bne pollir ; if no IR signal, continue polling
stopantenna:
ldaa PORTA ; get GPIO information
oraa #MAOFFMASK0 ; mask in antenna motor control info
anda #MAOFFMASKF ; mask out unwanted info
antennacompass:
oraa #CMPAMASK ; select antenna compass
staa PORTA ; write out GPIO information
bsr read_compass ; read from the antenna compass into d
std compass ; store antenna compass reading into compass
baseturn:
ldaa PORTA ; get GPIO information
anda #CMPBMASK ; select base antenna
staa PORTA ; write out GPIO information
bsr read_compass ; read from the base compass into d
subd compass ; subtract compass value
beq movebase ; if equal, then move base
cpd $0167 ; compare d to halfway value for compass
bge turnright ; turn right if difference greater than halfway
turnleft:
ldaa PORTA ; get GPIO information
oraa #MLONRMASK0 ; write in left motor information
anda #MLONRMASKF ; write out unwanted information
staa PORTA ; write GPIO information
ldaa PORTA ; get GPIO information
oraa #MRONFMASK0 ; write in right motor information
anda #MRONFMASKF ; write out unwanted information
staa PORTA ; write GPIO information
bra pollcomp1 ; jump to pollcomp1
John Maitin
Code (Pt. 2)
turnright:
ldaaPORTA ; get GPIO information
oraa #MLONFMASK0 ; write in left motor information
anda #MLONFMASKF ; write out unwanted information
staaPORTA ; write GPIO information
ldaaPORTA ; get GPIO information
oraa #MRONRMASK0 ; write in right motor information
anda #MRONRMASKF ; write out unwanted information
staaPORTA ; write GPIO information
pollcomp1:
movebase:
stop
; enable interrupt control
enable_int:
sei ; disable interrupts
ldaa#$30 ; 9600 baud, assuming 8 MHz clock
staaBAUD ;
ldaa#$00 ; 8 data bits
staaSCCR1 ;
ldaa#$2c ; Receive interrupt, poll transmit, enable TX,RX
staaSCCR2 ;
ldaaSCSR ; clear RDRF, error flags
ldaaSCDR ; clear receive buffer
clra ; clear a
tap ; transfer a to cc register (enable XIRQ and IRQ)
cli ; enable interrupts
rts
; SCI interrupt handler
rec:
psha
ldaa SCSR
anda #$40
cmpa #$40
bne quit
ldaa SCDR
staa compass
quit:
pula
rti
; change antenna direction (XIRQ interrupt handler)
changeant:
psha
pshb
ldaa PORTA
ldab antdir
comb
bmi goreverse
goforward:
oraa #MAONFMASK0
anda #MAONFMASKF
bra finishchange
goreverse:
oraa #MAONRMASK0
anda #MAONRMASKF
finishchange:
staa PORTA
pulb
pula
rti
John Maitin
Simple Memory Map, Simple
Decode
 Memory map is divided in half, so only 1
pin needed to decode
 If memory mapped I/O is used, we can
adapt logic with and gates from needed
address pins
Josh Bingaman
Motor Control Decoding
Josh Bingaman
RS232 Multiplexing
Josh Bingaman
Sensor Communication
 All GPIO
 No Decode logic
 1 pin for IR Reception
 1 pin for RF Reception
 Limit Switches on Antenna motor to
XIRQ
 1 spare GPIO input for Proximity
Sensor Josh Bingaman
QUESTIONS?

More Related Content

What's hot

Advanced motion controls dx60co8
Advanced motion controls dx60co8Advanced motion controls dx60co8
Advanced motion controls dx60co8Electromate
 
Advanced motion controls dx15co8
Advanced motion controls dx15co8Advanced motion controls dx15co8
Advanced motion controls dx15co8Electromate
 
Advanced motion controls dx15co8 src
Advanced motion controls dx15co8 srcAdvanced motion controls dx15co8 src
Advanced motion controls dx15co8 srcElectromate
 
Repair lexia 3 pcb to avoid activation relay, connection failure etc
Repair lexia 3 pcb to avoid activation relay, connection failure etcRepair lexia 3 pcb to avoid activation relay, connection failure etc
Repair lexia 3 pcb to avoid activation relay, connection failure etcspobd2
 
the best obd industry quick guide book
the best obd industry quick guide bookthe best obd industry quick guide book
the best obd industry quick guide bookautoobdtools
 
Efficient Load Management System (ELMS) with ATS_AMF Generator Control Drawing
Efficient Load Management System (ELMS) with ATS_AMF Generator Control DrawingEfficient Load Management System (ELMS) with ATS_AMF Generator Control Drawing
Efficient Load Management System (ELMS) with ATS_AMF Generator Control DrawingMuhammad Sarfraz
 
Advanced motion controls dr101ee15a40ldc
Advanced motion controls dr101ee15a40ldcAdvanced motion controls dr101ee15a40ldc
Advanced motion controls dr101ee15a40ldcElectromate
 
Advanced motion controls dr101ee30a40ndc
Advanced motion controls dr101ee30a40ndcAdvanced motion controls dr101ee30a40ndc
Advanced motion controls dr101ee30a40ndcElectromate
 
Advanced motion controls dr101ee15a40lac
Advanced motion controls dr101ee15a40lacAdvanced motion controls dr101ee15a40lac
Advanced motion controls dr101ee15a40lacElectromate
 
Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...
Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...
Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...Ted Jurca
 
7447 National Semiconductor Datasheet
7447 National Semiconductor Datasheet7447 National Semiconductor Datasheet
7447 National Semiconductor DatasheetMauroAPereira
 
8051 serial communication1
8051 serial communication1 8051 serial communication1
8051 serial communication1 vijaydeepakg
 
Advanced motion controls dr100ee15a40ldc
Advanced motion controls dr100ee15a40ldcAdvanced motion controls dr100ee15a40ldc
Advanced motion controls dr100ee15a40ldcElectromate
 
Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200Electromate
 
Advanced motion controls dr101ee30a40nac
Advanced motion controls dr101ee30a40nacAdvanced motion controls dr101ee30a40nac
Advanced motion controls dr101ee30a40nacElectromate
 
Iai robonet controller_specsheet
Iai robonet controller_specsheetIai robonet controller_specsheet
Iai robonet controller_specsheetElectromate
 
Sy tech ispace icd telex products
Sy tech ispace   icd telex productsSy tech ispace   icd telex products
Sy tech ispace icd telex productsSyTech Corporation
 
Solucion de practica1 calificada microcontroladores
Solucion de practica1 calificada microcontroladoresSolucion de practica1 calificada microcontroladores
Solucion de practica1 calificada microcontroladores25tineo
 

What's hot (20)

Advanced motion controls dx60co8
Advanced motion controls dx60co8Advanced motion controls dx60co8
Advanced motion controls dx60co8
 
Advanced motion controls dx15co8
Advanced motion controls dx15co8Advanced motion controls dx15co8
Advanced motion controls dx15co8
 
Advanced motion controls dx15co8 src
Advanced motion controls dx15co8 srcAdvanced motion controls dx15co8 src
Advanced motion controls dx15co8 src
 
Repair lexia 3 pcb to avoid activation relay, connection failure etc
Repair lexia 3 pcb to avoid activation relay, connection failure etcRepair lexia 3 pcb to avoid activation relay, connection failure etc
Repair lexia 3 pcb to avoid activation relay, connection failure etc
 
the best obd industry quick guide book
the best obd industry quick guide bookthe best obd industry quick guide book
the best obd industry quick guide book
 
Efficient Load Management System (ELMS) with ATS_AMF Generator Control Drawing
Efficient Load Management System (ELMS) with ATS_AMF Generator Control DrawingEfficient Load Management System (ELMS) with ATS_AMF Generator Control Drawing
Efficient Load Management System (ELMS) with ATS_AMF Generator Control Drawing
 
Advanced motion controls dr101ee15a40ldc
Advanced motion controls dr101ee15a40ldcAdvanced motion controls dr101ee15a40ldc
Advanced motion controls dr101ee15a40ldc
 
Advanced motion controls dr101ee30a40ndc
Advanced motion controls dr101ee30a40ndcAdvanced motion controls dr101ee30a40ndc
Advanced motion controls dr101ee30a40ndc
 
CPU
CPUCPU
CPU
 
Advanced motion controls dr101ee15a40lac
Advanced motion controls dr101ee15a40lacAdvanced motion controls dr101ee15a40lac
Advanced motion controls dr101ee15a40lac
 
Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...
Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...
Ed2 ep v230 Automatic lift truck onboard OSHA compliances recorders with impa...
 
7447 National Semiconductor Datasheet
7447 National Semiconductor Datasheet7447 National Semiconductor Datasheet
7447 National Semiconductor Datasheet
 
8051 serial communication1
8051 serial communication1 8051 serial communication1
8051 serial communication1
 
Advanced motion controls dr100ee15a40ldc
Advanced motion controls dr100ee15a40ldcAdvanced motion controls dr100ee15a40ldc
Advanced motion controls dr100ee15a40ldc
 
Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200Advanced motion controls dzcantu 020b200
Advanced motion controls dzcantu 020b200
 
merged
mergedmerged
merged
 
Advanced motion controls dr101ee30a40nac
Advanced motion controls dr101ee30a40nacAdvanced motion controls dr101ee30a40nac
Advanced motion controls dr101ee30a40nac
 
Iai robonet controller_specsheet
Iai robonet controller_specsheetIai robonet controller_specsheet
Iai robonet controller_specsheet
 
Sy tech ispace icd telex products
Sy tech ispace   icd telex productsSy tech ispace   icd telex products
Sy tech ispace icd telex products
 
Solucion de practica1 calificada microcontroladores
Solucion de practica1 calificada microcontroladoresSolucion de practica1 calificada microcontroladores
Solucion de practica1 calificada microcontroladores
 

Viewers also liked

Insights Discovery - Personal Profile
Insights Discovery - Personal ProfileInsights Discovery - Personal Profile
Insights Discovery - Personal ProfileMatthew Sharp
 
Brand Storytelling: Engaging with Digital Natives
Brand Storytelling: Engaging with Digital NativesBrand Storytelling: Engaging with Digital Natives
Brand Storytelling: Engaging with Digital NativesLaura Elizabeth Wilson
 
13 Ways Designers Screw Up Client Presentations
13 Ways Designers Screw Up Client Presentations13 Ways Designers Screw Up Client Presentations
13 Ways Designers Screw Up Client PresentationsMike Monteiro
 
Expand Your Marketing With Creative Keyword Research
Expand Your Marketing With Creative Keyword ResearchExpand Your Marketing With Creative Keyword Research
Expand Your Marketing With Creative Keyword ResearchMartin Weinberg
 
Memorandum sergelen (1)
Memorandum sergelen (1)Memorandum sergelen (1)
Memorandum sergelen (1)Seke Sergelen
 
Learn To Format Memos & Email
Learn To Format Memos & EmailLearn To Format Memos & Email
Learn To Format Memos & EmailRoxana Butler
 
The business memos
The business memosThe business memos
The business memosImran Udas
 
Final memo
Final memoFinal memo
Final memomganues
 
Sample Memorandum
Sample MemorandumSample Memorandum
Sample Memorandumtpresley
 
memo and its types
 memo and its types memo and its types
memo and its typesShakir Memon
 

Viewers also liked (20)

Insights Discovery - Personal Profile
Insights Discovery - Personal ProfileInsights Discovery - Personal Profile
Insights Discovery - Personal Profile
 
Brand Storytelling: Engaging with Digital Natives
Brand Storytelling: Engaging with Digital NativesBrand Storytelling: Engaging with Digital Natives
Brand Storytelling: Engaging with Digital Natives
 
13 Ways Designers Screw Up Client Presentations
13 Ways Designers Screw Up Client Presentations13 Ways Designers Screw Up Client Presentations
13 Ways Designers Screw Up Client Presentations
 
Expand Your Marketing With Creative Keyword Research
Expand Your Marketing With Creative Keyword ResearchExpand Your Marketing With Creative Keyword Research
Expand Your Marketing With Creative Keyword Research
 
Business memo
Business memoBusiness memo
Business memo
 
Memorandum sergelen (1)
Memorandum sergelen (1)Memorandum sergelen (1)
Memorandum sergelen (1)
 
Learn To Format Memos & Email
Learn To Format Memos & EmailLearn To Format Memos & Email
Learn To Format Memos & Email
 
13 Memorandum Unuruu
13 Memorandum Unuruu13 Memorandum Unuruu
13 Memorandum Unuruu
 
Memos
MemosMemos
Memos
 
Digital design chap 5
Digital design   chap 5Digital design   chap 5
Digital design chap 5
 
The Memorandum
The MemorandumThe Memorandum
The Memorandum
 
The business memos
The business memosThe business memos
The business memos
 
MEMO WRITING
MEMO WRITING MEMO WRITING
MEMO WRITING
 
How To Write A Memo
How To Write A MemoHow To Write A Memo
How To Write A Memo
 
Final memo
Final memoFinal memo
Final memo
 
Your Brand: The Next Media Company
Your Brand: The Next Media CompanyYour Brand: The Next Media Company
Your Brand: The Next Media Company
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Sample Memorandum
Sample MemorandumSample Memorandum
Sample Memorandum
 
Writing a memorandum
Writing a memorandumWriting a memorandum
Writing a memorandum
 
memo and its types
 memo and its types memo and its types
memo and its types
 

Similar to RFNT_CDR

Robotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle AvoidanceRobotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle Avoidancekiet group of institution
 
RF Controlled Robotic Vehicle With Laser Beam Arrangement
RF Controlled Robotic Vehicle With Laser Beam ArrangementRF Controlled Robotic Vehicle With Laser Beam Arrangement
RF Controlled Robotic Vehicle With Laser Beam ArrangementEdgefxkits & Solutions
 
4 channel rf remote controller board manual
4 channel rf remote controller board manual4 channel rf remote controller board manual
4 channel rf remote controller board manualTotal Project Solutions
 
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125Dien Ha The
 
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125Dien Ha The
 
Mitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vn
Mitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vnMitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vn
Mitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vnDien Ha The
 
4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECTGayan Sameera
 
Solution on Portable Blood Pressure Monitor System
Solution on Portable Blood Pressure Monitor SystemSolution on Portable Blood Pressure Monitor System
Solution on Portable Blood Pressure Monitor SystemPremier Farnell
 
Remote controlled gas leakage detecting robot
Remote controlled gas leakage detecting robotRemote controlled gas leakage detecting robot
Remote controlled gas leakage detecting robotvishnu081
 
10 channels - LoRaWAN GPS Concentrator for Raspberry Pi
10 channels - LoRaWAN GPS Concentrator for Raspberry Pi10 channels - LoRaWAN GPS Concentrator for Raspberry Pi
10 channels - LoRaWAN GPS Concentrator for Raspberry PiCRI Japan, Inc.
 
Advanced motion controls_azbdc10a4ic
Advanced motion controls_azbdc10a4icAdvanced motion controls_azbdc10a4ic
Advanced motion controls_azbdc10a4icElectromate
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontrollerjokersclown57
 
MICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATIONMICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATIONJahir Hussain
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following RobotSelf-employed
 
New methods pacbio evaluation of draft v4alpha
New methods   pacbio evaluation of draft v4alphaNew methods   pacbio evaluation of draft v4alpha
New methods pacbio evaluation of draft v4alphaGenomeInABottle
 

Similar to RFNT_CDR (20)

Robotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle AvoidanceRobotic Car Controlled over Bluetooth with Obstacle Avoidance
Robotic Car Controlled over Bluetooth with Obstacle Avoidance
 
RF Controlled Robotic Vehicle With Laser Beam Arrangement
RF Controlled Robotic Vehicle With Laser Beam ArrangementRF Controlled Robotic Vehicle With Laser Beam Arrangement
RF Controlled Robotic Vehicle With Laser Beam Arrangement
 
4 channel rf remote controller board manual
4 channel rf remote controller board manual4 channel rf remote controller board manual
4 channel rf remote controller board manual
 
SDH ALARMS
SDH ALARMSSDH ALARMS
SDH ALARMS
 
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
 
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
Mitsubishi inverter catalog-mitsubishi-inverter-option-160426021125
 
Mitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vn
Mitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vnMitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vn
Mitsubishi inverter catalog-mitsubishi-inverter-option dienhathe.vn
 
Rf module
Rf moduleRf module
Rf module
 
4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT4S6GGS APRS TRACKER V0.9 PROJECT
4S6GGS APRS TRACKER V0.9 PROJECT
 
Solution on Portable Blood Pressure Monitor System
Solution on Portable Blood Pressure Monitor SystemSolution on Portable Blood Pressure Monitor System
Solution on Portable Blood Pressure Monitor System
 
Remote controlled gas leakage detecting robot
Remote controlled gas leakage detecting robotRemote controlled gas leakage detecting robot
Remote controlled gas leakage detecting robot
 
10 channels - LoRaWAN GPS Concentrator for Raspberry Pi
10 channels - LoRaWAN GPS Concentrator for Raspberry Pi10 channels - LoRaWAN GPS Concentrator for Raspberry Pi
10 channels - LoRaWAN GPS Concentrator for Raspberry Pi
 
Registers
RegistersRegisters
Registers
 
Advanced motion controls_azbdc10a4ic
Advanced motion controls_azbdc10a4icAdvanced motion controls_azbdc10a4ic
Advanced motion controls_azbdc10a4ic
 
Fanuc 10
Fanuc 10Fanuc 10
Fanuc 10
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
MICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATIONMICROCONTROLLER BASED IR FOR HOME APPLICATION
MICROCONTROLLER BASED IR FOR HOME APPLICATION
 
Line Following Robot
Line Following RobotLine Following Robot
Line Following Robot
 
New methods pacbio evaluation of draft v4alpha
New methods   pacbio evaluation of draft v4alphaNew methods   pacbio evaluation of draft v4alpha
New methods pacbio evaluation of draft v4alpha
 
8 relay interface board manual
8 relay interface board manual8 relay interface board manual
8 relay interface board manual
 

RFNT_CDR

  • 2. Main Objective  Create a vehicle that will track a high frequency RF/IR transmitter  The practical application is a golf caddy that will follow a golfer when requested. Matthew Sharp
  • 3. Platform Processor Motor Digital Compass Motor (Right) GPIO RS/232 Base of Vehicle Transmitter IR TX RF TX GPIO Digital Compass Motor (Left) Motor ControlGPIO RS/232 RF RX Hardware Overview IR RX
  • 4. Transmitter Ben Says: “It Transmits!!” Matthew Sharp
  • 9. IR RX Simple, yet sophisticated!! Matthew Sharp
  • 12. 8051 to the Rescue Matthew Sharp
  • 14. Base Motors  Two 12V ServoDisk Motors  Power – 12V Car Battery  Optocoupler  Solid-State Relays  4 Amp Fuses Fabien Nervais
  • 15. Rotating Mount Configuration  5V DC Servo Motor  Grooved Rubber Belt  Power  12V to 5V linear voltage regulator  Solid-State Relay Fabien Nervais
  • 16. Rotation Control  Wire Routing Resolved:  Approximately 350º Rotation  Serial Cable Connection  2 Limit Switches Controlling the Rotational Behavior Fabien Nervais
  • 17. Powering the Rotating Mount Platform Fabien Nervais
  • 20. Capacitors and Vcc/Gnd Bus .1 uF Vcc Gnd Ryan Hitchler
  • 27. EPROM Test Program ; Capstone test code ; for MC68HC11 CodeBase EQU $8000 ; address of start of code ORG $FFFE ; start of address pointer DW CodeBase ; set up pointer address to start of code ORG CodeBase ; start of code Start: nop nop nop jmp Start Ryan Hitchler
  • 29. Parts Listing Part Quantity Price .1 uF Cap 28 Donated 1 uF Cap 2 Donated Through Hold Pins 26 Donated Power Bus 2 Donated Raltron 8MHz Clk Oscillator 1 Donated Heat Sink 1 Donated LM7805 5V Regulator 1 Donated 78M33 3.3V Regulator 1 Donated Banana Plug (Female) 3 Donated LED (Yellow) 1 Donated Diode 1 Donated Various Resistors 3 Donated SPST Switch 1 Donated Push Button Switch 1 Donated XCS10 FPGA 1 Donated 18V256 EEPROM 1 Donated 10 Pin 4.7KOhm SIP 3 Donated 6 Pin JTAG Header 1 Donated 20 Pin Logic Analyzer Header 2 Donated 27C256 EPROM 1 Donated 62256 SRAM 1 Donated 28 Pin ZIF 1 Donated MC68HC11 E0 1 Donated 74373 Transparent Latch 1 Donated MAX233 2 Donated DB9 Connector 2 Donated Perf Board 1 $19.00 Stand Off 10 $10.00 Total Cost $29.00 Ryan Hitchler
  • 30. Power On RF Signal ? Set up Interrupts Set up Serial Poll RF Receiver No Turn Antenna Poll IR Receiver IR Signal ? No Yes Yes Stop Antenna Read Ant. Compass Turn Base -> Ant Base = Ant.? Read Base Compass No Stop Turning YesTurn Ant. -> Base Read Ant. Compass Ant. = Base ? No Stop Antenna Move Base Yes IR Signal ? Poll IR Receiver No Yes Poll RF Receiver RF Signal ? Yes No John Maitin Software Algorithm Redux
  • 31. Code ; Capstone algorithm code ; for MC68HC11 ; begin code section ORG CodeBase ; start of code Start: lds #Stack ; load stack pointer bsr enable_int ; enable interrupts pollrf: ldaa PORTA ; get GPIO information anda #RFMASK ; mask out RF information cmpa #RFMASK ; compare to RF information bne pollrf ; if no RF signal, continue polling startantenna: ldaa PORTA ; get GPIO information oraa #MAONFMASK0 ; mask in antenna motor control info anda #MAONFMASKF ; mask out unwanted info staa PORTA ; write out GPIO stuff pollir: ldaa PORTA ; get GPIO information anda #RFMASK ; mask out RF information cmpa #RFMASK ; compare to RF information bne stopantenna ; jump to stopantenna if no RF signal found ldaa PORTA ; get GPIO information again anda #IRMASK ; mask out IR information cmpa #IRMASK ; compare to IR mask bne pollir ; if no IR signal, continue polling stopantenna: ldaa PORTA ; get GPIO information oraa #MAOFFMASK0 ; mask in antenna motor control info anda #MAOFFMASKF ; mask out unwanted info antennacompass: oraa #CMPAMASK ; select antenna compass staa PORTA ; write out GPIO information bsr read_compass ; read from the antenna compass into d std compass ; store antenna compass reading into compass baseturn: ldaa PORTA ; get GPIO information anda #CMPBMASK ; select base antenna staa PORTA ; write out GPIO information bsr read_compass ; read from the base compass into d subd compass ; subtract compass value beq movebase ; if equal, then move base cpd $0167 ; compare d to halfway value for compass bge turnright ; turn right if difference greater than halfway turnleft: ldaa PORTA ; get GPIO information oraa #MLONRMASK0 ; write in left motor information anda #MLONRMASKF ; write out unwanted information staa PORTA ; write GPIO information ldaa PORTA ; get GPIO information oraa #MRONFMASK0 ; write in right motor information anda #MRONFMASKF ; write out unwanted information staa PORTA ; write GPIO information bra pollcomp1 ; jump to pollcomp1 John Maitin
  • 32. Code (Pt. 2) turnright: ldaaPORTA ; get GPIO information oraa #MLONFMASK0 ; write in left motor information anda #MLONFMASKF ; write out unwanted information staaPORTA ; write GPIO information ldaaPORTA ; get GPIO information oraa #MRONRMASK0 ; write in right motor information anda #MRONRMASKF ; write out unwanted information staaPORTA ; write GPIO information pollcomp1: movebase: stop ; enable interrupt control enable_int: sei ; disable interrupts ldaa#$30 ; 9600 baud, assuming 8 MHz clock staaBAUD ; ldaa#$00 ; 8 data bits staaSCCR1 ; ldaa#$2c ; Receive interrupt, poll transmit, enable TX,RX staaSCCR2 ; ldaaSCSR ; clear RDRF, error flags ldaaSCDR ; clear receive buffer clra ; clear a tap ; transfer a to cc register (enable XIRQ and IRQ) cli ; enable interrupts rts ; SCI interrupt handler rec: psha ldaa SCSR anda #$40 cmpa #$40 bne quit ldaa SCDR staa compass quit: pula rti ; change antenna direction (XIRQ interrupt handler) changeant: psha pshb ldaa PORTA ldab antdir comb bmi goreverse goforward: oraa #MAONFMASK0 anda #MAONFMASKF bra finishchange goreverse: oraa #MAONRMASK0 anda #MAONRMASKF finishchange: staa PORTA pulb pula rti John Maitin
  • 33. Simple Memory Map, Simple Decode  Memory map is divided in half, so only 1 pin needed to decode  If memory mapped I/O is used, we can adapt logic with and gates from needed address pins Josh Bingaman
  • 36. Sensor Communication  All GPIO  No Decode logic  1 pin for IR Reception  1 pin for RF Reception  Limit Switches on Antenna motor to XIRQ  1 spare GPIO input for Proximity Sensor Josh Bingaman
  • 37.