Instructables

Make your own smart watch

Featured
Picture of Make your own smart watch

Most IT companies participate in the race to grab people’s wrist. A smart watch becomes the most significant item in a wearable device category. You can easily find this mood in this link, there are tons of smart watches.

But here is a simple way to evaluate smart watch’s future on your own. Make it! With Arduino micro-processor and Android, I made a simple smart watch and named it “Retro Watch“. You can do this too!

Retro Watch is an open source project to let you make a smart watch based on Arduino and Android. This text explains about modules, blueprints, how to install and use the Arduino and the Android source codes step by step.

 
Remove these adsRemove these ads by Signing Up

Step 1: Overall Structure

Picture of Overall Structure

RetroWatch is a simple system that is used a hardware platform called Arduino, which is intended for artists, designers, and hobbyst, and an Android app. The overall structure is in the picture above.

Imagine a very small computer that you can wear on your wrist. Arduino board is a micro-processor and a storage, and there’s only one input method : a button. Bluetooth is to communicate with other devices, and the battery would be necessary for power. I’ll install an Android app for collecting or editing various RSS and system information and for notification on the Android device.

Step 2: Preparing for RetroWatch

Picture of Preparing for RetroWatch

You need to prepare modules as small as possible to wear the watch on your wrist. There may be tons of variations, but I chose parts that are commonly used and inexpensive.

.

Hardware parts for smart watch

Arduino micro-controller

I chose the smallest Arduino, Pro mini. Arduino Pro mini is a light version of UNO R3. It doesn’t have a USB interface chip in order to reduce the price and the size. There are two version depending on the operating voltage(3.3v/5v). And I used a 3.3v version, because the bluetooth and display that are connected with the board support 3.3v and the board goes well with the 3.7v LiPo battery. It runs at 8MHz and a 5v version at 16MHz, but 8MHz is enough. Overall, all you need to prepare are Arduino Pro Mini 3.3v and USB to UART module.

The main chip of the board, ATmega328, has only 2KBytes RAM, but ATmega128 has just 1KBytes, which is very limited to run my system. Most boards have ATmega328, but you have to make sure.

Bluetooth

One of most common bluetooth modules that you can get are HC-06 main module and the one with interface base board. The latter one has a reset button, the status LED, and it supports both operation voltage(3,3v/5v), so this one is more convenient but the size is rather big, the LED, which is not quite necessary drains the battery and a little more expensive. So I used a HC-06 without the interface board.

Display
To make a SMART WATCH, it would be necessary to find a small, low-power display. I’d given lots of thoughts, then I chose -.96’’ OLED Display. There are various sizes of the displays(0.96’’, 1.3’’, etc), it works on low-power, English font and the image out available, and it supports I2C, SPI, which makes easy to connect with Arduino.

Battery
I use LiPo(Lithum-Polymer) battery in this project. 1-cell LiPo battery flows out current in 3.7v, which works perfectly with Arduino Pro mini, and there are many kind of batteries in terms of the size and the capacity. The most ideal battery depends on what size of watch you want to make. I recommend the battery with protection circuit(overcharging, over-discharging safe), and it’s better if it has a removable socket. It might helpful for you if you get a female socket and USB or DC adaptor recharger.

Etc.
You need wires, soldering iron, a switch and 10K ohm resistance(for a button), and a batter jack. It would be helpful for you to prepare the assembly manual.


Preparing for Android
Android v.4.3 supports the service that is used to get notification information from an app. So RetroWatch app is based on Android v.4.3 to enable notification service. For users who don’t use Android v.4.3 yet, the app without this function is released also. You can download the sources at GitHub, or download the app from Google Play Store. (Search with “RetroWatch” or “RetroWatch LE“)

Step 3: Assembling the watch

Picture of Assembling the watch
assembly_process.jpg
circuit_button.png

Folks who are accustomed to handling Arduino or physical computing would proceed this procedure, but I recommend the others not to assemble Arduino Pro mini board first, but try to make the watch with the board that is easy to connect and use like UNO board. The assembly structure for RetroWatch is here.

# Bluetooth-> Arduino :

  • VCC -> 3.3V
  • GND -> GND
  • TX -> D2
  • RX -> D3

# OLED -> Arduino :

  • GND -> GND
  • VCC -> VCC
  • SDA -> A4(the analog 4th pin)
  • SCL -> A5(the analog 5th pin),

# Button :

