Author Topic: Coin-sized Linux embedded computer with Wi-Fi  (Read 21948 times)

0 Members and 1 Guest are viewing this topic.

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Coin-sized Linux embedded computer with Wi-Fi
« on: January 27, 2015, 07:05:07 pm »
Hello everyone

Let me brag a bit about our project — we are developing coin-sized microcomputer which runs OpenWRT, with onboard Wi-Fi (including PCB antenna) and a lot of GPIOs, friendly for novices as well as emedded electronics professionals. It's open source, including hardware — we will post everything (schematics, PCB, BOM) in editable formats, not only useless PDFs.

We just hit Kickstarter: https://www.kickstarter.com/projects/1133560316/black-swift-tiny-wireless-computer



Here is the official website: http://www.black-swift.com/, but I'll describe the project below for everyone's convenience.

Short specs:
  • Dimensions: 25×35×4 mm
  • Chipset: Atheros AR9331
  • Memory: 16 MB NOR flash, 64 MB DDR2 SDRAM
  • Power: 5 V or 3.3 V or 3.6...6 V (onboard voltage regulator)
  • Power consumption: 60 mA min (200 MHz, Wi-Fi disabled), 120-150 mA typ (400 MHz, Wi-Fi enabled), 300 mA max
  • Wi-Fi: 802.11 bgn with PCB antenna (NB: there will be no U.fl antenna connector in the final design)
  • I/O: microUSB (power), microUSB (USB 2.0), 2x10 pin 1.27 mm & 2?15 pin 1.27 mm (GPIO, power, 2?Ethernet, USB 2.0)
  • Firmware: U-Boot bootloader, OpenWRT Barrier Breaker

Price: $25 basic version, $35 developer edition. Worldwide shipment by Hong Kong Post.

Developer edition has absolutely the same form-factor, but comes with onboard UART-USB adapter and ability to directly reflash NOR memory, so it should be great for people who likes to play with bootloader and/or firmware — unbricking never was easier. Also it comes with 1.27 > 2.54 mm adapter, but later adapter will be sold separetely as well.

Why we did it? We are a small company which specializes in professional electronics development, and we were not happy with existing options. For example:

  • Cheap routers. Not suitable for any kind of professional design, and unconvenient for DIY or prototyping — not enough memory, not enough GPIOs.
  • EL-M150, Carambola 2, similar boards — surface-mounted, so unfriendly for novices, unconvenient for fast propotyping, ineffective in terms of occupied main PCB space, some of them need external Wi-Fi antenna,  others lack onboard voltage sources, etc.
  • VoCore and other RT5xxx-based boards — slow due to SDR memory (DDR2 is not supported by Ralink's chipset)
  • Raspberry Pi, BeagleBone Black etc. — great for enthusiasts, but way too big for embedded applications
  • Rapsberry Pi Compute Module — needs SODIMM connector, unfriendly for enthusiasts and fast prototyping, lacks Wi-Fi

Also, the common problem with Chinese hardware: almost impossible to persuade manufacturer to change anything according to our specific needs. We tried and failed, they just don't want to do it (or don't know how to do it, most likely...).

Besides, most OpenWRT-based boards come with more or less stock OpenWRT — which means 100 Hz timer, no preemptive multitasking, no GPIO IRQ support on AR9331, space-efficient userspace software like busybox utilities and dropbear SSH... So finally you have to build your own firmware anyway.

What we tried to achieve here? Mainly, combine the easyness of use for novices and enthusiasts with convenience for professionals in embedded electronics.

  • 2 standard microUSB ports — one for power, another for USB 2.0 interface, so you can connect USB peripherals with regular USB-OTG adapter and power the board with cellphone charger
  • Onboard voltage regulators — 5 V to 3.3 V and 3.3 V to 2.75 V to power peripherals (although 3.3V-tolerant, it is recommended to use AR9331 GPIOs with 2.75 V)
  • If you don't need USB power, you may power the board with 3.6...6 V or 3.3 V sharp.
  • Onboard Wi-Fi antenna, so nothing external needed here
  • All GPIOs, power, USB, etc. are on 1.27 mm connectors (standard PLLD type), so you can use it in a variety of ways — attach 2.54 mm adapter, solder wires directly to the board, solder it to the mainboard (if you need one) or make it detachable, align to the mainboard or place it at 90 degrees...

E.g. I have two projects with it already — one is a kind of weekend project with everything soldered to eurocard (Christmas tree lights controller, and I'm not, repeat not, joking, I seriously needed that thing), and another is apartment's energy meter with web interface in case small enough to fit on standard DIN rail (even EL-M150 doesn't fit inside it).

And to make something like wireless mp3 player or print server or router (unexpectedly!) you need nothing to solder.

OpenWRT image will have some modifications:
  • 1000 Hz kernel timer & preemptive multitasking enabled by default
  • GPIO IRQ support on AR9331 (you know, there's a patch available)
  • Ability to pass variables from userspace back to bootlader (i.e. to change CPU frequency on the next boot)
  • Normal SSH client instead of dropbear (you can't use Eclipse to remotely debug your software with dropbear)
  • et cetera

As I said, we will publish everything we did and changed in our wiki — http://www.black-swift.com/wiki?view=categories (some things already published: basic board information, some OpenWRT tips & tricks). OpenWRT images, patches, as well as board schematics and PCB will be published around February, after we get final design and make sure everything is working the way it should. Also we'll prepare and make available such things as Linux VirtualBox images to develop OpenWRT programs (minimal with SDK and command line, normal with X Window and Eclipse installed and set up), 32-bit OpenWRT SDK, et cetera, and some guides on how to use it (not everyone is a linux guru I guess).

As for now:
  • We finalized design in January and expect samples in February, so mass production can be started in March-April. It will be third revision, but mostly it's final touches, bells and whistles — so I expect no problems with it.
  • We have no investors and we are a small company, so we need funds to start mass production — as I said already, you can help us here
 

Offline Codemonkey

  • Regular Contributor
  • *
  • Posts: 235
  • Country: gb
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #1 on: January 27, 2015, 07:19:54 pm »
Nice work!

I have a couple of questions...

1) Is the USB available on the pluggable connectors (not just the micro USB socket) ? (I have an application currently using a Carambola where the module plugs into a board with a USB hub IC on it and some other USB peripherals. If the USB is only available on the micro USB connector, it would render your module useless in my application).

2) Do you plan to CE/FCC certify it ?
 

Offline Codemonkey

  • Regular Contributor
  • *
  • Posts: 235
  • Country: gb
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #2 on: January 27, 2015, 07:26:57 pm »
Doh!, just noticed the pinout diagram on the kickstarter page, didn't spot it after a quick glance on your website. It does appear to include USB on the headers :-)
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13695
  • Country: gb
    • Mike's Electric Stuff
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #3 on: January 27, 2015, 07:33:16 pm »
Why make a tiny module when it will need either a big battery or external power to be useful?
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #4 on: January 27, 2015, 07:40:08 pm »
1) Is the USB available on the pluggable connectors (not just the micro USB socket) ?
Yes. Here is the pinout: http://www.black-swift.com/wiki/4?view=article (USB_DM & USB_DP on pins 1-2 of the 2×15-pin connector).

Quote
2) Do you plan to CE/FCC certify it ?
FCC — definitely, CE — probably as well.
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #5 on: January 27, 2015, 07:48:16 pm »
Why make a tiny module when it will need either a big battery or external power to be useful?

Because you may have power already available — e.g. when using BSB on some kind of mainboard with some peripherals, and at the same time you may not have enough space to fit something bigger. Especially useful taking into account that Black Swift may be powered with 5 V or 3.3 V and in the former case can provide 3.3 V @ 700 mA for other devices.

For example, electricity meter in residual-current circuit breaker's case, 5VDC AC/DC converter is under the boards and BSB provides 3.3VDC for ADE7757 metering IC. A bit tense example, I know, but it gives an idea :)
« Last Edit: January 27, 2015, 07:50:23 pm by Oleg Artamonov »
 

Offline Christopher

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #6 on: January 27, 2015, 07:50:14 pm »
Nice idea but please add pin pitches & finished hole sizes to you dimensional drawing !
 

Offline jeremy

  • Super Contributor
  • ***
  • Posts: 1079
  • Country: au
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #7 on: January 27, 2015, 08:00:34 pm »
Nice and simple. Perfect. Backed, but will you be selling these afterwards as well? If it works well, I can think of a boatload of uses.
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #8 on: January 27, 2015, 08:08:14 pm »
Nice idea but please add pin pitches & finished hole sizes to you dimensional drawing !
Will do. Thanks for suggestion!

Backed, but will you be selling these afterwards as well? If it works well, I can think of a boatload of uses.
Of course we will. We'll open regular online store on black-swift.com, with the same worldwide shipping from Hong Kong.
 

Offline TopLoser

  • Supporter
  • ****
  • Posts: 1922
  • Country: fr
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #9 on: January 27, 2015, 08:30:11 pm »
Why make a tiny module when it will need either a big battery or external power to be useful?

Useful module to retrofit to existing equipment. Perfect price point at $19 shipped as well, seems like incredible value. If only it had RS232/485 onboard!
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #10 on: January 27, 2015, 10:40:21 pm »
 :-+ Looks like a nice IOT type device.  I'm thinking of backing a few.

Useful module to retrofit to existing equipment. Perfect price point at $19 shipped as well, seems like incredible value. If only it had RS232/485 onboard!

The logic level UART RxD and TxD is there, as well as CTS and RTS. True RS232/485 requires different voltages, line drivers and transient protections, as well as screw terminals or DB-XX connectors to connect to the real world.  All that is much better done on a plugin daughter board like the developer board. 

The I/O pins also bring out the I2S ports, so you can sew it into a teddy bear with a battery pack and DAC/audio amplifier board, and put a talking teddy bear on the Net :)  Or just use a USB audio device.

You can also put it into an old wired front door Intercom box you might find at a garage sale, put a battery pack, USB webcam, USB audio w/microphone, pushbutton on the GPIO port, and you have a WiFi intercom from your front door.  Pop up a notice on your desktop PC when you're home, or on the SmartPhone when you are away, and you can see and speak to your visitor at the door.

It's small enough to fit into both those examples, and many more.

It's very usable because it's open source.

I think I might use it to turn a teddy bear into a speaking password manager... squeeze its nose in a secret manner to unlock it.
Oh shoot, now you know where my passwords are.  I'll use the giant panda instead :)

EDIT: I'm in...backed the pro board. They we're going fast :)
« Last Edit: January 27, 2015, 10:50:03 pm by codeboy2k »
 

Offline SL4P

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
  • There's more value if you figure it out yourself!
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #11 on: January 27, 2015, 11:11:53 pm »
Are you considering heat dissipation options?
Under worst case conditions is likely to need some help (e.g. sealed outdoor applications)
Don't ask a question if you aren't willing to listen to the answer.
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #12 on: January 28, 2015, 12:26:20 am »
Are you considering heat dissipation options?
Under worst case conditions is likely to need some help (e.g. sealed outdoor applications)

I'm not sure if you're addressing that to me or the developers... however, I know this SOC is used in alot of routers without a heatsink, and it's probably 60C or 70C inside the case of a router when you stack it with other devices.

The datasheet says the package can run at 110C (Junction 125C).  Obviously these are maximums and you want some headroom there. But I think that if it gets too hot a simple glued on heatsink would suffice, like they put on memory chips  or southbridge chips
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #13 on: January 28, 2015, 04:26:53 am »
The I/O pins also bring out the I2S ports
There's a problem with I2S — no stable driver available for AR9331. We're working on this, but I can't promise you any solution at the moment.

Anyway, if you need audio I/O — regular USB sound cards work great with the board.
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #14 on: January 28, 2015, 10:15:13 am »
NB: we just added bundle rewards - 2 or 3 boards with $5 to $15 NZD discount compared to regular price.

So if you want to order more than a single board or tried to order multiple boards by paying 2 or 3 times more that specific reward required (some people did it that way) - you may want to reconsider your choice to get a small discount.
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #15 on: February 01, 2015, 04:24:27 pm »
Made a board with AVR (ATTiny24A) to use it as peripheral controller - h/w PWM, ADC, realtime operations, etc.:



Patched avrdude 6.1 to compile for OpenWRT 14.07, so no need in external AVR programmer:



AVR flashing is done through SPI, so the same SPI can be used to communicate with AVR's firmware.

P.S. Should I call it "Arduino compatible!" and get a huge bunch of media attention?.. :D
« Last Edit: February 01, 2015, 04:26:10 pm by Oleg Artamonov »
 

Offline JBeale

  • Frequent Contributor
  • **
  • Posts: 298
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #16 on: February 13, 2015, 01:42:08 am »
Nice design, backed!  I've always been a bit curious about OpenWRT, but had doubts about the cheap routers, I wasn't sure if i would be able to use it without more hacking around than I wanted to do. And, not too much GPIO. So it's great that you have made an option that is actually intended for embedded Linux use.  Not as easy to solder to 0.05" holes but I like the super-small form factor, it can go inside more enclosures.
 


