Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

Discussion Groups | Piclist | RE: Decoding data stream

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

Decoding data stream - Author Unknown - Jan 26 9:42:00 2001

Hi All:

I am a total beginner in the pic field and am looking for some help
for decoding a stream I receive on a pin. I need to sample 64
transitions and time the high or low between each transition i.e. how
long has the pin been high or low between each transition. The
stream uses this pattern to represent data:

0 is 400us high, 700us low
1 is 400us high, 1800us low

Does anybody have some code to do something similar with a 12c508 or
a 16f84? I'd be forever greatful to see something similar!

Thanks.





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


RE: Decoding data stream - Author Unknown - Jan 26 10:08:00 2001

Hi who-ever-you-are ;->

Is that to comunicate with a Dallas 1-Wire protocol? (like the one used on
thermometers or e-keys) If so, I have some code for pic16f84 that could help
you. If not, I can't :(

Regards,

Enzo




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

RE: Decoding data stream - Author Unknown - Jan 26 10:56:00 2001

Dear Patrick,

We use this code to read a electronic key DS1990A (in fact, its just a ROM
device), using the protocol.

The code is C code, compiled great with C2C compiler, from Pavel Baranov.
(http//:www.geocities.com/SiliconValley/Network/3656/c2c/c.html) a shareware
compiler.

I'm sorry to say that all coments are in Spanish. If you have real problems
w' it, maybe I could help... (if it isn't very urgent)

I hope this could help you.

Good luck!

Enzo


Attachment (not stored)
dallas.c
Type: application/octet-stream




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

EEPROM 93C66 - Author Unknown - Jan 26 11:05:00 2001

(English version of letter at bottom)
Hola a todos!

Se que no es específico de la lista, pero quizas puedan ayudarme.

Tengo un proyecto que usa una EEPROM serial 93C66 y tengo un problema
curioso. "A veces", cuando desconecto la alimentación, la memoria pierde
TODO su contenido, o lo sobreescribe con una palabra (0xBF usualmente).

Estas memorias tienen un comando que habilita la escritura de datos (que
estoy segurisimo que no lo envio bajo ninguna circunstancia) y sin embargo,
la cosa no funciona...

La memoria esta configurada para org = 8bits.

Gracias de antemano!!

Enzo

---- English version follows ----

Hi everybody!

I know this isn't list specific, but maybe somebody could helpe me :)

I have a project wich uses a serial EEPROM 93C66 and I've a ware problem:
"Sometimes", when I disconect power, the memory losses ALL its content, or
overwrites it with a word (ussually 0xBF).

This kind of memories have a command wich enables data writing (I'm
positive sure that I'm not sending the command under any circunstance) and
however, the thing doesn't work...

The EEPROM is configured as org = 8bit

Thanks in advance!!

Enzo




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )