Trigger warning: Assembly Code
I have mentioned this project several times here. It is far from wrapped up, but I thought some of the information I put together might be useful to others working with the AMS AS3935 chip. I used a backpack from MikroElektronica for that chip. That backpack also has an integrated antenna. Communication with it was by hardware SPI. Equivalent backpacks are available from other vendors.
The MCU is a PIC 16F1829. The emulator is based on a design provided by AMS in its manual for the AS3935 demo board and uses a 12F1840 . Unfortunately, I lost the PCB design for the detector, but at least I found the schematic (attached). Basically, the design was layed out with Eagle 7.2 and transferred to solderable PCB in the usual manner. LCD is the Parallax #27979 serial 4x20 display.
The attached files are:
1) Overview of operation and table of command modes that are implemented ("Instructions");
2) Processor code in Assembly ("AS3935 Detector Code");
3) Schematic of current device ("AS3935 Schematic"); and
4) An album of pictures showing a few of the many screens available ("Album"). This file was zipped to avoid uploading each image separately.
As Fall approaches I will probably get a real PCB made. The major design change will include hardware debouncing and maybe another switch or two for exiting and/or correcting data entry.
Regards, John

I have mentioned this project several times here. It is far from wrapped up, but I thought some of the information I put together might be useful to others working with the AMS AS3935 chip. I used a backpack from MikroElektronica for that chip. That backpack also has an integrated antenna. Communication with it was by hardware SPI. Equivalent backpacks are available from other vendors.
The MCU is a PIC 16F1829. The emulator is based on a design provided by AMS in its manual for the AS3935 demo board and uses a 12F1840 . Unfortunately, I lost the PCB design for the detector, but at least I found the schematic (attached). Basically, the design was layed out with Eagle 7.2 and transferred to solderable PCB in the usual manner. LCD is the Parallax #27979 serial 4x20 display.
The attached files are:
1) Overview of operation and table of command modes that are implemented ("Instructions");
2) Processor code in Assembly ("AS3935 Detector Code");
3) Schematic of current device ("AS3935 Schematic"); and
4) An album of pictures showing a few of the many screens available ("Album"). This file was zipped to avoid uploading each image separately.
As Fall approaches I will probably get a real PCB made. The major design change will include hardware debouncing and maybe another switch or two for exiting and/or correcting data entry.
Regards, John

Attachments
-
23.2 KB Views: 23
-
56.3 KB Views: 12
-
499.7 KB Views: 21
-
44.5 KB Views: 16
Last edited: