Establish an SSH connection to the raspi using the default credentials (pi/raspberry).Insert the SD card in your Raspi, connect it to your local network and power it up.You can also minimize any emissions (Wifi and Bluetooth), for less power consumption and less detection, by adding the following code:.If you plan to use a shut down push button connected to the GPIO 21 (PIN #40) as the above schematic also add the following code: # Set the GPIO pin 21 as a shutdown pin.# Activate the enc28j60 ethernet interface Required for communication with the ENC28J60 module Edit the config.txt file and append the following at the end of the file.Create an empty file, name it "ssh" and make sure it has no extension.Prepare a new sd-card with Raspbian lite.If you choice to use GPIO3 (PIN #5), then the same button can be used both for Shut down and Power Up. The only hardware change required to add a Shut Down button using this method, is the connection of a push button between a GPIO pin (here GPIO21-PIN #40) is used. Shut Down on Raspbian Stretch 2017.08.16 and newer versions can be accomplished using the shutdown overlay through the config.txt file of the boot partition. Schematic Raspberry Pi ENC28J60 schematic ENC28J60 Pinout ENC28J60 Module The current implementation was made using a Raspberry PI Zero, and an ENC28J60 Ethernet Module as follows: The configuration can be simplified by using a standard Raspberry PI (anyone with a built-in ethernet). There is no standard procedure for applying this settings so you will have to search how you make this changes on the specific model of the device and your internet provider. On your internet provider’s device (modem/router) set port forwarding for redirecting from a specific external port (this port will be used at step 14) to port 22 of the device. Be able to understand if the Provider’s Modem/Router device has enabled any firewall rules which may conflict with your configuration.Access the Internet Provider’s Modem/Router at the Local Network and setup the appropriate port forwarding.Skip this step if you want the Drone to connect to your pc, but make sure that your computer is powered on when the Drone will try to initialize the connection. Configure an always on "Middle Host" with known external IP (must either be a static one, or have a way to know which is the one currently in use).In order to accomplish the following project and connect to the Drone you must:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |