Online Claw Machine Help

Hello
Very new to Arduino. but i was wondering if using a breakbeam sensor and an Ardunio would be possible to detect if a prize was won and use firebase to add the prize to a cart on my website? If so how would i go about doing that?
For context the app will allows you to play real life claw machines and win real prizes shipped for free. we use a raspberry pi to control the crane but just trying to find out how to do the prize sensor.
TIA!

Welcome to the forum

As your topic does not relate directly to the installation or operation of the IDE it has been moved to the Project Guidance category of the forum

Start with drawings of how you envision the breakbeam device will be positioned and relate to your prize. Rework the drawings until your mechanism can break a beam with a prize.

1 Like

Thank you!!

Raspberry Pi can use the same sensors the Arduino uses, and can do the same as the Arduino (and more). Can you access the Rpi to program it?

For reference: LV Vending.

https://www.instagram.com/lv_vending_canada/

I'm going to make the assumption that you did not write that code yourself or it would be obvious how to interface the sensor with the pi and not require an arduino?

Use a GPIO pin to read the sensor and integrate that reading into your existing code to detect that the object has been captured.

How would I do that? I apologize I am really new.

"raspberry pie read sensor"

"arduino read sensor"

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.