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™ is built on an open hardware on ESP32 and 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!

GPIO Mapping

GPIO Pin Function Description
2
Digital Output Pin
Controlling All RGB LED
23
Digital Input Pin
External Temperature Data 1
4
Digital Input Pin
External Temperature Data 2
5



19



18




Digital Pin as I2S
ICS-43434 microphone SCK Pin



ICS-43434 microphone WS Pin



ICS-43434 microphone SD Pin
15
Digital Input Pin
Interrupt pin for LPS22HBTR MEMS nano pressure sensor
16



17
RXD2



TXD2
RX2 Goes to USB UART port



TX2 Goes to USB UART port
25
Digital Output Pin
Proximity Sensors XSHUT pin
26
Digital Input Pin
INT Pin APDS-9960 RGB and Gesture Sensor
32
Digital Output Pin
BUZZER
3



1
RXD0



TXD0
RX Used For UART & Debugging



TX Used For UART & Debugging
21



22


I2C Pin
SDA



SCL
13
Digital Input Pin
ICM-20948 9-Axis MEMS MotionTracking
14
Digital Input Pin
Charging detection pin. (Active LOW)
27
Digital Output Pin
MAX16054AZT+T Supervisory Circuits On/Off Controller with Debounce and +/-15kV ESD Protection
33
Digital Input Pin
Battery Voltage ( VTG divider ration 1:2)
34
Analog Input Pin
UV Sensor

Module Information - I2C Addresses & Data Sheets

Module Description Address Data Sheet URL
SGP30
Air Quality Sensors Indoor Air Quality Sensor for TVOC and CO2eq Measurements
0x58
VL53L3CXV0DH/1
Proximity Sensors Time-of-Flight ranging sensor with multi target detection
0x52
LPS22HBTR
Board Mount Pressure Sensors MEMS nano pressure sensor: 260-1260 hPa absolute digital output barometer
0xB9
ICM-20948
Accelerometer, Gyroscope, Magnetometer, 9 Axis Sensor I²C, SPI Output
0x68
ICS-43434
MEMS Microphones Multi-Mode Microphone with I S Digital Output
NA
APDS-9960
Ambient Light Sensors Intg Digital Gesture Color ALS PS
0x39
GUVA-S12SD
UV-A SENSOR (240-370) /SMD3528
NA
SHTC3
Board Mount Humidity Sensors Humidity and Temperature Sensor
0x70

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.

At the side of databot™ is an open USB Micro-B port that provides the I2C protocol for you to experiment with. This enables you to connect all kinds of sensors and devices.

Use the Pinout diagram to the right to build your own I2C connections for new sensors you dream up.

USB Micro-B Pinout For I2C

databot™ UART Communication

The other open expansion port on the left side of databot™ is a open USB Micro-B port. This UART USB Micro-B port provides a hardware communication protocol that uses asynchronous serial communication with configurable speed. Asynchronous means there is no clock signal to synchronize the output bits from the transmitting device going to the receiving end.

Like I2C, if you do a quick Internet search for UART Communication for ESP32, you will be overwhelmed with the possibilities!  

Use the Pinout diagram to the right to construct your direct databot™ connection to other devices with UART such as the Sphero RVR, LEGO® EV3 and Spike, etc.

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