How we did GATOR

In this article, I want to describe my experience in the design and development of a BLUETOOTH peripheral device in a rather chronicle format, because trying to describe the process in one article turns out to be too much text and explanations.





A little before the history of why in general GATOR how and why.





Several years ago, as it usually happens, I accidentally met a software development team. Since I am quite closely engaged in the development of electronics, I was offered to participate in one simple, as it seemed at first, project. I was offered to participate in the development of a device that, on the one hand, has a BLUETOOTH interface, on the other hand, an RF transceiver / transmitter <1GHz and this transceiver is needed to read the radio keys of the remote controls and transmit the read key over the air. Some strange idea, there is aliexpress and cheap key chains for $ 3, you want to open the barriers from your smartphone, open it, some kind of absurdity.





BUT ... I DID NOT UNDERSTAND ANYTHING !!!





GATOR is not just a device, it is a system of interaction that does not end with a "opener". For example, we agreed to visit my friend with his family for the weekend, his entrance to the territory is closed by automatic gates, and the gates are not against the entrance, you still have to saw and cut before them, and there are two options, - or my friend is waiting with a key fob on cold or my family and I are waiting in the car "maybe someone will go." However, if there is a GATOR, it is enough to send the key and I will open the gate from the application as with my own key fob.





And then to admit the concept hooked me !!! All the "key chains" are in one place, GATOR itself will tell you with what key what to open by geolocation in the smartphone, I don't know how from anyone, I have microstress when I stand in front of the barrier and cannot understand why the "ram-like" barrier does not open !!! And now the barriers have been installed everywhere, and from the parents, the barrier has been installed without any demand! And an ambulance, for example, how will it pass? In theory, if everyone has GATOR, then the problem "to the entrance" disappears altogether, "but that's a completely different story."





It is difficult to explain on the fingers, so the video, if I may:





Implementation of electronic filling

By the way, the system began to be developed back in 2017.





Device prototype, February 2018.





First device revision, September 2018.





Final revision candidate:





... ... , ""?





:





  1. .





  2. .





  3. , .





, : , , . , - . , - .





:





  1. 4- , 2-. MCU, , , 200, 50 , "" , .





  2. . , , , ( , , ).





  3. , . , .





- :





( ):





  1. NRF52832, Bluetooth Transport MCU - Nordic Semiconductor.





  2. 1101 <1GHz - Texas Instruments.





  3. Power controller NCP170AXV330T2G - ON Semiconductor.





  4. STMC08, ST Microelectroncs.





, ... . , ! :





, , ( ...,B,C,D,rev. E) :





  1. "" .





  2. .





  3. USB ( , ).





  4. , .





GATOR ONE:





.

Bluetooth, / - CC1101 BOOTLOADER.





  • BLUETOOTH.





Nordic Semiconductor, . .





:





  1. Nordic "" nrf51/52 Segger Embedded Studio.





  2. , BLUETOOTH .





  3. NORDIC IOS ANDROID (nRF Connect for Mobile (Android), nRF Connect: Bluetooth App).





:





  1. SEGGER SEGGER , , JLINK 6.7d . Nordic, , "".





  2. BLUETOOTH NORDIC Soft Device, Soft Device , , - Breakpoint, SoftDevice . - . NORDIC "COM ", , , UART . "" GPIO SoftDevice, " " SoftDevice - SoftDevice, HADR FAULT! . , , SoftDevice FLASH SRAM, "" "" , NORDIC.





SoftDevice, :





, , ( , JLINK ):





... Segger Embedded Studio, , SDK NORDIC, , , , GPIO , /. - :





... , .





:





  1. .





  2. (, ...).





  3. .





  4. .





...





  • BOOTLOADER.





NRF , . NORDIC.





, , , . "" . , , . .





, , , - , SoftDevice , , " " . , , , - ! , .





" ":





  • .





, 500MHz, 0,5 1GHz. (), , SWITCH PE4259.









: 315MHz, 434MHz, 435MHz, 868MHz, 912MHz.





, AGC CC1101.





, , , . . .





.





  1. .





  2. " " .





  3. (, ).





№ 1:





CC1101 RSS , , "" , . SDR SHARP , TERRATEC.





№2:





CC1101 "" , 30 "" "" CC1101 . 30% . "" "" , , -, - .





CAME, :





Hormann BiSecure, AES :





FAAC 868MHz:





№3





.





№2 ! " " , . , , 1, , , , , , "" , .









DOORHAN ( KEELOQ ), 64 , , , ... ( , - ):





0x87318DCCB5826053 ==> 81CC062E





0x87318DCC108FCFDF ==> 81CC062F





0x87318DCCE381BD59 ==> 81CC0630





.





, GATOR .





I would very much like to write about how we wrote GATOR on IOS / ANDROID and how we wrote the server part in the following articles, if this turns out to be interesting / informative.





Thanks for attention. Good luck, blessings and kindness !!! And Happy New Year !!!









PS





If suddenly someone is interested, we published on KICKSTARTER'e .





And our app is in APP STORE .








All Articles