User Tools

Site Tools


projects:a4sim:altimeter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:a4sim:altimeter [2021/02/11 23:16]
dwheele [Rotary Encoder Pinouts]
projects:a4sim:altimeter [2021/03/11 01:58] (current)
dwheele [Nano Pinouts]
Line 22: Line 22:
  
 ^Pin^Known As^What is connected to it^ ^Pin^Known As^What is connected to it^
-^6|D3|Rotary Encoder red| +^6|D3|Rotary Encoder red (input)
-^9|D6|SDA OLED 1, SDA OLED 2| +^9|D6|I2C Out, SDA OLED 1, SDA OLED 2| 
-^10|D7|SDC OLED 1, SDC OLED 2| +^10|D7|I2C Out, SDC OLED 1, SDC OLED 2| 
-^21|A2|Rotary Encoder green| +^21|A2|Rotary Encoder green (input)
-^22|A3|Rotary Encoder blue| +^22|A3|Rotary Encoder blue (input)
-^23|A4|I2C In, SDC, pulled high with 1K resistor |+^23|A4|I2C In, SDA, pulled high with 1K resistor |
 ^24|A5|I2C In, SCL, pulled high with 1K resistor| ^24|A5|I2C In, SCL, pulled high with 1K resistor|
 ^29|Ground|Ground| ^29|Ground|Ground|
 ^30|Vin|7 - 10 volts DC| ^30|Vin|7 - 10 volts DC|
 +
 +==== ULN2003 (Stepper Motor Driver Board) Pinouts ====
 +
 +^Pin^Known As^ What is connected to it^
 +^12|D8|ULN2003 In1|
 +^13|D9|ULN2003 In2|
 +^14|D10|ULN2003 In3|
 +^15|D11|ULN2003 In4|
 +
 +
 +
  
 ==== Rotary Encoder Pinouts ==== ==== Rotary Encoder Pinouts ====
  
 ^Pin^Known As^What it is connected to^ ^Pin^Known As^What it is connected to^
-^Red|N.O. Switch Pin 1|Arduino Nano D3+^6|Arduino D3|Rotary Encoder N.O. Switch Pin 1 (Red)
-^Black|N.O. Switch Pin 2|Ground+^4|Arduino Gnd|Rotary Encoder N.O. Switch Pin 2 (Black)
-^Green|Channel A|Arduino Nano A2| +^21|Arduino A2|Rotary Encoder Channel A (Green)
-^Yellow|Common|Ground+^4|Arduino Gnd|Rotary Encoder Common Gnd (Yellow)
-^Blue|Channel B|Arduino Nano A3|+^22|Arduino A3|Rotary Encoder Channel B (Blue)| 
 + 
 +===== Using 28BYJ-48 Stepper Motor to drive the hand ===== 
 + 
 +Trying to add the [[projects:a4sim:hardware:steppers:28byj48steppermotor|Stepper Motor - 28BYJ-48]] to the Arduino Nano V3 (on top of the 2 OLED displays and the Rotary Encoder). Initially, it wasn't working because the Arduino Stepper library blocks. But the AccelStepper library apparently doesn't block. Unfortunately, when trying to use this, getting out of memory errors from the Arduino IDE. Can potentially free up some memory by removing unneeded characters from the MS fonts, used for the OLED displays. 
 + 
 +2/12/2021
  
  
projects/a4sim/altimeter.1613085412.txt.gz · Last modified: 2021/02/11 23:16 by dwheele