Comment

Comment by alibova

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.

parent alibova 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton