I'm trying to build a sorter that scans the barcode on the brick using an iPhone and sorts it accordingly to the barcode. I cannot use colours due to amount of things to sort.

  • There are many Apps available on the App store that can scan barcodes and export the data via e-mail/dropbox etc. However your main problem will be latency. Unless you're prepared to program your own app (as David suggests) it may be worth considering other options.
    – Ambo100
    Aug 9, 2014 at 15:50

1 Answer 1


You will have to write an application for your phone that can scan the codes and then send the information to the EV3 via bluetooth or wifi.

If you don't know how to write iOS apps, start here.

For scanning bar codes there seems to be good info here. It appears that bar code scanning is built into iOS 7. If you have an older version, the the zxing library sounds like a good choice.

For communicating to the EV3 over bluetooth, this has been asked before. However, I have yet to come across a good example.

You should be able to figure out the communication protocol for communicating with the EV3 from the LEGO firmware documentation, VM documentation and source code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.