Close
0%
0%

Trinket serial & analog terminal

A pocket sized serial and analog monitor

tjTJ
Similar projects worth following
Goal:
Monitor Rx Tx RTS CTS Lines (Serial) / A0-A1 (Analog)
Can act as a TTL/RS232 converter
Display sent/received data: TTL/RS232
Send data with the touchscreen
Baudrate detection if possible
Display Hex data / Ascii data function
Load file with pre-selected state machine (for example: bluetooth serial module configuration)

Hardware:

  • Battery pack: 100%
  • Screen: 90%
  • Trinket pro: 80%
  • RS232: To do
  • TTL: 30%
  • Rx/Tx: 50%
  • RTS/CTS: To do
  • Analog (A0 & A1): 100%
  • Main PCB: 30%
  • Schematics: To do

Software:

  • HMI: 10%
  • GitHub: To do
  • Serial: 20%
  • Analog: 60%

Mechanical:

  • Box design: To do
  • 3D print: To do

...

Altoids (96.8mm * 61.9mm * 19.1mm)

View all 6 components

  • Max232 and DB9

    TJ12/16/2014 at 17:58 0 comments

    I'm working on the max232 integration and the DB9 connector.

    And it's good Rx and Tx are ok.

    I'm adding RTS, CTS and I'll try to flash it using USB-RS232 cable

  • Analog parts

    TJ12/15/2014 at 12:21 0 comments

    I've added the possibility to analyze and view A0 and A1 trinket pins on the screen.

    A0 & A1 can be used as inputs, inputs pullups and/or outputs.

    IN: input / OU: output / UN: unused

    3 modes (A0==UN && A1==UN not a possible case):

    1. Input mode : (A0 == IN && A1 == IN) || (A0 == IN && A1 == UN) || (A0 == UN && A1 == IN)
    2. Output mode : (A0 == OU && A1==OU) || (A0 == OU && A1 == UN) || (A0 == UN && A1 == OU)
    3. Mixed mode : (A0 == OU && A1==IN) || (A0 == IN && A1 == OU)


    Oscilloscope screen works :)

  • Serial configuration

    TJ12/10/2014 at 20:54 0 comments

    ATmega 328p datasheet extract

    http://arduino.cc/en/Serial/begin

    The firmware will support:

    • Speed: 300 / 1.2k / 2.4k / 4.8k / 9.6k / 19.2k / 38.4k / 57.5k / 115.2k / 230.4k / 460.8k / 500k / 576k / 921.6k / 1M / manual value between 300 and 1M
    • Data / parity / stopbits:
      • None parity:
        • 5N1
        • 6N1
        • 7N1
        • 8N1
        • 5N2
        • 6N2
        • 7N2
        • 8N2
      • Even parity:
        • 5E1
        • 6E1
        • 7E1
        • 8E1
        • 5E2
        • 6E2
        • 7E2
        • 8E2
      • Odd parity:
        • 5O1
        • 6O1
        • 7O1
        • 8O1
        • 5O2
        • 6O2
        • 7O2
        • 8O2

  • Battery powered

    TJ12/10/2014 at 15:59 0 comments

    At the moment, the trinket is powered by battery :)

    Left to right: Trinket, battery level switch, charge/battery platform, 4 switchs (Rx/Tx/RTS /CTS to select TTL and/or RS232 level on each line)

    Middle right: Trinket power switch (On/Off)

  • Main PCB board

    TJ12/09/2014 at 20:14 0 comments

    Cut protoboard

    With screen mounts, trinket and charge/5V module

  • Screen holder test

    TJ12/09/2014 at 11:52 0 comments

    I'm now 3D printing a screen holder test part. (ABS)

    It's good. I have now the good screen size.

  • Serial test

    TJ12/04/2014 at 21:20 0 comments

    Computer (Minicom) => USB-FTDI <=> Rx/Tx <= Trinket (Screen)

    Computer:

    TSPT

  • Trinket and screen test

    TJ12/03/2014 at 18:36 0 comments

    I'll use it in SPI mode, so I have to solder closed IM1 IM2 and IM3 bridges (not IM0)

    Screen pinoutTrinket pinout
    GNDG
    Vin5V
    3VoN.C.
    CLK13
    MISO12
    MOSI11
    CS10
    D/C9
    RSTRST
    LiteN.C.
    GNDN.C.
    IRQN.C.
    SDAA4
    SCLA5
    IM3N.C.
    IM2N.C.
    IM1N.C.
    IM0N.C.
    CSS4
    CDN.C.

    It works :)

  • Pro Trinket 5V

    TJ12/03/2014 at 18:33 0 comments

  • Screen 2.8"

    TJ12/03/2014 at 16:48 0 comments

    Size: 82mm * 62mm * 8mm

    Useful: https://learn.adafruit.com/adafruit-2-dot-8-color-tft-touchscreen-breakout-v2

View all 11 project logs

Enjoy this project?

Share

Discussions

Dom wrote 01/07/2015 at 13:21 point

It looks really nice in my opinion.

Plus such a device even today, altough UART, would be useful for:

- Datalogging

- As a RS232<->USB Adapter
- last-resort terminal

..which would be all I could ever ask for such a device.

  Are you sure? yes | no

zakqwy wrote 12/09/2014 at 13:41 point
Man, RS-232 would be _fantastic_. Good luck, I'll be watching this one!

  Are you sure? yes | no

TJ wrote 12/09/2014 at 14:05 point
Thanks! I'll prototype this part soon with a MAX232.

  Are you sure? yes | no

Adam Fabio wrote 11/30/2014 at 07:33 point
A pocket serial terminal was one of my dream devices way back when. For awhile I had exactly that with a palmpilot Pro. Now with cell phones, the lowly RS-232 interface has all but been forgotten - though many of us (like me) still use it daily! Can't wait to see where you go with this project, tj

  Are you sure? yes | no

TJ wrote 11/30/2014 at 18:10 point
Thank you. I'm waiting for screens and trinket boards. Speak soon

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates