Piglet
User Guide
Version 1.0A
© 2013 Nicholas Garner, N3WG, Pignology, LLC
Страница 1: ...Piglet User Guide Version 1 0A 2013 Nicholas Garner N3WG Pignology LLC ...
Страница 2: ...ction Wi Fi Pre 2012 08 19 Post 2012 08 19 Jumpers Pigtail v1 Pigtail v2 Piglet GPIOs Pigtail Piglet Reconfiguration Multiple Configurations Soft AP Configuration Adhoc Original AdHoc Config Example AdHoc on a Device Shipped with Version 2 45 or 4 0 Infrastructure Mode Config Example Pigtail Firmware Update Firmware Upgrade to Version 4 0 Connect to Home Upgrade to version 4 00 non mif Upgrade to ...
Страница 3: ...480 590 2000 Icom IC 706 7000 7600 Icom Ci V Address and Baud Using Pigtail in HamLog on iOS Using Pigtail in HamLog on Android Pigtail with Android USB Serial Configure and Run Troubleshooting Basic Connection Sequence Pre 2012 08 19 Post 2012 08 19 Wi Fi Co Channel Interference Revision History ...
Страница 4: ... distribute reproduce publish license create derivative works from or sell any information software products or services obtained from the Pignology LLC website or its products Limitation of Liability In no event shall Pignology LLC be liable for any direct indirect punitive incidental special consequential damages whatsoever arising out of or connected with the use or misuse of it s products Gene...
Страница 5: ...t problems If you know the answer to a question posed by another user please feel free to help out Piglet User Group Pigtail Piglet Specs Unless a section specifically calls out the Piglet the terms Pigtail and Piglet should be used interchangeably in this document Pigtail Device Size mm W 74 H 32 5 D 120 Supply Voltage Min 5V Max 15V Power consumption Connected Idle 50mA TX 180mA Piglet Device Si...
Страница 6: ...and v2 The differences are small Version 2 added two more jumpers to enable particular features Version 2 also pulled some of the GPIO and Sensor pins from the wi fi module out to the board for folks that want to venture out of the box with the wi fi module The usage of these pins is detailed in the wi fi module user guide Piglet The Piglet is an evolution of the Pigtail based on user feedback The...
Страница 7: ...the enclosure If you opted for an extra power wire you re free to connect it as you please The input voltage range for the voltage regulator is 5 5 15 volts Observe polarity when connecting power to the board The board has indicated red black There is no protection built in if you connect the power backwards and you will release the smoke Piglet Power Connection The Piglet uses Anderson PowerPoles...
Страница 8: ...onnected to the ad hoc wifi network click the small disclosure indictor next to Pigtail XX Click the Static button to configure a static IP address For IP address enter 169 254 1 2 For Subnet Mask enter 255 255 0 0 In order to join the Pigtail to an existing wireless network the Wi Fi module must be reconfigured This can be done carefully from within HamLog following the configuration examples in ...
Страница 9: ...ve a particular custom application that could use some power you can use the 3V on pin 4 if needed An example of this and actually the reason this power connection was added is if you have a custom Icom CI V cable that requires power on pin 4 to do the level conversion from RS 232 to TTL you can use pin 4 to power the PCB inside that cable Pigtail v2 The version 2 Pigtail has 3 jumpers The jumper ...
Страница 10: ...ion DIP switch On the PCB around the base of the DIP switch in white letters are indications of what each switch does The three switches are for Pin 4 Power Old Jumper 3 CTS RTS Loop Old Jumper 1 and ADHOC Old Jumper 2 Please see the jumper text above to understand what these three connections do GPIOs Only v2 and later Pigtail PCBs have the GPIO pins broken out to the board The Piglet has no GPIO...
Страница 11: ...d mode NOTE There is no carriage return cr after the to enter command mode For example To enter command mode from data mode you need to send The module will respond with CMD indicating it is in command mode cr The module may not enter command mode NOTE There is a 250ms buffer before and after the escape sequence If any characters are sent before or after the escape sequence within this interval of...
Страница 12: ...ut of the device until you connect to the serial side Multiple Configurations It s possible to save multiple configurations for the Pigtail The commands to do this are save configname and load configname from Command mode Soft AP Configuration This is the default configuration on all Pigtails shipped after August 20 2012 This configuration requires firmware version 2 45 See the Firmware Update Sec...
Страница 13: ...wireless access point Two devices e g Pigtail and iPad can both join the same adhoc network and talk to each other Enter command mode on the Pigtail by pressing shift 4 three times as in Then apply the following commands Config Example set wlan channel 11 set wlan ssid Pigtail set wlan join 4 set ip address 169 254 1 1 set ip netmask 255 255 0 0 set ip local 7373 set ip dhcp 0 set broadcast port 7...
Страница 14: ...vices have older firmware like 2 28 this will work in AdHoc mode as well Infrastructure Mode Infrastructure mode is used when you have an existing wireless network that you would like to connect to for example your home network Enter command mode on the Pigtail by pressing shift 4 three times as in Then apply the following commands If any mistakes are made or the Pigtail cannot join the network yo...
Страница 15: ...IP address The command to update the firmware is ftp update A reboot is required after the new firmware is downloaded An example of the update starting from the device being turned on is below WiFly Ver 2 32 02 13 2012 on RN 171 MAC Addr 00 06 66 71 cc eb Auto Assoc watchnu22 chan 11 mode WPA2 SCAN OK Joining watchnu22 now READY Associated DHCP Start DHCP in 524ms lease 14400s IF UP DHCP ON IP 10 ...
Страница 16: ...grade to 4 00 non mif Upgrade to 4 0 Reset Configuration You should only do this upgrade through the CMD mode available on the serial port Do not attempt this from Terminal in HamLog Upgrade video N3WG has recorded a video showing the upgrade from 2 45 to 4 0 The video can be viewed here http youtu be i2RBf3y3O3E Connect to Home To update the firmware you have to join the Piglet to your home wifi ...
Страница 17: ...if files used by the new 4 0 version ftp update wifly7 400 mif It will download and install several files as part of the update After it s done updating the module will reboot itself to version 4 0 Reset Pigtail configuration Per the documentation you should reset the configuration when upgrading firmware First reset the config factory RESET reboot This will reset the baud rate to 9600 Modify your...
Страница 18: ...amLog getting the freq mode options That happens via Timer that sends to TCP to get to the Wi Fi module Once it s in the Wi Fi module then the baud rate comes into play Radio Connections The Pigtail has been tested with the following radios Note that the Pigtail ships with a default baud rate on the UART of 4800 Elecraft K2 The KIO2 module has a fixed baud rate of 4800 A straight through serial ca...
Страница 19: ...7 857 897 The default baud rate on the CAT interface of the Yaesu FT 817 is 4800 as is the Pigtail The Yaesu branded CT 62 cable can be used to connect to the radio You do not need the Pin4 Power jumper to be in place Yaesu FT 450 950 2k 3k 5k These radios use the new Yaesu CAT command set The Pigtail s default baud rate is 4800 You ll need to set the CATRATE menu item to 4800 or modify the Pigtai...
Страница 20: ...70 ohm removed if using the CT 17 board from Pignology IF using the device with an IC 7000 There s something different about the CI V port on that radio that needs just a little more power Pigtails sold that have a red main board don t have R1 any longer and will work with the CT 17 Icom Ci V Address and Baud The original version of HamLog that supported Icom Ci V had a fixed address of 58H that h...
Страница 21: ...them 4 Head back to the main contacts list screen and click to add a contact 5 You should see the PTA icon show up If HamLog successfully connects to the Pigtail the icon will be green 6 If your radio is on and connected HamLog should start asking the radio for its current frequency mode and options pre agc att etc 7 Press the Pigtail button in the Toolbar to display the controller screen These sc...
Страница 22: ... Open the Settings on your device and go to Wi Fi settings After a second you should see the network Pigtail Select that After a few seconds you should be assigned an IP address It will most likely be 10 1 1 10 2 Open HamLog and go to the Tools menu ...
Страница 23: ...3 Scroll down and select Pigtail 4 Out of the box the Pigtail s IP address is 10 1 1 1 I m unable to do the same auto discovery ...
Страница 24: ... Then hit save Unlike iOS the Pigtail settings are saved and reused If you are ever logging and need to disable the Pigtail just click Disable here If you have the Pigtail configured and the device can t connect it will disable it for this contact 5 Head back to the main contact list and add a contact ...
Страница 25: ...baud rate information listed above The Pigtail defaults to 4800 baud You might need to adjust your radio to match this rate or change the Pigtail s baud rate The freq and mode should populate after about 1 second Up top there is a button labeled PT Click this will take you to the control screen ...
Страница 26: ...7 This is the FT 817 control screen You can change band mode using the drop down buttons 8 The Elecraft radios have a CW Data Terminal button at the bottom ...
Страница 27: ...the CW Data Terminal HamLog will query the radio for decoded CW or Data and it will show in the in the Received Text field You can type in the Send field and hit send to have the radio transmit what you ve typed ...
Страница 28: ...pter available in my store here http shop pignology net I m grateful for the support if purchased here however if you prefer to purchase from another online retailer they can be found easily on Amazon When everything is connected up it looks like this The USB Serial adapter can be either FTDI or Prolific however I have not tested with Prolific Configure and Run The following screenshots are from H...
Страница 29: ...g the Micro USB OTG Host Cable You will see the following question pop up HamLog is configured to advertise it s ability to use USB Serial Adapters If you wish to always open HamLog when connecting this adapter click the Use by default check box and click okay ...
Страница 30: ...ened whenever you connect the USB Serial adapter Click on the Tools tab and select the Pigtail item In the Pigtail settings select your radio manufacturer and model click the Use Serial check box and select the baud rate you want to use The baud should match the baud rate setting of the radio Hit save ...
Страница 31: ...start querying your radio through the USB serial port If you want to verify it s working if you have another USB serial adapter for your computer and a null modem adapter you can connect your Android device to your computer and monitor the communication Ensure you have the same baud rate on both sides The following screenshot shows the commands being sent for an Elecraft KX3 ...
Страница 32: ...or beacon and select 10 1 1 10 or 169 254 1 1 Go back and add a contact Pre 2012 08 19 Please follow these steps to troubleshoot your Pigtail connection 1 When you turn the Pigtail on default as shipped state it blinks red and green 2 Opening the settings app on the iPad do you see the Pigtail listed on the wifi screen If not there may be a configuration issue on the Pigtail Take a look at the PT ...
Страница 33: ...less network rather than create an adhoc one you should remove it You will have problems with doing callsign lookups and the like if a 3G connection is also available 8 If you want the IP address assignment to be faster in the future set the IP address to 169 254 1 2 with a subnet mask of 255 255 0 0 Leave the Router field empty 9 Open HamLog Click Tools Pigtail After about 10 seconds you should s...
Страница 34: ... your username password from the Settings HamLog area Join the Pigtail to a wifi network that your iDevice is also connected to See the PT Config Examples page an idea on how to do this Post 2012 08 19 Please follow these steps to troubleshoot your Pigtail connection These instructions are for Pigtail s that shipped with updated firmware starting 8 19 2012 using the Soft AP mode 1 When you turn th...
Страница 35: ...igtail The text at the top of the screen should change to Selected 10 1 1 1 Manufacturer 9 Click the back button a couple times to get back to the main log screen Click to add a contact 10 The Pigtail should connect and a green icon should appear If it fails to connect there will be an informative message that pops up that says why 13 If the freq and mode fields are not auto populated check the ba...
Страница 36: ... many Wi Fi access points around it s possible to experience disconnects due to co channel interference If you experience random disconnects while talking to the Pigtail it s possible you re experiencing this problem Converting the Pigtail to the old Ad Hoc configuration should resolve it Get in touch with support pignology net if you suspect you re having this issue and I ll do whatever I can to ...