Jump to content
THIS IS THE TEST SITE OF EUROBRICKS! ×
THIS IS THE TEST SITE OF EUROBRICKS!

Recommended Posts

Posted (edited)

Hello!

I had this idea of making a ball counter for a long time,however,I don't own an NXT and neither have enough pieces (and the knowledge) to build a mechanical one (like Nico71's)

So after some work I came out with this - I've built an app for my Nexus 4,which uses the phone's built in proximity sensor to detect proximity change. The app then adds one to the ball counter,and waits

700ms before measuring again (because of the lever sometimes jumping a little after it moves)

The first prototype was a rail going in front of the proximity sensor,so every time a ball crosses it will block it. This,however,wasn't reliable at all because of the

sensor's low refresh rate.

So I built what you see in the video - now,a ball goes up in a threads lift,moving a lever which then blocks the proximity sensor. It's 100% accurate.

Here's the video,thanks for watching!

Edited by LegoGBC
Posted (edited)

Nice work :classic: I like how you got around the problem of not having NXT by building an app for your phone, very imaginative! May I ask, how did you build it?

Thank you!

The app is programmed in Java for android.

The algorithm itself isn't very complicated,but required some tweaking to make it 100% accurate.

Edited by LegoGBC
Posted

Phones have a proximity detector? What do you use that for besides this?

When you put your phone next to your ear,the screen turns off (when making a call) so you won't accidently hang up the call with your ear or something.

Posted

I love this, such a good solution using what you have and not just going out and getting new stuff, you should make the app available if not already i bet there are loads of people that would like to play with this.

Posted

I love this, such a good solution using what you have and not just going out and getting new stuff, you should make the app available if not already i bet there are loads of people that would like to play with this.

Thank you. As the video description suggest,the app is available to anybody who wants to use it. Just PM me on youtube and i'll send it

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...