You may connect with a button which is small enough for the smart watch and a 10k-ohm resistance. Refer to the picture attached.

# Battery : You can simply connect battery by connecting (+) -> RAW, GND -> GND. You need to put (+) line to RAW pin in case you use any sort of external power supply, such as an external battery, on Arduino Pro mini board. Otherwise, it can damage the board.

# USB to UART module -> Arduino :

  • 3.3V -> VCC
  • TXD -> RXD
  • RXD -> TXD
  • GND -> GND

Step 4: Compile Arduino source for watch and upload.

Picture of Compile Arduino source for watch and upload.

You can download RetroWatch Arduino source on the source tab on the GitHub.

GitHub – RetroWatch project page

And you need to do something before you complie the source code.

.

# Install graphics driver
You need a graphic library to draw images, shapes, fonts on the OLED. In order to use it, you must install Adafruit_SSD1306, Adafruit-GFX-Library.

(According to your development environment, Adafruit library conflicts with Robot_xxx library. In this case, backup and delete Robot_xxx libraries from arduino library folder.)

# Copying the bitmap image header

You must copy the header file that contains bitmap images to load and use them. You should copy bitmap.h in RetroWatchArduino folder to /Arduino install folder/Arduino/hardware/libraries/RetroWatch. If there’s no such folder, simply make it.

# Modifying the source

Open Arduino IDE and load RetroWtchArduino.ino. Next, set pin numbers that you used when you connect the watch. It’s not necessary to modify if you use Arduino pins that are used in this instruction. But if you didn’t, you need to modify the source codes below.

SoftwareSerialBTSerial(2,3); // Input your TX, RX pin numbers

int buttonPin = 5; // Input your button pin number

display.begin(SSD1306_SWITCHCAPVCC, 0x3D); // Replace Ox3D with your I2C address

# Compile / Upload

If you follow the instruction well, you need to compile the source code. If this procedure fails, you have to check the error message and what went wrong so far.

If upload is completed, the RetroWatch Arduino logo and the Adafruit logo(the OLED manufacturer) have to be display on the OLED. After the logo phase passes and time shows up “00:00″, the initialization perfectly succeeds.

Now, it’s time to check the Bluetooth. Turn on the Bluetooth on your phone(Setting > Bluetooth). Your phone starts to search Bluetooth devices nearby, and the Bluetooth module should show. Once the Bluetooth module shows, you may proceed the pairing phase, and the two devices connect after putting 4-digit password (in my case, default 1234).

Step 5: Android app install & source download

Picture of Android app install & source download
arduino_mode.jpg
parts_work_well.jpg

It’s too big to demostrate how to compile and modify the android source. FYI, check /RetroWatch_Android/RetroWatch folder in the source downloaded from GitHub. I registered this app to Play Store, so go download it(search ‘RetroWatch’ or 'RetroWatch LE').

Follow the instruction as below and check the operation of RetroWatch.

If you install the app, turn on the bluetooth first(Setting > Bluetooth) and pair with the module. Next, start RetroWatch app. Choose the second menu(Notification access) on the top and grant RetroWatch the authorization for Notification. Choose the first menu(Choose the device) in the action bar and select the Arduino board that is already paired. If you can’t find it, check the power and the bluetooth module. Or choose ‘device scan’ menu to scan manually.

If the connection is succeeded, you may see “Connected” in connectivity display area at the bottom. Touch the action bar menu(…) and choose ‘Data transfer to Watch’. This menu transfer the data to display time and messages by Bluetooth. If the Bluetooth module works fine with the Arduino board, time information changes to current time. The Bluetooth connection is OK, but time doesn’t display, check the connection between TX, RX. Now, it’s time to have fun with MY OWN SMART WATCH!!! Pictures show the progress so far.

Step 6: RetroWatch Arduino

Picture of RetroWatch Arduino

RetroWatch changes mode in a circle as below.

Initial display:
The phase which the logo shows up when the watch boots.

Clock display:
The basic display which tells you time. You can change the style of the clock in the Android app. Analog, Digital, Mixed styles are supported so far. If you push the button, the display changes to the Emergency message display. It changes to the idle mode in case there’s no data update for 10 minutes.

Emergency message display:
The display that shows when users push the button in the watch display or a new emergency message is updated. If users push the button again or 10 seconds passes, the next message is shown. The display changes to a the normal message display after every emergency message shows.

