Sai YamanoorSrihari Yamanoor
Published © MIT

Pico Phone

Send text messages using the Raspberry Pi Pico and a cellular Notecard from blues wireless.

BeginnerFull instructions provided2 hours5,523
Pico Phone

Things used in this project

Hardware components

Blues Notecard (Cellular)
Blues Notecard (Cellular)
×1
Raspberry Pi Pico
Raspberry Pi Pico
×1
Carrier PCB
×1
SparkFun Qwiic Keypad - 12 Button
SparkFun Qwiic Keypad - 12 Button
×1
SM04B-SRSS-TB(LF)(SN)
×1
SparkFun Qwiic Cable Kit
SparkFun Qwiic Cable Kit
×1
MDT420E01001
×1
9774025151R
×1
20PIN FEMALE HEADER RED 5PK
×2
M2.5x4mm screw
×1
FXUB63.07.0150C
×1
Western Electric 2500 Touch Keypad Phone
×1

Software apps and online services

Adafruit CircuitPython
Losant Platform
Losant Platform
https://icanhazdadjoke.com/api
SMS Messaging API
Twilio SMS Messaging API

Hand tools and fabrication machines

Multitool, Screwdriver
Multitool, Screwdriver

Story

Read more

Custom parts and enclosures

Gerber Files

Schematics

Pico Carrier Schematic

Pico Carrier Schematic

Code

Pico Phone Code

Python
from time import sleep
import board
import busio
import sparkfun_qwiickeypad
import notecard

productUID = ""

# Create bus object using our board's I2C port
i2c = busio.I2C(board.GP17, board.GP16)

# Create relay object
card = notecard.OpenI2C(i2c, 0, 0, debug=True)

print('Enter a phone #')

req = {"req": "hub.set"}
req["product"] = productUID
req["mode"] = "periodic"
req["inbound"] = 120
req["outbound"] = 60
rsp = card.Transaction(req)

phone_no = ""

try:
    while True:
        req = {"req": "note.add"}
        req["file"] = "numbers.qo"
        req["body"] = {"phone": phone_no}
        req["sync"] = True
        res = card.Transaction(req)
        phone_no = ""
        sleep(60)

except KeyboardInterrupt:
    pass

Credits

Sai Yamanoor

Sai Yamanoor

11 projects • 10 followers
I am a hardware engineer. I like to design PCBs and build exciting gadgets.
Srihari Yamanoor

Srihari Yamanoor

2 projects • 0 followers
Mechanical Engineer, DIY Champ!
Thanks to Brandon Satrom and Lady Ada & Phil.

Comments