databot™ Basic Training

Deep Geek - Pins, Ports, and More!

databot™ is an open book for programmers, power users, inventors, Makers, and more. Learn to go deep with our Deep Geek docs!

A Deep Dive into databot™ Hardware!

databot - Revolutionize STEM education

databot™ is built on an open hardware / software platform called Arduino.  The following technical details are provided for those of you techies out there that want to take control of databot™ at the hardware level and program your own awesome applications.  Here you will find:

  • Digital Port Map
  • Analog Port Map
  • I2C Addressing for Modules
  • Detailed Sensor Data Sheets
  • Pinout Design for Connecting Your Own Sensors to databot™

If you are new to Arduino programming, or Arduino in general, we recommend you go through our free introduction to Arduino that will give you some good background on what it is all about.  It also provides some great links for resources for you to get started on your own Arduino programming journey.  

One final, and very important note for you geeks before you dive in, the design and voltage regulator is a 3V3 system within databot™.  ALL signals and voltage input from third party devices must be 3V3 or converted to 3V3. For those of you who have burned up a component or two, you will know what we are talking about!

Fortunately, there is an easy solution to this challenge, and it is provided by the awesome geeks at Sparkfun, who like hacking just as much we do.   Check out their Bi Directional Logic Level Converter and read through the detailed hookup guide to learn more.  This converter, combined with the world of sensors out there, should give you many, many possibilities for expanding databot™.

Good luck and have fun!

Port Map - Digital Pins

Port ATMega328P Arduino Function Pin Description Port
PD0
PCINT16/RXD
Digital Pin (RX)
0
Green LED (TX on I/0 of CP2104 OTP)
D0
PD1
PCINT17/TXD
Digital Pin (TX)
1
Blue LED (RX on I/O if CP2104 . OTP)
D1
PD1
PCINT17/TXD
Digital Pin (TX)
1
Humao Bluetooth Module
D2
PD2
PCINT18/INT0
Digital Pin
2
NA - Not applicable in databot design.
D2
PD3
PCINT19/OC2B/INT1
Digital Pin (PWM)
3
NA - Not applicable in databot design.
D3
PD4
PCSINT20/XCK/T0
Digital Pin
4
2.5mm Stereo Jack for DS18B20 Temperature Probe (Pullup 4.7K on board) 3V3
D4
PD5
PCINT21/OC0B/T1
Digital Pin (PMW)
5
NA - Not applicable in databot design
D5
PD6
PCINT22/OC0A/AIN0
Digital Pin (PMW)
6
NA - Not applicable in databot design
D6
PD7
PCINT23/AIN1
Digital Pin
7
NA - Not applicable in databot design.
D7
PB0
PCINT0/CLKO/ICP1
Digital Pin
8
NA - Not applicable in databot design.
D8
PB1
OC1A/PCINT1
Digital Pin (PMW)
9
Speaker
D9
PB2
SS/OC1B/PCINT2
Digital Pin (PMW)
10
NA - Not applicable in databot design.
D10
PB3
MOSI/OC2A/PCINT3
Digital Pin (PMW)
11
In Circuit System Programming (ICSP)
D11
PB4
MISO/PCINT4
Digital Pin
12
In Circuit System Programming (ICSP)
D12
PB5
SCK/PCINT5
Digital Pin
13
In Circuit System Programming (ICSP) / Yellow LED
D13

Port Map - Analog Pins

Port ATMega328P Arduino Function Pin Description Port
PC0
ADC0/PCINT8
Analog Pin
0
Omnidirectional Microphone
A0
PC1
ADC1/PCINT9
Analog Pin
1
NA - Not applicable in databot design.
A1
PC2
ADC2/PCINT10
Analog Pin
2
2.5mm Stereo Jack for Analog Signal, Custom Cable (Optional) / 3V3
A2
PC3
ADC3/PCINT11
Analog Pin
3
White LEDs in Base
A3
PC4
ADC4/SDA/PCINT12
Analog Pin
4
NA - Not applicable in databot design.
A4
PC5
ADC5/SCL/PCINT13
Analog Pin
5
NA - Not applicable in databot design
A5
ADC6
Analog Pin
6
NA - Not applicable in the databot design
A6
ADC7
Analog Pin
7
NA - Not applicable in the databot design
A7

Module Information - I2C Addresses & Data Sheets

Module Description Address Data Sheet URL
MPU9250
MPU-9250 Nine-Axis (Gyro + Accelerometer + Compass) MEMS MotionTracking™ Device. SS* = Databot lib Software Set.
0x71 SS*
AK8963
MPU-9250 Nine-Axis (Gyro + Accelerometer + Compass) MEMS MotionTracking™ Device. SS* = Databot lib Software Set.
0x48 SS*
AK8963
Pass-Through mode is also used to access the AK8963 magnetometer directly from the Host. In this configuration the slave address for the AK8963 is 0x0C or 12 decimal. Refer page 24 of 42 from the datasheet.
0x0C
SGP30
Sensirion - Gas Platform for CO2/VOCs
0x58
SHTC3
Sensirion - Digital Humidity Sensor for Humidity and Ambient Temperature
0x70
VEML6075
Vishay Semiconductors - UVA and UVB Light Sensor
0x10
APDS9301
Avago Technologies - Miniature Ambient Light Photo Sensor with Digital (I2C) Output
0x39
MPL3115A2
Precision Altimeter for Air Pressure, Altitude, Temperature
0x60
MicroSD Card Writer
Openlog I2C / Continuous data logging at 20,000 bytes per second, high speed 400kHz. The red led indicator will be on for a short pulse when data is writing or reading.
0x2A
MicroSD Card Writer
Additional online resources for OpenLog
DS18B20 Temperature Probe
SD18B20 External temperature probe with a 2.5mm stereo jack. There is a dedicated 2.5mm port on databot for this probe.
D4
HM11
Huamao Bluetooth Module
D1
CP2104
Silicon Labs USB-UART Communications Chip
D0 (RX)
CP2104
Silicon Labs USB-UART Communications Chip
D1 (TX)

Connector Pin-Outs

Expand your databot™ world with I2C!

I2C is a communications protocol that is widely used in the world of electronics. If you do a quick Internet search for I2C sensors you will see many types of sensors that you might be able to connect to databot™! In addition, there are a number of other devices that use I2C that you can connect with such as a Raspberry Pi, MicroBit, or others.

On the top of databot™ is an open 3.5MM port that provides the I2C protocol for you to experiment with. This enables you to connect all kinds of sensors and devices.

Use the 3.5MM stereo plug wiring diagram shown here to start inventing ways to expand databot™ with sensors and the wide, wild world of devices out there.   Good luck and good inventing!

databot™  open A/D port for Expansion

 

The other open expansion port on top of databot™ is a 2.5mm stereo port. This A/D 2.5mm stereo jack provides open expansion for analog and digital sensors. Like I2C, if you do a quick Internet search for Analog or Digital Sensors for Arduino, you will be overwhelmed with the possibilities!  

Use the wiring diagram to the right to build your own simple sensors and connect them to databot™. What can you invent? 

Let your imagination run wild!

Congratulations! 

You have successfully completed an exploration of the remarkable capabilities at your fingertips for programming and modifying databot to study the world around you and explore data.  Now comes the fun part, challenge yourself to begin programming and inventing with databot™.  Can you invent something that will make a better world?!  Have fun!

To Lessons & More