Normal message display:
The display that shows after emergency message ends or users push the button. The next message shows up when users push the botton or after 5 seconds. The display changes to the clock when the last message shows.

Idle display:
The display that is shown if there’s no data push during 10 minutes. It displays Indicator and time(hh:mm) the display update interval changes to run at minimum power consumption. If you push the button or get a new message, the display changes to the clock display.


RetroWatch module has these features.


Three emergency messages can be stored. The message that the watch is already received is deleted if the messages are over 3. It can’t store lots of data due to memory shortage(2KB RAM).


Normal message stores up to 7. Like emergency messages, the first messages are deleted when the received messages reach to the maximum.


You can change the clock style as you want. Or you can even make your own clock style by altering the source code.


There are 65 icons so the Android app can use them. You can also add your own icons.(need to compile Arduino code)


You can choose whether the indicator would be shown or not in the app.


The internal battery is 140mAh, so the battery time is about 7 hrs at a normal status. I guess the battery time would be longer if I fix the source code for battery save.

Step 7: RetroWatch Android app.

Picture of RetroWatch Android app.

The performance of RetroWatch itself is limited, but I prepared some features to show various of data. The biggest feature is filtering messages sent to the watch. And I put an RSS feed feature to use data from different kind of areas. Try each feature by switching 4 tabs.

Message list tab :

Messages are the information collected from the app. Every message is inactivated except for emergency messages. Inactivated messages are not sent. You can change the status by filtering. By touching each message, you can enable each message or messages from same package.

Filter setting tab:

The RetroWatch app controls every single information by filtering. You can add, fix, and delete filters in this tab. You can change strings of messages(ex. change language Korean -> English since it supports English only), delete messages not to show, or just activate them without a string modification.

RSS tab:

You can register and monitor RSS feeds. The watch can show lots of information by RSS feeds. For instance, if you add a weather RSS and modify strings to filter, you can receive the weather alarm from the watch!!! You can easily search RSS feeds from the web site which I made and add them to the app.(Sorry, it's written in Korean now)

Watch control tab:

You are able to alter styles of the app and watch. If you put your Gmail account here, unread messages are registered in a message list. You can change the clock style and time display indicator to show(Display interval is already set because of power saving, the change applies at interval).

__

.

The RetroWatch app collects three kinds of data.

Notification:

A notification that is registered in the Andriod indicator bar. App uses the Notification service to collect notifications, only over Android 4.3 supports this feature. Please download RetroWatch LE app for other android version. LE app doesn’t have the notification collection feature.

System info:

The system info of the phone such as battery status, RF(LTE, 3G) connection status, WiFi status, recharging progress is collected in the watch. In addition, if you register a Gmail account, it counts unread e-mails.

RSS feed:

If you set RSS title and URL, it periodically read RSS data.

.

Here are the other minor features.

Messages are sent in two kinds – emergency message, normal message. But users cannot modify them. You can set icon that shows on the watch when it filters messages. You can use 65 icons. All information is updated to the watch every 30 minutes.The RetroWatch service runs in background even if you shut the app.

Need more details about how to use app? See this link: Retro Watch app quick guide.

Step 8: Packaging

Picture of Packaging

RetroWatch Android, Arduino module is done, and if there’s no problem to operate, you need to pack the watch. Make a package as you want.

RetroWatch Specifications:

  • Processor : ATmega328 – 3.3v(8MHz)
  • 32KB Flash (2KB is shared for Bootloader)
  • 2KB RAM
  • 1KB EEPROM
  • Size : Width x Height x Depth = 34mm x 32mm x 12mm (Not packaged)
  • Battery : LiPo 140mAh (idle time 6-7hrs, 1-2hrs for recharging)
  • Connecting with Android app
  • Supports notification, system info, RSS feed
  • Message filtering
  • Open source
  • Hard-case file for 3D printer -> Download here!!

Step 9: Working demo and epilogue

Picture of Working demo and epilogue

You can feel how fascinating and powerful the open source and the open hardware are through this project. The idea comes true even though you are not professional because hardware is getting inexpensive and numbers of people shares source codes and know-how. Let’s try!!!

You can see the working demo at: YouTube link.

More specific how-to document at : RetroWatch project

Download sources at : GitHub RetroWatch page

Retro Watch app quick guide

Hard-case file for 3D printer

RetroWatch Android is based on Apache license, RetroWatch Arduino follows GPL v3.0.

Special thanks to Chang-Han Jeon and Kyung-Rae Park. Jeon translated this text in English and Park made a case for RetroWatch with his 3D printer.

1-40 of 270Next »
Kante Tech3 days ago

Is it possible to make this with a TFT display or an lcd display instead?

GodsTale (author)  Kante Tech19 hours ago

Maybe but I cannot sure. It's up to how the TFT Display Library consumes the RAM. (Arduino Pro Mini's RAM is only 2KB) If you try this, please notify me the result.

