Skip to content

Commit 8fa89bf

Browse files
andreasb242thomasjfox
authored andcommitted
Add Readme file and "breadboard" readme
1 parent 05ee25f commit 8fa89bf

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

docs/README_breadboard.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Default configuration with Nokia 5510 Display (PCD8544)
2+
3+
## Arduino Pinout
4+
in config.h check ```HARDWARE_REV 21```
5+
All options are left to default values, else you have to change the connections
6+
7+
### A14: Voltage read-Pin
8+
Leave it open, it will read some random values...
9+
10+
### 38: FET: Pull high to switch off
11+
Add an LED with Resistor (~470Ω) to GND
12+
13+
### A15: Current read-Pin
14+
Leave it open, it will read some random values...
15+
16+
### 11: Buzzer
17+
Connect buzzer with resistor (~200Ω) to GND
18+
19+
### 37: Switch
20+
Connect a push switch to GND
21+
22+
### 12: Switch 2
23+
Connect a push switch to GND
24+
25+
## Nokia 5510 Display (PCD8544)
26+
Connect Display pin -> To arduino Pin
27+
The Display only supports 3.3V, use a level shifter for I/O Pins!
28+
```
29+
LED+ -> 3.3V
30+
VCC -> 3.3V
31+
GND -> GND
32+
33+
sclk -> 7 [PH4] (clock)
34+
sdin -> 17 [PH0] (data-in)
35+
dc -> 16 [PH1] (data select)
36+
reset -> 6 [PH3]
37+
sce -> 8 [PH5] (enable)**
38+
```
39+
40+
SCE is connected to PH2, but PH2 is not connected on the Arduino, so change the line
41+
```cpp
42+
unsigned char sce = 2); /* enable (display pin 5) */
43+
```
44+
to
45+
```cpp
46+
unsigned char sce = 5); /* enable (display pin 5) */
47+
```
48+
49+
### Serial Port
50+
You get all information on the Serial port to Debug
51+
52+
53+
54+

readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Arduino-Pedelec-Controller
2+
Software for the Pedelec/E-Bike controller based on Arduino hardware, see www.pedelecforum.de "ForumsController"
3+
4+
## Board Pinout / Connections
5+
http://www.pedelecforum.de/wiki/doku.php?id=elektrotechnik:forumscontroller
6+
7+
## Documents
8+
* [Breadboard configuration](docs/README_breadboard.md)
9+
* [CMake](docs/README_cmake.txt)
10+
* [Hacking](docs/README_hacking.txt)
11+
* [Menu](docs/README_menu.txt)
12+

0 commit comments

Comments
 (0)