Giter Club home page Giter Club logo

ti-covid's Introduction

COVID19 status reporter for TI slient745

The TI slient745 is a data terminal from 1975. This project connects a raspberry pi zero to it, and then when the terminal is activated it prints the current status of COVID19 infections rates.

When the terminal is switched on, the raspi connections to https://covid19api.com/ and fetches the latest statistics and sends them to the terminal.

Circuitry

The TI slient 745 has a port on the back for an external modem. This accepts UART at 300 baud and 7E1

The signals are inverted so an inverter is needed.

If the terminal is switched off, there is feedback from the TX to the RX line through the terminal itself, which can create a loop if you're doing something with this input data. So the inputs are gated with the DTR signal from the modem.

Additionally the DTR pin was connected to GPIO4 on the Raspberry pi. This acts as the signal which activates the printing.

Raspi setup

Raspberry pi Zero W with latest raspian.

By default the uart serial console at /dev/ttyS0 doesn't work at 300 baud

So you need to add to /boot/config.txt dtoverlay=pi3-miniuart-bt To disable bluetooth on ttyAMA0 and use ttyAMA0 with the GPIO pins at the correct clock frequency.

Finally test with: picocom -f n -d 7 -p 1 -b 300 -y e /dev/ttyAMA0

Software

Requires python3

on your raspberry under user pi

$ git clone XX
$ python3 ti-covid/main.py

ti-covid's People

Contributors

jammers-ach avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.