Okay Im going to try it out. i just have to figure out how to modify the code to work with the tft display instead.

Okay Im going to try it out. i just have to figure out how to modify the code to work with the tft display instead.

nishant225 days ago

I am getting error...

RetroWatchArduino.ino:43:2: error: #error ("Height incorrect, please fix Adafruit_SSD1306.h!");

RetroWatchArduino:40: error: 'Adafruit_SSD1306' does not name a type

RetroWatchArduino.ino: In function 'void setup()':

RetroWatchArduino:168: error: 'display' was not declared in this scope

RetroWatchArduino:168: error: 'SSD1306_SWITCHCAPVCC' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawIndicator()':

RetroWatchArduino:667: error: 'display' was not declared in this scope

RetroWatchArduino:667: error: 'WHITE' was not declared in this scope

RetroWatchArduino:676: error: 'display' was not declared in this scope

RetroWatchArduino:676: error: 'WHITE' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawStartUp()':

RetroWatchArduino:688: error: 'display' was not declared in this scope

RetroWatchArduino:690: error: 'WHITE' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawEmergency()':

RetroWatchArduino:711: error: 'display' was not declared in this scope

RetroWatchArduino:721: error: 'WHITE' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawMessage()':

RetroWatchArduino:737: error: 'display' was not declared in this scope

RetroWatchArduino:747: error: 'WHITE' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawClock()':

RetroWatchArduino:764: error: 'display' was not declared in this scope

RetroWatchArduino:772: error: 'WHITE' was not declared in this scope

RetroWatchArduino:793: error: 'WHITE' was not declared in this scope

RetroWatchArduino:817: error: 'WHITE' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawIdleClock()':

RetroWatchArduino:830: error: 'display' was not declared in this scope

RetroWatchArduino.ino: In function 'void showTimePin(int, int, double, double, double)':

RetroWatchArduino:884: error: 'display' was not declared in this scope

RetroWatchArduino:884: error: 'WHITE' was not declared in this scope

RetroWatchArduino.ino: In function 'void drawIcon(int, int, int)':

RetroWatchArduino:892: error: 'display' was not declared in this scope

RetroWatchArduino:892: error: 'WHITE' was not declared in this scope

GodsTale (author)  nishant2212 hours ago

- RetroWatch uses Adafruit_GFX.h, Adafruit_SSD1306.h. So your PC must have library folders as below.

C:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX

mrhacker1 month ago

looks great, im gonna make my own case preferably made of metal and use a wristwatch chain. but how do you charge the watch

You can buy battery charger boards on eBay or Amazon for very little; I got a mini-usb charger for £0.89

GodsTale (author)  mrhacker1 month ago

There's no recharging circuit. So I manually recharge battery after disconnect from watch. It's my next challenge.

pmills57 days ago

can you include a link to parts

Can we use nokia 5110 instead of adfruit display and its graphic codes for this smart watch??
yoshie19972 months ago

Yesterday I've finally soldered the Bluetooth module to the arduino. When I pair my Phone with the smartwatch it says "Connected to HC-06" but it doesnt sync time or notifications. I also can't change the clock style. I've also tried it with my galaxy s2. but that didn't work either.

IMG_0420.JPG

Did you end up getting this fixed? I also had trouble with this step and found that I had forgotten to change the board in the arduino IDE to the Arduino Pro Mini (Tools > Board). The sketch would upload without issue, I could pair my phone and the display worked, but for some reason the bluetooth would not communicate. Once I fixed this everything started working properly. Hope this helps!

I used the correct board. I tried to change the Rx and Tx and also commented out the "if(digitalRead(buttonPin)==LOW)isClicked=LOW" line but it doesn't work.

GodsTale (author)  yoshie19971 month ago

Your BT module works well if phone found watch. Next, check TX/RX line between arduino and HC-06. You can define connection pin(TX, RX) at the source.

I'll try that when I'm at home. Thank you very much for your help.

