The first prototype of the device is finally completed! Here’s a brief recap of what have been done and what’s planned for the future.
First of all, check out the video showing the progress so far:
– I implemented the feature I wanted the most, that is the multimeter with simultaneous current and voltage measurements, with instant and average power consumption graphs to estimate battery life of my projects
– My nerdiness is quite satisfied by the UI similarity with the Nokia original design
– I love the continuity function playing the Nokia Tune
– I paid a tribute to Sprite_tm with the Tetris addon
– I’m working on a better, more powerful version of the device using the Teensy, with Bluetooth 4.0 smartwatch functions.
– I wrote and published >2000 lines of code, most of the stuff can be reused
– There’s now an Open Hardware Eagle library to replicate the Nokia 3310 PCB!
– I spent WAY too much time creating tools to extract the original bitmaps and fonts from the original Nokia Firmware. My inner nerd is very satisfied, but this left me no time to add other interesting functions like the scope, the serial sniffer and the ESP8226 integration before the contest end
– Besides, I have no space left on the Trinket:
– I couldn’t get the TVBgone function to work, maybe it’s a conflict with the timers used in the Tone library
– The LiIon battery charger I ordered is stuck in a post office somewhere; once I get it, it’s just a matter of connecting it to the header and I will be able to charge the battery from the Trinket’s USB port
– I really need a gold plated PCB to get the original Nokia buttons to work decently
– The code to extract the fonts from the original firmware is horrible and not commented
– There’s a bit of noise in the input stage. That is due mostly to the long routing of the signals, as some components like the Trinket, the button pads and the backlight LEDs can’t be moved around to optimize the board.
<(°-°<) Build it! (>°-°)>
So, do you still want to build it? Here’s a step-by-step introduction:
- Get all the design files from the main repo: https://github.com/mastrogippo/1337-3310-tool
- Build the hardware!
- Download the firmware, binaries and tools from here: NokiaPack
- If you’re lazy go to step 10, if not read on to generate the Font and Bitmap binaries yourself
- Use the PPM editor in the NokiaFirmware folder with the .fls file to export the .pef file with the fonts and a folder with all the bitmaps in the original firmware
- Get the Bitmap converter: https://github.com/mastrogippo/BitmapToBinary
- Place the bitmaps in the “bmp” folder with the BitmapToBinary exe, run the program, select the bitmaps to include and click “Gen”
- Get the PEF Fonts tool: https://github.com/mastrogippo/PEF-Fonts
- Place the font PEF file in the same folder as the PEF Fonts executable, run it to generate the font binaries, save them and the listed offsets
- Get the EEPROM upload tool: https://github.com/mastrogippo/Arduino-EEPROM-Upload
- Upload the sketch to the Arduino (if you have all the hardware conneted, upload the 1337 3310 sketch uncomenting the #define EEWRITE)
- Copy all the bin files to the EEPROM uploader folder and run it (change the serial port in the code if needed)
- Upload the binaries, then click any phone button to end the write process if you’re using the 1337 3310 sketch; the phone will beep
- Comment again the #define EEWRITE and upload the sketch