Industrial Teensy

Epyon

Well-known member
Work in progress: Industrial Teensy
We often use Teensies for measurement and monitoring applications in industrial environments. Mostly these are small batch projects for which we use circuits on perfboard and aluminum enclosures (we once ordered way too many of them for another project and have them now lying around :p ).

This year I used the slow summer months to design a more professional setup. The main qualifiers were: cost-efficient, robust, industrial standard inputs, compact and standardised form factor and flexible expansion options.

So now I present you a sneak peek at my industrial Teensy setup :) .

IMAG3830rs.jpg

It consists out of three boards:
  • Baseboard containing power supplies, I/O interfaces, MCU supervisor (ATtiny45) and diagnostic leds (for I/O and power)
  • MCU board with the Teensy, SD card, Wiz820io Ethernet interface, 3.3V regulator, RTC battery and diagnostic leds (for MCU activity) that stacks on the baseboard
  • Optional communications board that also stacks on the baseboard on the other side
The baseboard has the following I/O:
  • 4x 5V to 24V level optically isolated digital inputs that lead to Teensy digital pins
  • 3x 0-10V RSE analog inputs (buffered with unity gain opamps) through optically isolated ADS1115 ADC (I2C)
  • 1x 0-20mA analog input (also on the ADS1115)
  • 1x galvanically isolated RS-485 driver (half duplex)
  • 18V to 36V power supply input (could change to 12V-36V)
  • 3.3V UART (Serial3) output for debugging
All external IO have their own power supply and are galvanically isolated from the rest of the board. The digital inputs use opto-isolators and are designed to register any voltage from 5V to 24V as ‘high’ (I did this to provide TTL compatibility). The inputs are surge protected from 28V and upwards. The analog has a ADS1115 on a isolated I2C bus with four unity gain opamps to provide fast ADC capacitor loading. Three of the four analog inputs have a 10V tot 3V resistor divider, one has a 20mA to 3V shunt resistor. The isolated RS-485 is rated for up to 1Mbps.

There is an ATtiny45 on the baseboard, programmable through the ICSP pads visible on the photo. It’s connected to a MOSFET switch that can cut power to the entire unit (the ATtiny itself is powered prior to this switch) and to one of the digital pins of the Teensy. I use it as watchdog/supervisor. If anything goes south (e.g. one of the communication processors hangs) it can restart the entire unit if needed. You could also use it to power down the unit. There is a jumper to bypass this altogether.

The MCU board houses, of course, the Teensy. It has all the side pins brought out, and also an additional 6 pins on the back (Serial3 and the pins surrounding it). The USB connector is accessible from the front of the enclosure.

Under the Teensy is the SD card interface, also accessible from the front. On top of the Teensy is the Wiz820io Ethernet interface. The MCU board has an additional 3.3V regulator to provide enough juice to the Wiznet. You can bypass this regulator through a jumper and use the Teensy regulator if you don’t need it.

There is a 12mm battery holder connected to Vbat to maintain the Teensy RTC. There is one power led and two status leds connected to Teensy pins, viewable through the front panel.

You can plug in an optional communications board that connects to Serial1. Right now we have support for:
  • Adafruit FONA cellular boards
  • ESP8266 (custom breakout board)
  • LoraWan RN2483-I (custom breakout board)
I had to make a raiser board (actually, it’s more a ‘lower’ board) to make the FONA fit in the enclosure. The SMA connectors from the FONA and RN2483 are accessible from the front.

IMAG3825rs.jpg IMAG3828.jpg

The enclosure is DIN rail mountable and takes up the width of 4 DIN modules. All external I/O is accessible through screw connections.

Currently, I’m making some small revisions to the MCU board:
  • Using sockets to make the Teensy and Ethernet removable
  • Adding a SPI header for later addon boards
Were on the feature list but didn’t make the final cut (for now?)
  • Front side LCD display (no room anymore)
  • User configurable analog inputs (no direct need in our application)
  • Digital outputs (same)
  • Integrated 230V input PSU (holy declaration of conformity Batman!)
We’re currently waiting for the latest PCB revision to hit our lab, and if everything goes as it should we will probably start production in the second half of September. These units are meant as part of an application to our customers, but I made this post also a bit to gauge possible interest from the ‘maker community’. Maybe I can reserve some part of the production to sell them for prototyping. Because this is meant for our applications, I can’t just add or change any features, but if there are good suggestions and sufficient interest, maybe I can design a variant for the makers out there :) .
 
Which protocols are you targeting for the Hardware Ethernet port?

