This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
content:meshextender:prototyping_on_mk808 [21/04/2013 19:43] Paul Gardner-Stephen [Flashing ROMs on the MK808b] |
content:meshextender:prototyping_on_mk808 [25/04/2013 04:57] Paul Gardner-Stephen [2nd Generation Mesh Extender Prototype Platforms] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ======= 2nd Generation Mesh Extender Prototype Platforms ======= |
- | This is a 2nd generation prototype intended to address the physical size and slowness issues of the 1st generation. | + | This page is for concepts for 2nd generation prototype intended to address the physical size, physical robustness, |
- | It would be really nice if we discovered | + | Objectives: |
+ | * 24-hour run-time. | ||
+ | * Fast CPU for good Rhizome signature verification performance, | ||
+ | * RFD900 radio connected by USB for UHF packet radio. | ||
+ | * Powered by nominal 12v input for car charging. | ||
+ | * Full powered USB port for charging phones. | ||
+ | |||
+ | We are considering a few options for this, which are described below. | ||
+ | |||
+ | Most of these are centred around the low-cost low-power Android stick-PCs manufactured by Tronsmart (http:// | ||
+ | ===== Comparing Power Consumption of the various devices ===== | ||
+ | |||
+ | ==== Summary ==== | ||
+ | |||
+ | An MK808B will use about the same amount of power as the TP-LINK WR703N platform we are currently using, but with much, much better performance. | ||
+ | |||
+ | Total power budget will be between 1.0W and 1.3W, plus the power to run servald. | ||
+ | An aggregate average consumption of 1.3W is probably reasonable. | ||
+ | |||
+ | Assuming an 80% efficient power supply, and 24 hours of endurance, this indicates that we will need a 40Wh battery. | ||
+ | |||
+ | To allow for charging a typical phone, we should allow another 10Wh, for a total of 50Wh for a system that can endure and support a smart-phone for 24 hours. | ||
+ | |||
+ | We need to test the assumption about servald energy consumtion to have confidence in these figures. | ||
+ | |||
+ | What is pleasing is that the MK808B does NOT use the 1.1W - 2.2W when idle that some sources | ||
+ | |||
+ | === Processing platform === | ||
+ | |||
+ | The TP-LINK WR703N + Wi-Fi AP+ad-hoc + USB hub + USB memory stick uses about 1W to run servald, minus USB serial adapter and RFD900 radio. | ||
+ | |||
+ | The MK808B, not running servald, and Wi-Fi in AP mode only (we don't know how to do simultaneous ad-hoc + AP uses on it) uses about 0.75W, less than the WR703N. | ||
+ | |||
+ | The MK802ii uses about 1W to do the same job as the MK808B, which is more than the MK808B uses. So the MK802ii is out on the basis of inferior power consumption and performance compared with the MK808B. | ||
+ | |||
+ | The MK808B, apart from the lack of simultaneous AP+ad-hoc Wi-Fi looks like the clear winner at this stage, provided that servald doesn' | ||
+ | |||
+ | === USB/Serial adapters === | ||
+ | |||
+ | The CP210x adapter uses about 0.14W, while the FTDI adapter cable uses about 0.12W. However, the cable is too large for the slight power saving that is offers. | ||
+ | |||
+ | === RFD900 Radio idle consumption === | ||
+ | |||
+ | The RFD900 adds between about 0.04W and 0.3W when operating at a TX power of 100mW. | ||
+ | |||
+ | ==== Raw Measurements ==== | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display connected and on, Serval Mesh not installed, no serial adapter plugged in): averaging 0.187A - 0.198A @ 4.995V = 0.94W - 0.99W | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi AP mode, HDMI display connected and on, Serval Mesh not installed, no serial adapter plugged in): averaging 0.187A - 0.201A @ 4.995V = 0.94W - 1.01W | ||
+ | * MK808B (idle, Wi-Fi AP mode, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi off, HDMI display connected and on, Serval Mesh not installed, no serial adapter plugged in): averaging 0.143A - 0.144A @ 4.995V = 0.71W - 0.72W | ||
+ | * MK808B (idle, Wi-Fi off, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display disconnected, | ||
+ | * MK808B (idle, Wi-Fi client mode, HDMI display disconnected, | ||
+ | * FTDI cable + RFD900 (TX @ 100mW) with link but no traffic: 0.048A - 0.09A @ 4.995V = 0.24W - 0.45W | ||
+ | * FTDI cable + RFD900 (TX @ 250mW) with link but no traffic: 0.037A - 0.12A @ 4.995V = 0.19W - 0.60W (but peaks are likely reduced due to sampling issues in our test environment). | ||
+ | * CP210x cable + RFD900 (TX @ 100mW) with link but no traffic: 0.066A - 0.1A @ 4.995V = 0.33W - 0.50W | ||
+ | * MK802ii (idle, HDMI display connected, Serval Mesh not installed): 0.21A - 0.30A @ 4.995V = 1.05W - 1.50W | ||
+ | * MK802ii (idle, HDMI display disconnected, | ||
+ | * TP-LINK WR703N (idle, no USB hub, memory stick, USB serial adaptor or RFD900 radio): 0.099A - 0.110A @ 4.995V = 0.50W - 0.55W | ||
+ | * TP-LINK WR703N (idle, Wi-Fi in simulatenous ad-hoc & AP mode, USB hub, memory stick, running servald, no USB serial adaptor or RFD900 radio): 0.191A - 0.21A @ 4.995V = 0.96W - 1.05W | ||
+ | ====== MK808B Android Stick PC + RFD900 Radio ====== | ||
Pros: | Pros: | ||
Line 17: | Line 81: | ||
- no connection by ad-hoc mode phones | - no connection by ad-hoc mode phones | ||
- It runs Android instead of a bare Linux OS, making life a bit more complicated and development slower. | - It runs Android instead of a bare Linux OS, making life a bit more complicated and development slower. | ||
- | - It might end up using a lot of power, since the 808B isn't intended to be battery powered. | + | - It might end up using a lot of power, since the 808B isn't intended to be battery powered |
===== Flashing ROMs on the MK808b ===== | ===== Flashing ROMs on the MK808b ===== | ||
Line 38: | Line 102: | ||
http:// | http:// | ||
- | ===== Potential ROMs for Mesh Extender Prototypes ===== | + | ===== Potential ROMs for MK808B-based |
We need CP210x serial support, and Wi-Fi hotspot, and ideally simultaneous Wi-Fi access point operation. | We need CP210x serial support, and Wi-Fi hotspot, and ideally simultaneous Wi-Fi access point operation. | ||
Line 58: | Line 122: | ||
http:// | http:// | ||
- | But Wi-Fi/ | + | We have confirmed that cp210x support works, and can talk to an RFD900 radio with this ROM. |
+ | |||
+ | But Wi-Fi/ | ||
===== MK802ii ===== | ===== MK802ii ===== | ||
- | This is the older generation of the same device. It runs @ 1GHz with an older core, lacks Bluetooth and depending on the version has either 512MB or 1GB RAM. Certainly enough for what we need. | + | This is the older generation of the MK808B. It runs @ 1GHz with an older core, lacks Bluetooth and depending on the version has either 512MB or 1GB RAM. Certainly enough for what we need. It might (or might not) have lower power consumption. |
Putting a Debian image on is easy: http:// | Putting a Debian image on is easy: http:// | ||
Line 108: | Line 174: | ||
With this we were able to talk to the RFD900 easily from our MK802ii. | With this we were able to talk to the RFD900 easily from our MK802ii. | ||
- | ==== Radio Modules & Antennae ==== | + | ====== Radio Modules & Antennae |
- | RFD900 radios are AUD$62 wholesale (orders above 20 or so units). | + | RFD900 radios are AUD$62 wholesale (orders above 20 or so units, but check with RFDesign before ordering). |
+ | |||
+ | From an antenna perspective, | ||
+ | |||
+ | ===== Flexible strip dipole antennae ===== | ||
Of the antenna options that rfdesign stock, the dipoles have much better performance due to ground-independence (less local noise induced on the receiver) and reduced transmission losses through reflection. | Of the antenna options that rfdesign stock, the dipoles have much better performance due to ground-independence (less local noise induced on the receiver) and reduced transmission losses through reflection. | ||
Line 117: | Line 187: | ||
That makes total radio cost $62 + $7.95 + $7.95 + $6.45 = about AUD$85 in quantity. | That makes total radio cost $62 + $7.95 + $7.95 + $6.45 = about AUD$85 in quantity. | ||
+ | |||
+ | One challenge with this arrangement is that the battery (remember that LiFePO4 batteries contain iron) should be ideally around 5cm from the dipoles to minimise detuning. | ||
+ | |||
+ | ===== Corner-mounted monopole antennae ===== | ||
+ | |||
+ | This was a concept that Seppo at RFDesign suggested, having two monopole antenna on corner-mounted ground planes. | ||
+ | |||
+ | ====== Enclosures/ | ||
+ | |||
+ | ===== MyTouch 3G retail box ===== | ||
+ | We were looking at using the boxes that T-Mobile branded HTC MyTouch 3G Sense come in, because we have a few, and they are a nice hinged plastic case big enough to fit an MK808B, 30Wh battery and RFD900 radio. | ||
+ | |||
+ | ===== Plastic cases from a Chinese manufacturer ===== | ||
+ | |||
+ | There are a few options we are looking at by hunting around on AliExpress. | ||
+ | |||
+ | The most promising at this time has external dimensions of 220x210mm by 130mm high, and a carry handle on the top. Internal dimensions are 208x200x126mm. | ||
+ | |||
+ | It does weigh 490g, which is more than I would like, as it would make for a total weight of >1.5KG by the time we have a ~1KG 70-80Wh battery in there. | ||
+ | |||
+ | But it will probably be fine for now, either that or we continue to buy plastic lunch boxes from supermarkets or discount variety stores. | ||
+ |