GodsTale (author)  yoshie19971 month ago

And comment out below line if you don't use button input.

if(digitalRead(buttonPin)==LOW)isClicked=LOW;

en_rov16 days ago

Amazing, I will try and build one if I find the display. Just a couple of thoughts:

- Is there the space for an inductive charging coil? I assume that would save the hassle of disconnecting the battery every time you want to charge it. Of course, I knnow nothing about this, so it may be impossible to do so.

-Second, how about a capacitive button to tun the screen on/off? Or to cycle through 5min/10min/15min/never screen off. That would save battery, which looks essential to me on the go.

HLucas198822 days ago
I'm trying to build the watch I'm having a hard time finding the materials need from the ect area where might I find these materials
skylinekwy26 days ago

for SH1106

GodsTale (author)  skylinekwy23 days ago

In this case you need another graphic library instead Adafruit GFX. Plz refer below link. You can find a library for SH1106.

http://www.avrfreaks.net/index.php?name=PNphpBB2&f...

But you may need to modify much of codes to adapt this library.

addmister28 days ago
Fun build! Going to work on adding some more functionality to the app and possibly start work on an iOS version. Thanks for sharing!
temp_456477316.jpg
GodsTale (author)  addmister23 days ago

Looks great! I'm expecting your iOS version.

BenTaylor24 days ago

Would it be possible for the android app to support older versions, as my current device is running a very old 2.3.6 Gingerbread, and I have no other platform to test upon?

BenTaylor24 days ago

Sorry, I didn't see the below fix, which worked for me as well

BenTaylor24 days ago

This is a great project and I am attempting to recreate it. However, if I verify the RetroWatch code I receive multiple lines of errors in the console. I apologise if this has been solved in earlier posts, but it would be helpful for someone to comment on my specific errors, which follow:

C:\Users\Benedict\Documents\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::begin(uint8_t, uint8_t, bool)':

C:\Users\Benedict\Documents\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:183: error: 'SPI' was not declared in this scope

C:\Users\Benedict\Documents\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:187: error: 'SPI_CLOCK_DIV2' was not declared in this scope

C:\Users\Benedict\Documents\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::fastSPIwrite(uint8_t)':

C:\Users\Benedict\Documents\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:544: error: 'SPI' was not declared in this scope

Thank you for any help in advance.

skylinekwy27 days ago

I have tried to replace 0x3c , 0x3c*2 , 0x78 >> 1 , all of them showed a random pixel screen. Please help

display.begin(SSD1306_SWITCHCAPVCC, 0x3D);

vicenza1 month ago

I'm getting these error messages:

C:\Program Files\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::begin(uint8_t, uint8_t, bool)':

C:\Program Files\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:183: error: 'SPI' was not declared in this scope

C:\Program Files\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:187: error: 'SPI_CLOCK_DIV2' was not declared in this scope

C:\Program Files\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::fastSPIwrite(uint8_t)':

C:\Program Files\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:544: error: 'SPI' was not declared in this scope

What do I do? Any help would be appreciated. Thanks.

GodsTale (author)  vicenza1 month ago

Add below line at the top of your sketch:

#include <SPI.h>

thank you the code works now. But I can't get the code to upload to my arduino pro mini. I get a sync error...

GodsTale (author)  vicenza1 month ago

Press reset button on Arduino when you upload your code. (at the time when your Arduino IDE message changes from "compiling" to "uploading")

ok after two days I finally fixed it lol. I had a boot loader issue. Now I have another problem. When I sync the time with the watch. The time updates, but the minutes don't change. It just stays at the initial time I synced it with.

GodsTale (author)  vicenza1 month ago

Plz try to comment out below line if you dont use button input (at line 185):

// if(digitalRead(buttonPin)==LOW) isClicked=LOW;

And add below line. This prevents unintended UI blocking by infinite button input.

isClicked=HIGH;

avrdude: stk500_getsync(): not in sync: resp=0x00

ikbenlike1 month ago

i gonna make 1 :-) pretty cool

zanoiod1 month ago

Can we install and boot android by editing your files and even making source to link with the hardware? If you are sure I will give you the code after some days can check and edit the stuff? I know how to make a os for mobile and even computer.

gadgets_guy2 months ago

I hate sounding like a newbie at this but I really am. I have a 5v/16mhz arduino board much like the one in the example, the bluetooth module, a similar OLED display(not one by Adafruit) but one where others have listed it as usable if the same Adafruit libraries are used.

