The PTL-ino (“petilino”) is a *uino-compatbile board that is fully made of easily solderable through-hole components.
Microcontroller | ATmega328P |
USB Serial interface | PIC 16F1455 |
Operating Voltage | 5V |
Input Voltage (recommended) | 7-25V |
Input Voltage (absolute max) | 7-35V |
Digital I/O Pins | 14 (of which 6 provide PWM output) |
PWM Digital I/O Pins | 6 |
Analog Input Pins | 6 |
DC Current per I/O Pin | 20 [mA] |
DC Current for 3.3V Pin | 200 [mA] |
Max Current with USB Supply | 500 [mA] |
Max Current with Ext Supply | 1500 [mA] |
Flash Memory | 32 KB (0.5 KB used by boot loader) |
SRAM | 2 KB |
EEPROM | 1 KB |
Clock Speed | 16 [MHz] (provided by PIC 16F1455) |
Length | 61.3 [mm] |
Width | 51.5 [mm] |
Weight | 28 [g] |
How to build a PTL-ino board from the kit:
To develop for the PTL-ino, you can use the same tools as for the Arduino UNO. You can find the download for the Mac/PC/Linux version here
After Installing the Arduino software, add our PTL-ino board with the board manager. To do that, simply configure in Arduino Preferences the Additional Board Manager URL :
https://www.posttenebraslab.ch/wiki/_media/projects/electronics/ptl-ino/package_posttenebraslab_index.json
Then, go in the Tools menu, and in Boards sub-menu you can find the Boards Manager. Look for Post Tenebras Lab Boards and install the package.
Currently, the board manager is broken due to Java issues with the SSL Let's Encrypt certificate.
To upload code to a PTL-ino, you can simply select Arduino Uno in the board menu. Having the PTL-ino board installed is only mandatory to flash the proper boot loader.
Otherwise, here is a workaround for Mac OS X that can make the board manager work again. It can certainly be adapted to work on Windows and Linux.
curl -o isrgrootx1.pem https://letsencrypt.org/certs/isrgrootx1.pem curl -o letsencryptauthorityx1.der https://letsencrypt.org/certs/letsencryptauthorityx1.der sudo keytool -trustcacerts -keystore '/Applications/Arduino 1.6.8.app/Contents/PlugIns/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts' -storepass changeit -noprompt -importcert -alias letsencryptauthorityx1 -file ./letsencryptauthorityx1.der sudo keytool -trustcacerts -keystore '/Applications/Arduino 1.6.8.app/Contents/PlugIns/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts' -storepass changeit -noprompt -importcert -alias isrgrootx1 -file ./isrgrootx1.pem
More information are available in a nice tutorial made by Adafruit.
Windows version before Windows 10, didn't recognise USB-CDC serial device natively like Mac OS X and Linux.
So in order to make PTL-ino works on Windows 8 or below, you have to install this driver file before you plug the board on the PC.
To install, simply download the INF file, uncompress it, and do a right-click –> install.
A warning message will be displayed, but choose to install it anyway (we don't have the money to have the driver certified by Microsoft…)
A laser cut acrylic case
V0.1 was done in Inkscape based on the export of the KiCad silkscreen.
Production file (zipped eps): case-v0.1.zip (was sent to https://www.seeedstudio.com for fabrication)
This version has a few shortcomings that were addressed in the following update:
Now, designed in LibreCAD:
Design file (zipped dxf, not yet prototyped): case-v0.2.zip
The current source code cannot be release due to license issues with Microchip example code that is used for this project. You can still recover your PIC using PICkit3 by flashing the default firmware from our GitHub
To flash the bootloader, it is simpler to install the PTL-ino board through the board manager.
The firmware for the bootloader is the same as the Arduino Uno, only the fuse are different.
Fuse settings: LOW: 0xC0; HIGH: 0xDE; EXTENDED: 0x05; LOCKBIT: 0xFF