r/ArduinoProjects • • Jul 26 '19

Every time the president tweets, this thing dispenses an ibuprofen pill

https://vimeo.com/337645659
295 Upvotes

22 comments sorted by

16

u/pgs1000 Jul 26 '19

Took me a long time to get this all working together, but I'm happy with how it turned out.

The code continuously checks @realDonaldTrump for new tweets. As soon as a new tweet appears, the Arduino stepper motor turns 360 degrees, dispensing a pill which falls out of the mouth and into the bowl.

The pill dispenser was made from an old protein powder tub, plastic sheets, a funnel, and a bunch of duct tape. The rubber mask is from Amazon.

Let me know what you think!

4

u/wintland Jul 26 '19

This is amazing! I have watched the video like 28 times. I want one.

Any chance you would share the code or instructions?

2

u/pgs1000 Jul 26 '19

Thanks! Yeah I can definitely share the code, it's quite basic as I'm pretty new to coding but happy to share it. I'll get the code up online soon and leave a link to it here.

5

u/pgs1000 Jul 26 '19

You can check out the code here: https://gist.github.com/paulspelman/f7e10b0467d05b6f8e72e79b0412f2b3 At some point I'll write out the full process of building it including the physical pieces, and will share that online.

1

u/wintland Jul 27 '19

Awesome. Thanks!

2

u/Friedrich_von_Cool Jul 27 '19

This makes me happy. Thanks for sharing.

1

u/pgs1000 Jul 27 '19

Cheers, glad you liked it. I just had a look at your dino-bot, it's awesome! Great work

2

u/shveytank Jul 26 '19

Can we build something like this with Raspberry pi 3b Raspberry pi 3 : https://www.mob.utsource.net/ic-datasheet/6471448

3

u/pgs1000 Jul 26 '19

Yeah probably, I've never used Raspberry Pi myself though, this was made with the Arduino Uno.

9

u/kilroy125 Jul 26 '19

I don't think the bowl is big enough

2

u/mr_bedbugs Jul 27 '19

Gonna need at least a swimming pool

1

u/[deleted] Jul 26 '19

That is awesome! I just had to reply. Great job!

1

u/pgs1000 Jul 26 '19

Thanks so much!

4

u/wolframore Jul 26 '19

Spit out a dime. You’ll be a millionaire

2

u/zachary_fields Jul 27 '19

Who needs that much ibuprofen?

3

u/f8computer Jul 26 '19

Yay I can OD any day of the week and call it Trumpcare now /s

1

u/[deleted] Aug 25 '19

Would this work with Xanax?

-5

u/paki_cat Jul 26 '19

this is what na does in their free time

0

u/[deleted] Jul 26 '19

[deleted]

10

u/pgs1000 Jul 26 '19

Maybe I should! That was one of his finest tweet storms

0

u/[deleted] Jul 26 '19

[deleted]

5

u/pgs1000 Jul 26 '19

Thanks, glad you got a laugh out of it!