Which Fona? Adafruit FONA 3G Cellular Breakout

Which Teensy? 3.2?

Which IDE? Teensyduino?
 
Work in progress: Industrial Teensy
We often use Teensies for measurement and monitoring applications in industrial environments. Mostly these are small batch projects for which we use circuits on perfboard and aluminum enclosures (we once ordered way too many of them for another project and have them now lying around :p ).

This year I used the slow summer months to design a more professional setup. The main qualifiers were: cost-efficient, robust, industrial standard inputs, compact and standardised form factor and flexible expansion options.

So now I present you a sneak peek at my industrial Teensy setup :) .

View attachment 8059

It consists out of three boards:
  • Baseboard containing power supplies, I/O interfaces, MCU supervisor (ATtiny45) and diagnostic leds (for I/O and power)
  • MCU board with the Teensy, SD card, Wiz820io Ethernet interface, 3.3V regulator, RTC battery and diagnostic leds (for MCU activity) that stacks on the baseboard
  • Optional communications board that also stacks on the baseboard on the other side
The baseboard has the following I/O:
  • 4x 5V to 24V level optically isolated digital inputs that lead to Teensy digital pins
  • 3x 0-10V RSE analog inputs (buffered with unity gain opamps) through optically isolated ADS1115 ADC (I2C)
  • 1x 0-20mA analog input (also on the ADS1115)
  • 1x galvanically isolated RS-485 driver (half duplex)
  • 18V to 36V power supply input (could change to 12V-36V)
  • 3.3V UART (Serial3) output for debugging
All external IO have their own power supply and are galvanically isolated from the rest of the board. The digital inputs use opto-isolators and are designed to register any voltage from 5V to 24V as ‘high’ (I did this to provide TTL compatibility). The inputs are surge protected from 28V and upwards. The analog has a ADS1115 on a isolated I2C bus with four unity gain opamps to provide fast ADC capacitor loading. Three of the four analog inputs have a 10V tot 3V resistor divider, one has a 20mA to 3V shunt resistor. The isolated RS-485 is rated for up to 1Mbps.

There is an ATtiny45 on the baseboard, programmable through the ICSP pads visible on the photo. It’s connected to a MOSFET switch that can cut power to the entire unit (the ATtiny itself is powered prior to this switch) and to one of the digital pins of the Teensy. I use it as watchdog/supervisor. If anything goes south (e.g. one of the communication processors hangs) it can restart the entire unit if needed. You could also use it to power down the unit. There is a jumper to bypass this altogether.

The MCU board houses, of course, the Teensy. It has all the side pins brought out, and also an additional 6 pins on the back (Serial3 and the pins surrounding it). The USB connector is accessible from the front of the enclosure.

Under the Teensy is the SD card interface, also accessible from the front. On top of the Teensy is the Wiz820io Ethernet interface. The MCU board has an additional 3.3V regulator to provide enough juice to the Wiznet. You can bypass this regulator through a jumper and use the Teensy regulator if you don’t need it.

There is a 12mm battery holder connected to Vbat to maintain the Teensy RTC. There is one power led and two status leds connected to Teensy pins, viewable through the front panel.

You can plug in an optional communications board that connects to Serial1. Right now we have support for:
  • Adafruit FONA cellular boards
  • ESP8266 (custom breakout board)
  • LoraWan RN2483-I (custom breakout board)
I had to make a raiser board (actually, it’s more a ‘lower’ board) to make the FONA fit in the enclosure. The SMA connectors from the FONA and RN2483 are accessible from the front.

View attachment 8060 View attachment 8061

The enclosure is DIN rail mountable and takes up the width of 4 DIN modules. All external I/O is accessible through screw connections.

Currently, I’m making some small revisions to the MCU board:
  • Using sockets to make the Teensy and Ethernet removable
  • Adding a SPI header for later addon boards
Were on the feature list but didn’t make the final cut (for now?)
  • Front side LCD display (no room anymore)
  • User configurable analog inputs (no direct need in our application)
  • Digital outputs (same)
  • Integrated 230V input PSU (holy declaration of conformity Batman!)
We’re currently waiting for the latest PCB revision to hit our lab, and if everything goes as it should we will probably start production in the second half of September. These units are meant as part of an application to our customers, but I made this post also a bit to gauge possible interest from the ‘maker community’. Maybe I can reserve some part of the production to sell them for prototyping. Because this is meant for our applications, I can’t just add or change any features, but if there are good suggestions and sufficient interest, maybe I can design a variant for the makers out there :) .

Could you see my pm?
BR, Claus
 
Back
Top