Take the 2-minute tour ×
LEGO® Answers is a question and answer site for LEGO® and building block enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
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 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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