Wednesday 17 July 2013

DIY Chronograph - Nokia display

The Acrylic case arrived on Saturday for the Chrono using the Nokia 5110 display.

I just wired up the display to an Arduino Mini Pro and put the case together to make sure it all fit together.

The Nokia display is on top, the battery on the bottom with the Arduino Mini Pro in the middle.

No I have to fashion a joystick extension, sort out a power switch, build up the sensor tube and figure out to re-charge the battery with out taking it all apart.

Sketch can be downloaded here.
Sketchup and EPS files for the case are here.

10 comments:

Unknown said...

whether it is possible to set meters per second (m/s) instead of FPS and energy of pellet in J Joules?

Gadjet said...

Sure, the easiest way is probably to multiply the FPS value by 0.3048 before sending it to the screen (check if it's a float, I can't remember) and the FPE value by 1.356.

This should give you m/s and Joules.

Unknown said...

Please can you make circuit diagram for Nokia 5110 display with joystick and bluetooth module?

Gadjet said...

The one I used was a shield so I didn't have any circuit but you can find one for the stand laone display here https://learn.adafruit.com/nokia-5110-3310-monochrome-lcd/wiring

And the joystick uses a resistor network and an analogue input.

Hope that helps

Unknown said...

Gadjet sorry for my ignorance but i have everything and i don't know how to connect it, what pins of arduino nano to IR receiver and IR transmitter, what pins to LCD4884 shield, please help me. i Have buy:

http://www.tinydeal.com/diy-keyes-lcd-4884-rocker-expansion-board-red-black-p-131082.html

http://www.banggood.com/ATmega328P-Arduino-Compatible-Nano-V3-Improved-Version-With-USB-Cable-p-933647.html

TSOP34838 IR receiver
http://file1.dzsc.com/product/13/04/19/713393_162227484.jpg

LD271 IR transmitter

Gadjet said...

OK,
The shield you've bought was designed to plug onto an UNO but you've got a nano, so it will not fit.
OK, I've not used that shield so I'm making the assumption that it uses the same pins as the shield I use.
In the sketch the connections are defined LCD5110
SCK - Pin 13
MOSI - Pin 11
DC - Pin 8
RST - Pin 9
CS - Pin10
myGLCD(13,11,8,9,10);

The pinout is on the nano so you should see pins 13, 11,8,9 and 10.

The first IR trigger is input D2 (2 on PCB) and the second is input D3 (3 on PCB)

The joystick is connected to A0 on my shield.

My only other comment is that other people have tried to use other LED Tx/RX than I did, without success. Consider using the same IR LEDs as I did.

I hope this points you in the right direction.

Gadjet said...

Sorry,
I just realised, I did use the mini pro not an UNO, it was a while ago.

If the info. in the previous comment isn't enough then get back to me.

Unknown said...

Thank's for quick answer :) i have connected everything but now i have problem when i want to write Chronograph_with_NOKIA_5110_LCD_1_3.ino file, i have many errors:

Chronograph_with_NOKIA_5110_LCD_1_3:12: error: 'LCD5110' does not name a type
Chronograph_with_NOKIA_5110_LCD_1_3.ino: In function 'void setup()':
Chronograph_with_NOKIA_5110_LCD_1_3:63: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:67: error: 'CENTER' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3.ino: In function 'void loop()':
Chronograph_with_NOKIA_5110_LCD_1_3:81: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:82: error: 'CENTER' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:99: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:101: error: 'CENTER' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:114: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:115: error: 'CENTER' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:131: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:132: error: 'CENTER' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3.ino: In function 'void leftUnderscore()':
Chronograph_with_NOKIA_5110_LCD_1_3:174: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3.ino: In function 'void rightUnderscore()':
Chronograph_with_NOKIA_5110_LCD_1_3:181: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3.ino: In function 'void output_serial_info()':
Chronograph_with_NOKIA_5110_LCD_1_3:191: error: 'myGLCD' was not declared in this scope
Chronograph_with_NOKIA_5110_LCD_1_3:208: error: 'LEFT' was not declared in this scope

Gadjet said...

Have you downloaded the
#include
Library from http://www.henningkarlsen.com/electronics ?

Gadjet said...

The library is LCD5110_Graph.h

Three button WiFi Remote

Using the power control circuit from the Wirelesse door/Window sensor I have designed a simple 3 button WiFi remote with the intention of co...

Popular Posts