2nd Shanghai Maker Carnival 2013

Quiet time at the popular first day of Shanghai Maker Carnival 2013 had crowds of locals and hackers and makers from Shanghai, Nanjing, Beijing, Shenzhen, Taipai, Indonesia, Singapore, Prague, America, ……

The number of companies large and small also exploded and many of the sponsors also had a major presence, including AutoDesk, Lego, DFRobots. More photos in next posts.

Overview - quiet time!

 

XinCheJian = amazing

Foxconn Shanghai
Foxconn Shanghai

Was going to post a shorter article about below – but it felt way too much like I was just bragging – so I did not publish. Now after seeing and having the view that “XinCheJian = amazing” expressed by others – well I had to publish!

Blogged recently and in past about how amazing XinCheJian is, since then even more amazing things via XinCheJian:

Two weeks ago on the way to XinCheJian’s hackerspace in a container – went past the beginnings of the new FoxConn Shanghai building.

OK that is a bit random – how about a week ago I opened XinCheJian door to let some people in – it was the new owner of HackaDay and the CTO.
I was at XinCheJian to meet with David Li, founder of XinCheJian and so were they, so I got to listened and participate in a really interesting flow of ideas.

Turns out hackaDay is really a side project and is just on of 70 sites they own, mostly in electronics! They have been exploring Shenzhen electronics markets and are looking into ideas for HackaDay!

And it also turns out while I was impressed with meeting them and what they are planning, they were also very impressed with XinCheJian – see their interesting post.

My take on the interesting discussions …… China IS different:

  •  local market is massive – eg world record 1 day sales, 10 million website visitors in first minute of sale
  •  very close – supply – manufacture – delivery (typically small – medium parcel is $1 for 1-2 day delivery if shop is close, else maybe 3 to 4 days) + reduced customer support and no international shipping = prices often 5-10 times cheaper than same item in “the west”
  • local market works/behaves in VERY different ways – the historical and ongoing impact of restricted borders impacts all aspects of online actiivity and shopping, for example local crowdfunding sites exist, but everything already on Taobao (or soon will be)
  • Local company presentation at XinCheJian described products which are sold worldwide, about 20 working Chinese engineers were present and were astounded that:
    • company could exist on such low volume production runs of 100s and 1,000s instead of their “usual” millions of units.
    • Engineers daily focus = massive production run of millions of units to get lowest prices
  • suppliers and manufacturers also sell most services on common shopping websites like Taobao!
  • for about $10,000 you can just start manufacturing your product – no need for massive fund raising – maybe just borrow a bit from a few friends.
  • example of door peephole camera
  • forget about http://phonebloks.com/ HIGHLY modular DIY design/make mobile phone!!!!!
    • …. you go Shenzhen, pick and choose your phone modules, then for about $10,000 just manufacture it!
    • yes this ignores the recycling take of phonebloks – but you got your phone based on modules your chose
  • large companies often have spare capacity – ie already paid for infrastructure and idle staff, so if you can convince the owner, manufacturing can and does occur cheaper without or only part of cost those overheads.
  • small production runs (less than millions)
    • = they won’t return your phone call
    • = leads to use of smaller companies, often less experienced and lower quality (eg Pebble watch issues)
  • BLE tiles like Tile and Lively – will be $1 next year – several Chinese companies ramping up production

Plus my personal observation is in addition to the growing of companies that “provide access to manufacturers who make your product”, for example:
SeeedStudio, Hackvana, DFRobot and ITeadStudio, Sparkfun, Fritzing, and Upverter and 3D printing services like: Ponoko and Shapeways and hardware accelerators like: haxlr8.

Then there is also a small, but growing shift in the low volume market where more and more companies are now targeting low volume production at “affordable” cost instead of really expensive prototyping/low volume and also providing direct global access to these services, not just local access, for example: DragonInnovation and HWTrek  and SnapEDA.

Finally – I hear that Massimo – yes from Arduino will be at XinCheJian in late October after BarCamp and Maker Carnival.

Air-mouse update

Added header pins to the Xadow breakout board, plugged in the MMU 6050 sensor, uploaded the SAME code been testing on the Teensy++2 and success – the Xadow works as an air mouse!

I did comment out the button code as I have loaned my buttons to another Xinchejian Assistive devices team member. Also changed the movement sensitivity.

Will probably use the Teensy to continue the sensor – library debugging as it has heaps of IO to drive LEDs or a logic analyser. Will also move the draft code for the virtual button control to both boards and then should have a fully functional mouse. There are a lot more features planned, so this will be a highly capable and highly adaptable mouse!

A Xinchejian members first experience is in this second video – only instruction to him was hold like this and rotate! Seems like he was quite impressed!

Xadow movement detection demonstration

Xadow Demo1 Acceleration detector
Xadow Demo1 Acceleration detector

This more complicated demonstration uses an accelerometer to detect movement, displays accelerometer values on the OLED display and vibrates to indicate movement detected!

The demo code works first time, although the wiki instructions do need a little update to help klutzes like me. I’ll have to get stuck into those updates next!

Xadow – first use – LED bling


Xadow LED demoFirst try with the Xadow was using the LED demo code. Looks really nice and has me thinking hard for some more nice motion displays. Especially as the Xadow display board also has an ATmega168 on it!

The Xadow runs well from the supplied battery, so these little devices should really make very useful little wearable devices with plenty of show-off bling and some real capability as well!.

Not so busy – relaxed busy

A friend in XinCheJian hackerspace Shanghai asked me today what I have been up to. I was thinking not too much, as I have watched quite a few movies (Sleep Dealer is pretty good, Avatar was way better than I expected) and re/read several books & magazines, but then I started to list some of the things I have been doing…….

  • PartTester – built 2nd board with 1% R – did not work, and now 1st one not working – same issue, eventually worked out LCD had partially died on trip home from China.
    • Looking into ways to do improved or auto-calibration
    • As part of above, part of X-bot work discovered that Gerbers used for PCB production have an electrical issue where 328 processor digital ground is not connected. This is only in the Gerbers – the schematic is correct!
    • Red circle in photo highlights difference between “good” gerber (blue) and my gerber with missing ground connection.
    Gerber issue ground not connected to Atmega328 ground!
    Gerber issue ground not connected to Atmega328 ground!
    • X-Bot – learning SMD soldering (old, unrefrigerated solder paste = :(, new = 🙂 )
      • Made a pogo pin ISP connector to easily test if processor was working
    • Playing with el-cheapo Taobao STK500 programmer (good in HV mode, but can’t get it working in ISP mode)
    • Fighting several nasty computer issues
      • XP system freezes for 1/2 to 3-5 minutes yet CPU is at 1% and no other symptoms or errors!
      • XP ongoing anti-virus software instability issues
      • battling security update issues on XP and Lububtu
      • Lubuntu intermittent keyboard & mouse issues – only some keys/buttons work!
      • Lubuntu SMB file copy issues
      • Lubuntu “system problems”
      • Lubuntu restoring backups – path too long
      • Unsuccessfully trying to install Windows 7 to SSD and user directories to different disk
      • Unsuccessfully trying fix injet printer ($$ cartridges, cleaned, factory resets, extra cleaning…..)
      • …..
    • Replacing swimming pool pump (now pool is leaking – think it is drain system)
    • Car window electric winder replacement
    • Fixed front door lock
    • Home Theatre – fixed bad solder joint that stopped right channel working
    • Toshiba SD-K310P DVD player won’t play disks – seems like region free hack has stopped working
    • Dish washer – bottom arm won’t spin .. ongoing effort to fix
    • Backyard jungle:-
      • Getting rid of dangerous European wasp nest
      • Digging ditch for irrigation system repair
      • Hacking away at six months growth (two trailer loads so far), have not even started on the 80+ meters of hedges yet!
      • Watching Cockatoos, King Parrots and Roselas
      • Saw a falling star
      • Cleaning up flood in garage last night due to major storm – we were lucky – could hear clean up with chainsaws nearby.
      Backyard Cockatoos
      Backyard Cockatoos

       

      Backyard King Parrot
      Backyard King Parrot

       

SwarmRobot InfraRed remote control

The video shows three SwarmRobots being controlled by one InfraRed signal – sorry for the poor video quality.

Looking at ways to have some sort of SwarmRobot display for MakerCarnival in Shanghai in early November, found this AtTiny 2313 code which can decode RC5 IR. It compiled, loaded and ran (verified looking at serial data output), but it did not detect IR from several different remote controls tried.

Using this Arduino code, (which uses some really nice multi-protocol IR receive and transmit libraries) it was discovered that all the remote controls used where NEC protocol, not RC5! Research indicates the NEC protocol is very common in Asia!

Rather than find NEC code for the AtTiny, or write code decode NEC, I used the above library to send RC5 and now a SwarmRobot can receive commands and as the shows, several SwarmRobots can be controlled at the same time! Kept using RC5 because it actually sends two sets of information an ID and a command, so this really fits controlling robot X to do command Y, or group z of robots to all do same command.

The code is on GitHub: SwarmRobot AtTiny2313 and the Arduino transmitter.

SwarmRobot infrared object avoidance video

Success:- Using one InfraRed transmitter LED and four receiver LEDs for 360 degree object avoidance. The program logic is very simple at present.

Unfortunately the setup is not yet reliable – works one day but not the next and there are still some initialisation issues.

Biggest issue seems to be that there are huge variations in the functionality of IR receiver LEDs and we have not found matching data sheets for the two types we are using!

LittleWire programming Xinchejian SwarmRobot AtTiny

LittleWire programming Xinchejian SwarmRobot AtTiny via Arduino GUI
LittleWire programming Xinchejian SwarmRobot AtTiny via Arduino GUI

The LittleWire was mainly purchased to support Ihsan as he has been very open, providing a lot of really interesting information about his build process and design and it has also been interesting seeing the DangerousPrototypes community helping that process and even building many variations.

But now it looks like it will become my main and highly used programmer and in high demand for the Swarm Robot project, so I might have trouble finding time to play with all the other modes it has!

Thanks Ihsan!