![]() ![]() The RF24 files are a modified version of TMRh20's nRF24L01 drivers to work with the Spresense. ![]() The GPS file is a modified version of the Spresense example. The code should be pretty much self-explanatory, but ask away in the comments if you have any. I tried to break the project down into little files instead of having a giant unwieldy.ino file. Spresense project (OpenOceanBuddyLocator) contains 15 files. Please refer to the Spresense documentation " Spresense Arduino Library Getting Started Guide" for using the Arduino IDE with the Spresense board. The project consists of two Arduino projects, one for the Spresense and the other for the Arduino Nano. Read the Compiling gotchas section to get the project to compile. The code has been tested and compiled from Arduino 1.8.8 on Ubuntu 18.10. If you use a battery with built-in protection, you won't have to worry about what I experienced above.ĭownload the code from the Open Ocean Buddy Locator repo at GitHub. The work around is to quickly jumper the protection unit's output ground with the input ground. My only guess is that while connecting the battery, the connector contacts intermittently disconnect till seated correctly and the protection circuit sees this as under voltage. Sometimes when connecting the battery, the protection circuit trips and cuts off the battery from the circuit. I put in a LiPo Protection circuit since the battery I used does not have it built-in. I thought about connecting to 5V from the boost converter but just opted to connect straight to the battery since that is what it looks like it was really meant for. ![]() ![]() The document says power with recommended 3.6V to 4.4V and no more than 7V. You'll instead see a + and - solder pads to right of the 4 LEDs on the board (if you had the GPS antenna pointing away from you and the USB port towards you). The battery connector doesn't come with the board. To power the Spresense, the battery's positive terminal is directly connected to the positive terminal of CN1 (ground will get conected through one of the board's ground pins). I did not put a switch thinking that much safer to pull the battery instead of switching off then forgetting about it. Probably could've use something smaller but that is what I had on hand. The battery is boosted to 5V using a LM2596 buck converter. I used a 1S RC battery and put in a LiPo protection circuit since the battery lacks one. The entire device is powered from one 3.7V battery. The Nano is used to read a magnetometer and control the NeoPixel ring. The Spresense controls an nRF24L01 module, OLED display, and communicates serially to an Arduino Nano. The Sony Spresense handles obtaining GPS data and communicating between the pair of devices. The devices can then calculate the bearing of the paired device and display that to the user visually via a NeoPixel ring and textually on a display. Also, separate VHF and GPS devices would be a bit pricey.Ī pair of devices that automatically communicate with each other and giving each other its own coordinates. Or maybe your kayak partner hooked up a huge fish and is too busy fighting the fish to respond. This might not be possible with diving since divers are usually dragging their float behind them. The problem with VHF and GPS is that a party member needs to respond to a call. Closest solution would be that both party members have a VHF radio and GPS device on them and then relay coordinates to each other. No readily available single device (well, would be a pair of devices) that I know of exists to solve the problem. Trying to find your far off buddy when you are low in the water is a tad bit difficult. We should stick with each other at all times, but sometimes we get separated. Need to find your diving, fishing, or kayaking partner buddy out in the open ocean. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |