├── .github └── FUNDING.yml ├── LICENSE ├── README.md └── docs └── index.htm /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | # github: markbirss # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | buy_me_a_coffee: mark.birss # Replace with a single Buy Me a Coffee username 5 | 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Legal Code 2 | 3 | CC0 1.0 Universal 4 | 5 | CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE 6 | LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN 7 | ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 8 | INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES 9 | REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS 10 | PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 11 | THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED 12 | HEREUNDER. 13 | 14 | Statement of Purpose 15 | 16 | The laws of most jurisdictions throughout the world automatically confer 17 | exclusive Copyright and Related Rights (defined below) upon the creator 18 | and subsequent owner(s) (each and all, an "owner") of an original work of 19 | authorship and/or a database (each, a "Work"). 20 | 21 | Certain owners wish to permanently relinquish those rights to a Work for 22 | the purpose of contributing to a commons of creative, cultural and 23 | scientific works ("Commons") that the public can reliably and without fear 24 | of later claims of infringement build upon, modify, incorporate in other 25 | works, reuse and redistribute as freely as possible in any form whatsoever 26 | and for any purposes, including without limitation commercial purposes. 27 | These owners may contribute to the Commons to promote the ideal of a free 28 | culture and the further production of creative, cultural and scientific 29 | works, or to gain reputation or greater distribution for their Work in 30 | part through the use and efforts of others. 31 | 32 | For these and/or other purposes and motivations, and without any 33 | expectation of additional consideration or compensation, the person 34 | associating CC0 with a Work (the "Affirmer"), to the extent that he or she 35 | is an owner of Copyright and Related Rights in the Work, voluntarily 36 | elects to apply CC0 to the Work and publicly distribute the Work under its 37 | terms, with knowledge of his or her Copyright and Related Rights in the 38 | Work and the meaning and intended legal effect of CC0 on those rights. 39 | 40 | 1. Copyright and Related Rights. A Work made available under CC0 may be 41 | protected by copyright and related or neighboring rights ("Copyright and 42 | Related Rights"). Copyright and Related Rights include, but are not 43 | limited to, the following: 44 | 45 | i. the right to reproduce, adapt, distribute, perform, display, 46 | communicate, and translate a Work; 47 | ii. moral rights retained by the original author(s) and/or performer(s); 48 | iii. publicity and privacy rights pertaining to a person's image or 49 | likeness depicted in a Work; 50 | iv. rights protecting against unfair competition in regards to a Work, 51 | subject to the limitations in paragraph 4(a), below; 52 | v. rights protecting the extraction, dissemination, use and reuse of data 53 | in a Work; 54 | vi. database rights (such as those arising under Directive 96/9/EC of the 55 | European Parliament and of the Council of 11 March 1996 on the legal 56 | protection of databases, and under any national implementation 57 | thereof, including any amended or successor version of such 58 | directive); and 59 | vii. other similar, equivalent or corresponding rights throughout the 60 | world based on applicable law or treaty, and any national 61 | implementations thereof. 62 | 63 | 2. Waiver. To the greatest extent permitted by, but not in contravention 64 | of, applicable law, Affirmer hereby overtly, fully, permanently, 65 | irrevocably and unconditionally waives, abandons, and surrenders all of 66 | Affirmer's Copyright and Related Rights and associated claims and causes 67 | of action, whether now known or unknown (including existing as well as 68 | future claims and causes of action), in the Work (i) in all territories 69 | worldwide, (ii) for the maximum duration provided by applicable law or 70 | treaty (including future time extensions), (iii) in any current or future 71 | medium and for any number of copies, and (iv) for any purpose whatsoever, 72 | including without limitation commercial, advertising or promotional 73 | purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each 74 | member of the public at large and to the detriment of Affirmer's heirs and 75 | successors, fully intending that such Waiver shall not be subject to 76 | revocation, rescission, cancellation, termination, or any other legal or 77 | equitable action to disrupt the quiet enjoyment of the Work by the public 78 | as contemplated by Affirmer's express Statement of Purpose. 79 | 80 | 3. Public License Fallback. Should any part of the Waiver for any reason 81 | be judged legally invalid or ineffective under applicable law, then the 82 | Waiver shall be preserved to the maximum extent permitted taking into 83 | account Affirmer's express Statement of Purpose. In addition, to the 84 | extent the Waiver is so judged Affirmer hereby grants to each affected 85 | person a royalty-free, non transferable, non sublicensable, non exclusive, 86 | irrevocable and unconditional license to exercise Affirmer's Copyright and 87 | Related Rights in the Work (i) in all territories worldwide, (ii) for the 88 | maximum duration provided by applicable law or treaty (including future 89 | time extensions), (iii) in any current or future medium and for any number 90 | of copies, and (iv) for any purpose whatsoever, including without 91 | limitation commercial, advertising or promotional purposes (the 92 | "License"). The License shall be deemed effective as of the date CC0 was 93 | applied by Affirmer to the Work. Should any part of the License for any 94 | reason be judged legally invalid or ineffective under applicable law, such 95 | partial invalidity or ineffectiveness shall not invalidate the remainder 96 | of the License, and in such case Affirmer hereby affirms that he or she 97 | will not (i) exercise any of his or her remaining Copyright and Related 98 | Rights in the Work or (ii) assert any associated claims and causes of 99 | action with respect to the Work, in either case contrary to Affirmer's 100 | express Statement of Purpose. 101 | 102 | 4. Limitations and Disclaimers. 103 | 104 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 105 | surrendered, licensed or otherwise affected by this document. 106 | b. Affirmer offers the Work as-is and makes no representations or 107 | warranties of any kind concerning the Work, express, implied, 108 | statutory or otherwise, including without limitation warranties of 109 | title, merchantability, fitness for a particular purpose, non 110 | infringement, or the absence of latent or other defects, accuracy, or 111 | the present or absence of errors, whether or not discoverable, all to 112 | the greatest extent permissible under applicable law. 113 | c. Affirmer disclaims responsibility for clearing rights of other persons 114 | that may apply to the Work or any use thereof, including without 115 | limitation any person's Copyright and Related Rights in the Work. 116 | Further, Affirmer disclaims responsibility for obtaining any necessary 117 | consents, permissions or other rights required for any use of the 118 | Work. 119 | d. Affirmer understands and acknowledges that Creative Commons is not a 120 | party to this document and has no duty or obligation with respect to 121 | this CC0 or use of the Work. 122 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MESHSTICK 2 | 3 | If you are self assembling the board you can view the interactive BOM here below 4 | 5 | iBOM 6 | 7 | BOARD | iBOM url | 8 | |:--|:--| 9 | | V4 | [https://markbirss.github.io/MESHSTICK/](https://markbirss.github.io/MESHSTICK/) | 10 | 11 |  12 | 13 | diy CH341 USB-TO-SPI SX1262 LoRa Meshstick that you can have manufactured or part assembled and finish by just adding the USB 2.0 connector, Waveshare SX1262 TXCO Core LoRa module and SMA anntenna connector 14 | 15 | Waveshare SX1262 TXCO Core module is on the back side of the board. 16 | 17 | More vesions being evaluated are SX1280, 1W eByte E22, wio sx1262, LR1110 and LR1121 18 | 19 | Verion 1 did not have the 24C02 I2C flash chip that is being used to store a unique serial number for the device. 20 | 21 | The 2 pin jumper is populated when you want to program the flash chip. 22 | (IMSProg is used in the example bellow) 23 | 24 |  25 | 26 | ``` 27 | 5312cc00861a12550403000000000000 28 | 32303030303031360000000000000000 29 | 4d455348535449434b20505752442042 30 | 59204d45534854415354494300000000 31 | ``` 32 | Remove the jumper for normal use (once the 24C02 flash is programmed) 33 | 34 | Confirm that your unique iSerial is actually read from the device (with jumper removed) 35 | e.g using lsusb 36 | 37 | ``` 38 | lsusb | grep CH341 39 | Bus 001 Device 016: ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter 40 | ``` 41 | 42 | **Use the device numder 016 above for -s** 43 | ``` 44 | lsusb -s 016 -v|grep -i iserial 45 | iSerial 3 20000016 46 | ``` 47 | 48 | # **DISCLAIMER** 49 | 50 | # Use of these GERBER, BOM and CPL are at your own risk 51 | 52 | **BOARD VERSIONS** 53 | 54 | V2 (2 layer board) 55 | 56 |  57 | 58 | v2.zip (includes GERBER, BOM and CPL) 59 | 60 | V3 (4 layer board) 61 | 62 |  63 | 64 | v3.zip (includes GERBER, BOM and CPL) 65 | 66 | V4 (4 layer board) 67 | 68 | Adds I2C header for connecting more I2C devices in the furture 69 | 70 |  71 | 72 | v4.zip (includes GERBER, BOM and CPL) 73 | 74 | 75 | # **JLBPCB Gerber view (online)** 76 | https://jlcpcb.com/RGE 77 | 78 | # **SMA Connector** 79 | **LCSC #C9900018296** 80 | Alternative parts number available from Mouser or DigiKey 81 | 82 | EMPCB.SMAFSTJ.B.HT 83 | https://www.digikey.co.za/en/products/detail/taoglas-limited/EMPCB-SMAFSTJ-B-HT/3522337 84 | 85 | Other possible candidates 86 | 87 | LCSC Part # C496550 88 | 89 | **Use Case** 90 | 91 | You want to add a Meshtastic Powered Meshstick to your Raspberry Pi, OpenWRT Router or Desktop Computer running Ubuntu 24.04/ Debian 12/ Fedora or Steam Deck to use Meshtasticd (linux-native) 92 | 93 | arm64/armf/x86-64 and all OpenWRT architecture packages are available 94 | 95 |  96 |  97 | 98 | **yaml.conf** 99 | source 100 | 101 | https://github.com/meshtastic/firmware/blob/master/bin/config.d/lora-meshstick-1262.yaml 102 | 103 | ``` 104 | Lora: 105 | Module: sx1262 106 | CS: 0 107 | IRQ: 6 108 | Reset: 2 109 | Busy: 4 110 | spidev: ch341 111 | DIO3_TCXO_VOLTAGE: true 112 | # USB_Serialnum: 12345678 113 | USB_PID: 0x5512 114 | USB_VID: 0x1A86 115 | ``` 116 | 117 | **UPDATE** [2025-03-08] 118 | 119 | If you have installed meshtasticd package, you will first need to stop the meshtasticd service to run mui 120 | ``` 121 | sudo systemctl stop meshtasticd 122 | sudo systemctl disable meshtasticd 123 | ``` 124 | 125 | Support for 2.6.x MUI 126 | 127 | **UPDATE** [2025-04-27] 128 | OS Image - Mesh Hessen Raspberry Pi Image - (Contributed by @Do3MLA, Manuel) 129 | 130 | https://drive.google.com/file/d/1g-4EMshe5GP99uXz_K4nthUIZ1fj3jOa/view 131 | 132 | Mesh Hessen Raspberry Pi Image Changelog: 133 | 134 | Meshsens (updated) 135 | 136 | Meshtastic CLI (updated) 137 | 138 | Meshtasticd Native Linux 2.6.4 including MUI version 2.6.6 139 | 140 | (Prepared for the MeshStick) 141 | 142 | 143 | For other HATs or dongles, you will need to adjust the Meshtasticd settings. 144 | 145 | The image is ready to use. 146 | 147 | Download with Chrome 148 | 149 | Extract with 7zip 150 | 151 | Flash with Belena Etcher 152 | 153 | 154 | There are two startup scripts on the desktop: one for using the MeshStick via the MUI window, and one for using it via Android. 155 | 156 | 157 | Or build native-tft mui yourself 158 | 159 | https://meshtastic.org/docs/software/meshtastic-ui/ 160 | 161 | sudo nano /etc/meshtasticd/config.d/x11.yaml 162 | ``` 163 | Display: 164 | Panel: X11 165 | Width: 480 166 | Height: 480 167 | ``` 168 | 169 | Platformio python install 170 | ``` 171 | sudo apt -y install python3-full python3-virtualenv 172 | virtualenv . 173 | source bin/activate 174 | pip3 install platformio 175 | ``` 176 | 177 | Raspbian Dependancies 178 | ``` 179 | sudo apt install -y libusb-1.0-0-dev libgpiod-dev libyaml-dev libyaml-cpp-dev libbluetooth-dev libxkbcommon-dev libinput-dev libi2c-dev 180 | ``` 181 | 182 | Build and run native-tft (MUI) - 2.6.x 183 | ``` 184 | git clone https://github.com/meshtastic/firmware 185 | cd firmware/ 186 | git submodule update --init --recursive --remote; 187 | pio run -e native-tft 188 | .pio/build/native-tft/program 189 | ``` 190 | 191 |  192 | 193 |  194 | 195 | 196 | **TESTING** 197 | 198 | Various developers including myself have already received and tested the early version 1 of the Meshstick devices. 199 | 200 | 201 | **More updates to follow soon** 202 | 203 | **UPDATE** [2025-04-02] 204 | 205 | # Cheaper and quicker DIY Meshstick (PiggyStick) 206 | 207 | Important Note: Remember to move the voltage jumpers to 3V3 208 | 209 | 210 |  211 | 212 |  213 | 214 | PiggyStick wio-sx1262 [2025-04-11] 215 |  216 |  217 | 218 | PiggyStick LR1121 E80-900M2213S 868/915 and 2.4Ghz Dual LoRa Radio Module (only one radio use at a time) [2025-04-14] 219 |  220 | 221 | 222 | 223 |  224 | 225 | if I2c flash is really needed connect other side - but after flashing the eeeprom you will need to cut pin1 of ch341 226 | 227 |  228 | 229 | https://www.aliexpress.com/item/1005005400942525.html 230 | 231 | https://www.aliexpress.com/item/1005005305349454.html 232 | 233 | 234 | **UPDATE** [2025-05-05] 235 | 236 | 237 | Piggystick also works mounted in front with a flipped pcb ( ou can even swap radio modules out ) 238 | 239 |  240 | 241 | Newer editions of the CH341B dongles are also supported and working as exspected 242 | 243 |  244 | 245 | 246 | 247 | Trademarks 248 | 249 | Meshtastic® is a registered trademark of Meshtastic LLC 250 | https://meshtastic.org/docs/legal/licensing-and-trademark/ 251 | 252 | 253 | Pine64 is a registered trademark of https://pine64.com/ - Pine Store ltd. 254 | 255 | Support my work and considder **buying me a coffee** 256 | 257 | https://buymeacoffee.com/mark.birss 258 | -------------------------------------------------------------------------------- /docs/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 |4396 | Title 4397 | | 4398 |4399 | Revision 4400 | | 4401 |
4404 | Company 4405 | | 4406 |4407 | Date 4408 | | 4409 |