Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi,
you can make an SPI master in the same Micro (i am not familiar with lattice, maybe it has some built-in SPI master. if not you can make a soft SPI using bit banging) and connect SPI master pins externally to SPI slave pins. Now send some data through SPI master and analyze the data received...
hi
you can connect GSM with PIC's hardware UART(serial port) and you can use software UART(using bit banging technique) for GPS as you need to only receive data from GPS so it should be simple
well that's good news -- Congratulations
it probably might be a good idea to post about what the actual problem was and how you solved it --- in case someone else runs into the same problem in future.
and please mark this thread as "SOLVED"
you should see what sensor is sending after issuing the command
you can either display each character received from the sensor on LCD or send it to PC via serial port. Examine the response and then write your code.
when you send this command, you need to place your finger on the sensor. If fingerprint is found in saved fingerprints, sensor should response fp id otherwise it will response with fp not found
if you dont place the finger after this command, sensor should give timeout error. you need to wait a...
hi
it's possible to do this with only microcontroller
you can try this
void main()
{
TRISB = 0; // pins are output, GP3 always input
PWM1_Init(38000);
PWM1_Set_duty(120);
while(1)
{
PWM1_Start();
Delay_ms(10);
PWM1_Stop()...
to do this, you can use this command
0x4D + 0x58 + 0x10 + 0x05 + 0x44 + 0x00 + 0x00 + 0x00 + 0x05 + 0x03
and to search starting from 2, use this one
0x4D + 0x58 + 0x10 + 0x05 + 0x44 + 0x00 + 0x02 + 0x00 + 0x03 + 0x03
Note that in the latter, you search for 3 fingerprints as total saved prints...
hi
have you used this configuration to connect LEDs?
and you may want to check the configuration for CBUS pins as described in section 3.5 (the default config is CBUS0 for TxLED & CBUS1 for RxLED)
In the command example given on page 15, the highlighted bytes below are the high and low byte (respectively) of the fingerprint position
0x4D + 0x58 + 0x10 + 0x03 + 0x40 + 0x00 + 0x00 + 0xF8
see section 4.3 and page 13 of datasheet
use this command to add finger print at position 1
0x4D +...
this way you are not sending a continuous signal. you will send 400us burst of 38kHz and then idle period for 400us.
To control the range, you should control the transmitting power (current to IR LED). if you need long range, consider using hi-power LED
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.