Offline JBeale

  • Frequent Contributor
  • **
  • Posts: 298
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #18 on: February 13, 2015, 02:47:28 am »
Speaking just for myself, the difference is likelihood of at least some minimal support, user forum with critical mass of english speaking users etc. I have little confidence i could get some unsupported china sourced design working on my own. Also, do those products have FCC cert?  Could you trust them if they claimed to ?  Maybe they they are solid products, but how do you know?
« Last Edit: February 13, 2015, 02:52:02 am by JBeale »
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1567
  • Country: au
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #19 on: February 13, 2015, 05:57:30 am »
Speaking just for myself, the difference is likelihood of at least some minimal support, user forum with critical mass of english speaking users etc. I have little confidence i could get some unsupported china sourced design working on my own. Also, do those products have FCC cert?  Could you trust them if they claimed to ?  Maybe they they are solid products, but how do you know?

The chipset is well documented and used in a lot of other designs - all of which are very close to the reference design. Thus, any forum which is for any device based off the AR9331 will be able to provide a significant amount of support. I have little confidence you could get the NZ sourced design working if you couldn't get the chinese one working.

These products don't provide a FCC cert, but currently the Black Swift is not certified either - they will work on getting it certified once the kickstarter is complete, so it is currently in the same boat as the chinese modules. Maybe this Black Swift is a solid product, but how do you know?
 

Offline JBeale

  • Frequent Contributor
  • **
  • Posts: 298
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #20 on: February 13, 2015, 03:21:44 pm »
As you suggest, I don't know any of the developers personally and I don't know how good any the products are. It is a gamble. But based on my experience with a variety of embedded Linux platforms (also a few wifi modules), I prefer to place my bet where I think the odds are best. In this case, the Kickstarter and forum threads like this, suggest to me the "Black Swift" designers are making some continuing effort beyond just making the PCB. That's what made me feel I'd have a better chance with it.  Even with the same chipset, there are a lot of ways to mess up a PCB (esp. with a 2.4 GHz transceiver).  In my experience, some China-sourced designs are put on the market with minimal testing and no support / bugfix/ followup of any sort.  Maybe others have a different experience but based on what I've seen, I'm ready to take a chance on this one.
« Last Edit: February 13, 2015, 04:34:32 pm by JBeale »
 

Offline ivan747

  • Super Contributor
  • ***
  • Posts: 2045
  • Country: us
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #21 on: February 15, 2015, 05:28:44 pm »
I would suggest you at least keep the footprint for the antenna connector somehow. I wouldn't trust a PCB antenna for some applications  :-+
 

Offline JBeale

  • Frequent Contributor
  • **
  • Posts: 298
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #22 on: February 15, 2015, 08:22:36 pm »
Maybe not too elegant, but since the whole module is small, could be mounted at feed point of cantenna, dish reflector etc.
 

Offline Oleg ArtamonovTopic starter

  • Contributor
  • Posts: 11
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #23 on: February 16, 2015, 03:10:37 pm »
Speaking just for myself, the difference is likelihood of at least some minimal support, user forum with critical mass of english speaking users etc. I have little confidence i could get some unsupported china sourced design working on my own.
One of the reasons we made Black Swift is that it was impossible to get any support from Chinese manufacturers, let alone persuade them to modify their designs to suit our needs. It seems most of them just mechanically produce something they have documentation for, without any understanding of how it works and how one can change it.

P.S. From my previous experience - once we ordered Dual Link DVI cables from Chinese factory, around 1-2k pcs. They just soldered DL-DVI connectors on SL-DVI cable (it has fewer wires) - and it seemed to me they just can't understand what's wrong here. Had to change the factory for our next order - found another guys who had their own test facility and employees with engineering education. Another story, pretty recent - one manufacturer asked to change person who controlled the process from the client's side with the reason "he's too angry at us, we want the previous guy back, he was kind".
« Last Edit: February 16, 2015, 03:18:10 pm by Oleg Artamonov »
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: Coin-sized Linux embedded computer with Wi-Fi
« Reply #24 on: June 22, 2015, 07:16:58 pm »
Based on lack of response from the developers, this is looking like another suspect Kickstarter project. Deliveries were supposed to begin this month but there have been no updates since April an no word from the developers despite numerous pleas from supporters.

Oleg, are you there?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf