top | item 44090326

(no title)

RichardHesketh | 9 months ago

Awesome project, and a great idea to build a powerful capability using mostly off-the-shelf tools! Do you have a write-up somewhere, please? Even if only a few notes or code snippets, architecture outline, or what-have-you. My son is eight, but I’d love a way to keep him away from mobile devices but in touch with family members and friends.

discuss

order

alibova|9 months ago

Absolutely! I'm working on a proper write up but high level I broke the code up into two parts: 1) Sending text messages from the device 2) Receiving text messages

For sending text messages I have a raspberry pi hooked up to an arcade button and an off the shelf document scanner (you can see it in the last pic). When kiddo pushes the button it takes a picture, uploads to s3 and then sends via Twilio API.

For receiving the text message I have a Lambda script that receives the text message (via Twilio webhook) and it publishes it to a Pubnub channel, the raspberry pi monitors the pubnub channel and prints via thermal printer when a new message is received.