This is the display I'm using, or I should say I'm trying to use

http://www.banggood.com/0_96-Inch-I2C-IIC-SPI-Seri...
Again, my apologies if the answer is obvious, maybe two sets of eyes are better than one, all I'm receiving is the following errors -
"In file included from RetroWatchArduino.ino:33:

C:\Arduino\arduino-1.0.5-r2\libraries\Adafruit_SSD1306/Adafruit_SSD1306.h:121: error: expected class-name before '{' token

RetroWatchArduino.ino: In function 'void setup()':

RetroWatchArduino:172: error: 'class Adafruit_SSD1306' has no member named 'width'

RetroWatchArduino:173: error: 'class Adafruit_SSD1306' has no member named 'height'

RetroWatchArduino.ino: In function 'void drawIndicator()':

RetroWatchArduino:667: error: 'class Adafruit_SSD1306' has no member named 'drawBitmap'

RetroWatchArduino:668: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:669: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:670: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:671: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:676: error: 'class Adafruit_SSD1306' has no member named 'drawBitmap'

RetroWatchArduino:677: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:678: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:679: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:680: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino.ino: In function 'void drawStartUp()':

RetroWatchArduino:690: error: 'class Adafruit_SSD1306' has no member named 'drawBitmap'

RetroWatchArduino:692: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:693: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:694: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:695: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:696: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:697: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:698: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:699: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:700: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:701: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino.ino: In function 'void drawEmergency()':

RetroWatchArduino:721: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:722: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:723: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:728: error: 'class Adafruit_SSD1306' has no member named 'write'

RetroWatchArduino.ino: In function 'void drawMessage()':

RetroWatchArduino:747: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:748: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:749: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:755: error: 'class Adafruit_SSD1306' has no member named 'write'

RetroWatchArduino.ino: In function 'void drawClock()':

RetroWatchArduino:771: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:772: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:773: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:774: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:775: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:776: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:777: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:779: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:780: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:782: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:783: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:784: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:786: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:787: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:793: error: 'class Adafruit_SSD1306' has no member named 'drawCircle'

RetroWatchArduino:797: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:798: error: 'class Adafruit_SSD1306' has no member named 'setTextColor'

RetroWatchArduino:799: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:800: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:801: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:802: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:804: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:805: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:807: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:808: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:809: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:811: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:812: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino:817: error: 'class Adafruit_SSD1306' has no member named 'drawCircle'

RetroWatchArduino.ino: In function 'void drawIdleClock()':

RetroWatchArduino:835: error: 'class Adafruit_SSD1306' has no member named 'setTextSize'

RetroWatchArduino:836: error: 'class Adafruit_SSD1306' has no member named 'setCursor'

RetroWatchArduino:838: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:839: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:840: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:842: error: 'class Adafruit_SSD1306' has no member named 'print'

RetroWatchArduino:843: error: 'class Adafruit_SSD1306' has no member named 'println'

RetroWatchArduino.ino: In function 'void showTimePin(int, int, double, double, double)':

RetroWatchArduino:884: error: 'class Adafruit_SSD1306' has no member named 'drawLine'"

RetroWatchArduino.ino: In function 'void drawIcon(int, int, int)':

RetroWatchArduino:892: error: 'class Adafruit_SSD1306' has no member named 'drawBitmap'

Any assistance would be greatly appreciated.

Thank you

GodsTale (author)  gadgets_guy1 month ago

Your source failed to include Adafruit library. Plz check spelling or mis-typed characters from the first error line - RetroWatchArduino.ino:33:

Thank you, actually I re-downloaded a a couple library files and that resolved the issue. Thanks for the reply.

gadgets_guy1 month ago

Okay, I've been making some progress. 2 days ago I listed a lengthy list or errors I was receiving and I've narrowed it down to two lines. At this point I'm stuck, any suggestions would be greatly appreciated

Adafruit_SSD1306\Adafruit_SSD1306.cpp.o:(.rodata._ZTV16Adafruit_SSD1306+0x18): undefined reference to `Adafruit_GFX::newColor(unsigned char, unsigned char, unsigned char)'

Adafruit_GFX\Adafruit_GFX.cpp.o:(.rodata._ZTV12Adafruit_GFX+0x18): undefined reference to `Adafruit_GFX::newColor(unsigned char, unsigned char, unsigned char)'

1-40 of 270Next »