Make Your Own Smart Watch

October 20, 2018 | Author: PrakashVeerasekar | Category: Android (Operating System), Arduino, Smartwatch, Bluetooth, Electrical Connector
Share Embed Donate


Short Description

Internet of Things Retro watch make yourself a smart watch using a arduino...

Description

Explore Explore

(/tag/typ (/tag/type-id e-id/) /)

Create Create

(/about/ (/about/sub submit. mit.jsp jsp))

Contes Con tests ts (/conte (/contest/ st/)) let's make

Communit Community y

You (/communi (/community/ ty/))

(/you/)

(/) (/)

share what you make > (/editInstructable/)

(/id/int (/id/intel/) el/)

(/tag/t (/tag/type-i ype-id/c d/catego ategory-w ry-works (/tag/type-id/category-outside/channel-bikes/?sort=FEAT orkshop/c hop/channel-ga hannel-gardening/ rdening/?sort (/tag/type-id/category-technology/ ?sort=F =FEAT EATURED URED))

About This Instructable 342,748 views

Posted: Feb 16, 2014

1,468  favorites

License:

GodsTale (/member/GodsTale/) HardCopyWorld (http://www.hardcopyworld.com/

(http://cdn.instructables.com/FBB/NAS5/I4PHMQ54/FBBNAS5I4PHMQ54.LARGE.jpg)

(/member/GodsTale/) Follow

This document is also translated in Polish (http://akademia.nettigo.pl/smartwatch/index.html)(by Sebastian (http://akademia.nettigo.pl/)), Korean (http://www.hardcopyworld.com/gnuboard5/bbs/board.php? bo_table=project_hardcopy&wr_id=4) language. 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 (http://www.smartwatchnews.org/smartwatch/), 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. Release note Updated (2015.01.12) : RetroWatch supports u8glib. Now you can use various kind of OLED(or else) as you want and it consumes less memory(RAM). Instead it’s liitle slow at screen refresh. You can find updated sources at GitHub (https://github.com/godstale/retrowatch).

174

Bio: This, Too, Shall Pass Away More by GodsTale

  (/id/Social-Bug-bluetoothdancing-robot)

  (/id/Make-wireless-chargingmouse)

  (/id/Make-your-own-activitytracker)

Tags: Smart Watch (/tag/type-id/categorytechnology/keyword-smart+watch/) DIY (/tag/type-id/category-technology/keyword-diy/)  Arduino (/tag/type-id/category-technology/keywordarduino/)  Android (/tag/type-id/category-technology/keywordandroid/)

Step 1: Overall Structure

Add instructable to:  Group

Related Take control of your  house in 10 Minutes (http://www.instructables.c control-of-your-house-inArduino + Android burglar  alarm - Home automation (http://www.instructables.c noise-ArduinoTweet-and-

(http://cdn.instructables.com/F7X/WNKF/HRPNAAAS/F7XWNKFHRPNAAAS.LARGE.jpg)

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

(http://cdn.instructables.com/FU9/A6QD/HRPNAADC/FU9A6QDHRPNAADC.LARGE.jpg)

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 v ersion, because the bl uetooth 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

Smart Home Automation with Android + Ethernet Internet + Arduino (http://www.instructables.c "Smart Shield" - Portable alarm system using Arduino (http://www.instructables.c Make your own activity tracker  (http://www.instructables.c your-own-activity  See More (/tag/type-id/?q=)

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. Be careful at selecting a display!! I used an 128×64 OLED which is using I2C and SSD1306 driver chip. If you are using different one, you may nee d to use different graphic libraries and modify arduino source code.

Updated (2015.01.12) : RetroWatch supports u8glib. Now you can use various kind of OLED(or else). Check supported devices at this link (https://code.google.com/p/u8glib/wiki/device).

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 servic e that is used to get notifi cation 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 (https://github.com/godstale/retrowatch), or download the app from Google Play Store. (Search with “RetroWatch (https://play.google.com/store/apps/details? id=com.hardcopy.retrowatch)” or “RetroWatch LE (https://play.google.com/store/apps/details?id=com.hardcopy.retrowatchle)“)

Step 3: Assembling the watch

Make your own smart watch   by GodsTale (/member/GodsTale/) (http://cdn.instructables.com/F02/D1XL/HRPNAALS/F02D1XLHRPNAALS.LARGE.jpg)   Download (/id/Make-your-own-smart-watch/?download=pdf)

(/id/Make-your-own-smart-watch/)

Collection

(http://cdn.instructables.com/FCZ/6UC1/HRPNAALT/FCZ6UC1HRPNAALT.LARGE.jpg)

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.

9 Steps

I Made it!

F avorite

Share

# Bluetooth-> Arduino : VCC -> 3.3V GND -> GND TX -> D2 RX -> D3 # OLED -> Arduino : GND -> GND VCC -> VCC (http://cdn.instructables.com/FRB/YCTW/HYMSZDC3/FRBYCTWHYMSZDC3.LARGE.jpg) SDA -> A4(the analog 4th pin) SCL -> A5(the analog 5th pin), If your display has SPI interface, refer to the link (https://learn.adafruit.com/monochrome-oled-breakouts/wiring-128x32-spi-oleddisplay). In case of 7pin SPI OLED, connect like below. D1 : MOSI - Arduino D11 (MOSI) D2 : MISO - Arduino D12 (MISO) : this pin is optional. D0 : CLK - Arduino D13 (SCK) DC : DC (Data Command) - Arduino D8 (or else) CS : CS (Chip select) - Arduino D10 (SS) RES : RESET - Arduino D9 (or else) # 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.

(http://cdn.instructables.com/FVF/U3FA/HRPNAATQ/FVFU3FAHRPNAATQ.LARGE.jpg)

You can download RetroWatch Arduino source on the source tab on the GitHub. GitHub – RetroWatch project page (https://github.com/godstale/retrowatch)  And you need to do something before you complie the s ource 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 (https://github.com/adafruit/Adafruit_SSD1306), Adafruit-GFX-Library (https://github.com/adafruit/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.) WARNING: If you are using an OLED with SH1106 driver, use Adafruit_SH1106 driver at below link. Korean user Wonho made this based on Adafruit_SSD1306 driver. https://github.com/wonho-maker/Adafruit_SH1106 (https://github.com/wonho-maker/Adafruit_SH1106)

In this case you must modify codes like below. #include SoftwareSerial BTSerial(9, 8); // Bluetooth TX, RX connection

int buttonPin = 5;

// Button pin

display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // OLED I2C address. Use your own sett ings

Updated (2015.01.12) : RetroWatch supports u8glib. If you wish to use various display, use u8glib instead. U8glib is more easy to use, consumes less memory(RAM) and supports various display. In this case download and install u8glib at official homepage (https://code.google.com/p/u8glib/).

# 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 i n 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 Updated (2015.01.12) : If you are using u8glib, load RetroWatchArduino_u8glib.ino file. And check below codes. U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0); // change this line according to your display SoftwareSerialBTSerial(2,3); // Input your TX, RX pin numbers int buttonPin = 5; // Input your button pin number  Updated (2015.04.21) : WARNING!!! If you are using OLED's reset pin and  Adafruit graphic library, connect reset pin to arduino's D8. Or change reset pin definition in sketch. #define OLED_RESET 8  Adafruit_SSD1306 display(OLED_RESET);  And make sure that this pin definition is not duplicated with y our BT or button. Updated (2015.01.22) : RetroWatch supports SPI OLED. I've updated at GitHub. # 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

(http://cdn.instructables.com/F5C/N8BF/HRPNAB30/F5CN8BFHRPNAB30.LARGE.jpg)

(http://cdn.instructables.com/F5W/JHAD/HRPNAB31/F5WJHADHRPNAB31.LARGE.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 (http://cdn.instructables.com/FQX/5MQA/HRPBJSW6/FQX5MQAHRPBJSW6.LARGE.jpg) from GitHub (https://github.com/godstale/retrowatch). I registered this app to Play Store, so go download it(search ‘RetroWatch (https://play.google.com/store/apps/details?id=com.hardcopy.retrowatch)’ or  'RetroWatch LE (https://play.google.com/store/apps/details? id=com.hardcopy.retrowatchle)'). 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

(http://cdn.instructables.com/FWI/U9ZM/HRPBLG5C/FWIU9ZMHRPBLG5C.LARGE.jpg)

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.

(http://cdn.instructables.com/FVC/P0TA/HRPBJRQ0/FVCP0TAHRPBJRQ0.LARGE.jpg)

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 indic ator bar. App us es 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 (http://www.hardcopyworld.com/ngine/aduino/index.php/archives/722).

Step 8: Packaging

(http://cdn.instructables.com/FTD/FWAP/HRPNAB8Q/FTDFWAPHRPNAB8Q.LARGE.jpg)

RetroWatch Android, Arduino module is done, and if there’s no problem to (http://cdn.instructables.com/FZR/XE7B/I4PHMS8W/FZRXE7BI4PHMS8W.LARGE.jpg) 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 (http://cdn.instructables.com/F2G/XKNL/I4PHMSEU/F2GXKNLI4PHMSEU.LARGE.jpg) Message filtering Open source Hard-case file for 3D printer -> Download here (http://www.thingiverse.com/thing:610603)!!

Step 9: Working demo and epilogue

(http://cdn.instructables.com/F2P/R8V0/I4PHMSQD/F2PR8V0I4PHMSQD.LARGE.jpg)

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 (http://youtu.be/sS2Lu1dvH2g). More specific how-to document at : RetroWatch project (http://www.hardcopyworld.com/ngine/aduino/index.php/archives/670) Download sources at : GitHub RetroWatch page (https://github.com/godstale/retrowatch) Retro Watch app quick guide (http://www.hardcopyworld.com/ngine/aduino/index.php/archives/722) Hard-case file for 3D printer (http://www.hardcopyworld.com/ngine/aduino/? wpdmact=process&did=MjkuaG90bGluaw==), awesome case Designed by Wonho (http://www.thingiverse.com/thing:610603) (See the Step9 title picture) 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.  Awesome one at title picture is designed by Wonho (http://blog.naver.com/31borame/220221491824). You can get the 3D modeling

files here. http://www.thingiverse.com/thing:610603 (http://www.thingiverse.com/thing:610603) And find more at his blog (http://blog.naver.com/31borame/220221491824). If you wish to translate this document into other language, feel free to do it! After  translation, just notify to me with your result and your name. I’ll update this document. And if you made you own watch, please share with me. ([email protected])

We have a be nice comment pol icy. Please be p ositive and constructive.

I Made it!

1-40 of  503

Add Images

Make Comment

Next » (http://www.instructables.com/id/Make-your-own-smart-watch/? &sort=ACTIVE&limit=40&offset=40#DISCUSS)

sonson (/member/sonson/)

18 hours ago

 

Reply

Bonjour, j'adore ce que vous faite j'aimerai en faire une pour moi , j'ai tous ce mais j'ai un petit soucis avec le code arduino ça me dit 'class  Adafruit_SH1106' has no membre named 'fillCircle' pouvez vous svp me dire d'où vient le problème merci .

qu'il faut (/member/sonson/)

flag

dharmik pater (/member/dharmik+pater/)

6 days ago

 

Reply

Sir I am confused about this parts ? Can u send me the detail about this parts where to buy ? (/member/dharmik+pater/) send details at my email [email protected] flag

tuur.vanboxtel (/member/tuur.vanboxtel/)

11 days ago

 

Reply

could you maybe post all the links of where you bought all the parts including thanks

(/member/tuur.vanboxtel/) the buttons?

flag

Bodhisattwa.Rakshak (/member/Bodhisattwa.Rakshak/)

14 days ago

 

Reply

Sir I want to add a vibrator motor to this watch so that when a new call or  then vibration motor give alert.How can I do so and which part of the code I should alter?

(/member/Bodhisattwa.Rakshak/) message is received

flag

GodsTale (/member/GodsTale/) (author)

Bodhisattwa.Rakshak 12 days ago

 Add your code at below position: (/member/GodsTale/)

--------------------------------------------------------------------voidprocessTransaction() { ... elseif(TR_COMMAND == CMD_TYPE_ADD_NORMAL_OBJ) { // Add your code here (vibrate the motor) } elseif(TR_COMMAND == CMD_TYPE_ADD_EMERGENCY_OBJ) { // Add your code here (vibrate the motor) }

 

Reply

.... } flag

Aditya N G (/member/Aditya+N+G/)

15 days ago

 

Reply

Thank you for the amazing project!!! I will be making it in about a week!! (/member/Aditya+N+G/) flag

GodsTale (/member/GodsTale/) (author)

Aditya N G 12 days ago

 

Reply

I'm expecting your work!! Do not forget to send me a picture of your  (/member/GodsTale/) watch flag

tuur.vanboxtel (/member/tuur.vanboxtel/)

13 days ago

 

Reply

can i use android 4.2.2? please tell me i can i wanna make this so bad! (/member/tuur.vanboxtel/) flag

GodsTale (/member/GodsTale/) (author)

tuur.vanboxtel 12 days ago

 

Reply

Yes but use RetroWatch LE app instead. (/member/GodsTale/)

flag

Kevin jacob (/member/Kevin+jacob/)

24 days ago

 

Reply

sir , when i verify the code it says U8GLIB_SSD1306_128*64 does not name a (/member/Kevin+jacob/) type flag

GodsTale (/member/GodsTale/) (author)

Kevin jacob 21 days ago

 

Reply

Did you install the U8glib?? Refer below link (/member/GodsTale/)

https://code.google.com/p/u8glib/ flag

Kevin jacob (/member/Kevin+jacob/)

24 days ago

 

Reply

sir i am kevin jacob20002 but using another account so plz dont get confused comment.

(/member/Kevin+jacob/) with the first

flag

Kevin jacob (/member/Kevin+jacob/)

24 days ago

 

Reply

sir i have done what u said but it doesnt seem to work plz help me out. (/member/Kevin+jacob/) flag

phankspp12 (/member/phankspp12/)

1 month ago

 

Reply

first of all thanks for sharing such an amazing project with us. I tried this arduino uno and it works perfectly fine. but with arduino pro mini it does not work.only startup screen shows up, it does not get update with time. i have used

(/member/phankspp12/) project with

RetroWatchArduino_spi_no_button (https://github.com/godstale/retrowatch/tree/master/RetroWatch_Arduino/Retro code for this. pls help me out!! flag

GodsTale (/member/GodsTale/) (author)

phankspp12 1 month ago

 

Reply

Connection between bt and phone is successful? If so, I think it's the BT wiring. Check the wiring and BT initalization code.

(/member/GodsTale/) matter of

SoftwareSerial BTSerial(2, 3); // HC-06's TX, RX flag

PRO DR MR BOB (/member/PRO+DR+MR+BOB/)   GodsTale 29 days ago

 

Reply

i made it but when i tested it with the phone it (/member/PRO+DR+MR+BOB/) would work to display time then when you got a call it would scroll thew the battery and stuff then  just stay on time and never scroll thu it again then all calls after that doesn't show up then the phone heated up is there a way to make it scroll thew every 5 sec or so and show calls after the first one? or is it just broke?

flag

phankspp12 (/member/phankspp12/)   GodsTale

1 month ago

 

Reply

Thanks for your support Gods Tale, (/member/phankspp12/)

problem for not updating time was with this BTSerial.begin(9600); I had reduced it to 4800 and its works perfectly fine with it!! Thabks for sharing amazing project with us!! flag

Bodhisattwa.Rakshak (/member/Bodhisattwa.Rakshak/)

1 month ago

 

Reply

how can I get whatsapp message alert on retro watch? (/member/Bodhisattwa.Rakshak/)

GodsTale (/member/GodsTale/) (author)

flag

Bodhisattwa.Rakshak 1 month ago

 

Reply

 At first you need Android v4.3 or over. Touch the 'i' (/member/GodsTale/) button on right-top corner and set notification access permission. Now make an whatsapp notification by any way you can do.

 After whatsapp notification pop up you can see the notification at RetroWatch's message tab. Touch it and enable it!! flag

schnun (/member/schnun/)

1 month ago

 

Reply

I am having a strange issue I guess. I made the watch with a 1.3 SPI Oled (/member/schnun/)

and it worked. When I get a message I see an exclamation mark (!) on the Display so I know something new was received. But now I made a smaller one with an 0.96 I2C (Heltec) and it works fine so far, but I do not see any nos. showing a new message nor  an exclamation mark. I am using the correct U8glib lib with the button. When I install the LE App (I am using Android 4.4.2) I see an exclamation mark, but of course I want to use the "newer" app to see all message, but with this I don't get a message notification. Has this something to do with the app or my android Version ? Any ideas what the problem is there ? Thanks very much, Patrick flag

GodsTale (/member/GodsTale/) (author)

schnun

1 month ago

 

Reply

RetroWatch app catches notifications from android framework but LE doesn't. RetoWatch LE only gather system message and send it as emergency message (showing on arduino as exclamation mark).

(/member/GodsTale/) RetroWatch

If you are using Android v4.3 or over, use RetroWatch app. And set the catched message enable. Most of messages are treated as normal message (showing as chat mark). You can see the normal messages by clicking the button on arduino. flag

schnun (/member/schnun/)   GodsTale

1 month ago

 

Reply

Thanks for the message. not work with version 1.0.7 but I found yor older Version 1.0.6 and with this it works perfect with  Android 4.4.2 ! I get all message notifications. Maybe a little help for all the others with the same problem. Thanks godstale and when I have my watch ready, I plan to make it with Aluminum housing, I will provide the CAD files.

It does (/member/schnun/)

flag

GodsTale (/member/GodsTale/) (author)

schnun

1 month ago

 

Reply

Thank you for the report. Please show me your works when you're (/member/GodsTale/) done!! flag

GodsTale (/member/GodsTale/)   (author)

1 month ago

 

Reply

WARNING!!! If you are using reset pin and Adafruit graphic library, connect to arduino's D8. Or change reset pin definition in sketch.

(/member/GodsTale/) reset pin

#define OLED_RESET 8  Adafruit_SSD1306 display(OLED_RESET);  And make sure that this pin definition is not duplicated with your BT or button. flag

KennethS5 (/member/KennethS5/)

1 month ago

 

Reply

I am using the Arduino 1.0.5 IDE for Mac. I have all of the pins connected the this tutorial says they should be. I am using SPI. I currently do not have a 10k Ohm resistor, so I am using the no_button versions of code. I have tried the RetroWatchArduino_u8glib_spi_no_button and the RetroWatchArduino_spi_no_button. I have all of the proper libraries installed, and I am not getting any errors while uploading. My problem is that when I boot up my Arduino, the OLED doesn't show anything. It stays black.

(/member/KennethS5/) way that

flag

GodsTale (/member/GodsTale/) (author)

KennethS5 1 month ago

 

Reply

If you don't see anything on display, check the wiring of OLED and sketch, especially initialization part. In case of u8glib-spi version, display initializing codes are:

(/member/GodsTale/) check the

U8GLIB_SSD1306_128X64 u8g(13, 11, 10, 8); // SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 8 You can use a button though you don't have a resistor. Connect button's leg to D5 and connect opposite leg to GND. And set INPUT_PULLUP at D5 initialization code. pinMode(buttonPin, INPUT_PULLUP); // Defines button pin flag

zarg.patel (/member/zarg.patel/)

1 month ago

 

Reply

Firstly, thank you for sharing such an amazing project with us. I tried this out, perfect with UNO. However, do tell me how I can use the entire screen to display a message, because the logo takes up so much space that the name of sender doesn't display in the screen. Now, with pro mini, u8glib codes, the OLED doesn't even boot up. I want to run this project on pro mini, please help me out.

(/member/zarg.patel/) works almost

flag

GodsTale (/member/GodsTale/) (author)

zarg.patel

1 month ago

 

Reply

One more thing. If you are not using a button, be sure to use (/member/GodsTale/) RetroWatchArduino_u8glib_no_button

(https://github.com/godstale/retrowatch/tree/master/RetroWatch_Arduino or RetroWatchArduino_u8glib_spi_no_button (https://github.com/godstale/retrowatch/tree/master/RetroWatch_Arduino

flag

GodsTale (/member/GodsTale/) (author)

zarg.patel

1 month ago

 

Reply

Did you add a button to arduino D5? You can see the message screen button. If you want to customize display, edit below functions

(/member/GodsTale/) by pressing

drawStartUp(), drawEmergency(), drawMessage(), drawClock(), drawIdleClock()  About running on pro mini, check below things. - I2C wiring - OLED instance : change oled initialization below code according to your OLED U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0); // I2C / TWI - check OLED with other source code (ex. example code in u8glib) flag

Hiu KingL (/member/Hiu+KingL/)

9 months ago

 

Reply

how to solve it? (/member/Hiu+KingL/)

my version is arduino 1.5.7 In file included from RetroWatchArduino.ino:35:0: bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of '__attribute__((progmem))' PROGMEM const unsigned char* bitmap_array[] = { ^ RetroWatchArduino.ino:118:32: error: variable 'weekString' must be const in order to be put into read-only section by means of '__attribute__((progmem))' RetroWatchArduino.ino:119:32: error: variable 'ampmString' must be const in order to be put into read-only section by means of '__attribute__((progmem))' flag

GodsTale (/member/GodsTale/) (author)

Hiu KingL 9 months ago

 

Reply

In front of all the lines in the errors just add 'const'. See the details in (/member/GodsTale/) below link.

http://forum.arduino.cc/index.php?topic=254424.0 flag

akshitubhangale (/member/akshitubhangale/)   GodsTale 2 months ago

 

Reply

plz tell what to do GodsTale i m a beginner  (/member/akshitubhangale/)

flag

GodsTale (/member/GodsTale/) (author)

akshitubhangale 2 months ago

 

Reply

Use arduino 1.0.x version. And use (/member/GodsTale/) RetroWatchArduino_u8glib.ino source instead.

flag

akshitubhangale (/member/akshitubhangale/)   GodsTale 1 month ago

I tried using 1.0.x version it is showing the same error  (/member/akshitubhangale/)

 

Reply

flag

GodsTale (/member/GodsTale/) (author)

akshitubhangale 1 month ago

I didn't solve it yet. I saw this error in 1.5.x IDE (/member/GodsTale/) version but I didn't in 1.0.x. Please refer below link.

https://solarmeter.codeplex.com/discussions/58174 (https://solarmeter.codeplex.com/discussions/5817

 

Reply

In this article, user harold65's guide: The compiler is more strict and requires a better  definition of variables. You have 3 options: 1. Compile using Arduino 1.5 2. Update the time library (can be found on the arduino site) to the latest version 3. Remove DateStrings.cpp from the library. Solarmeter does not use this (but other  projects might) flag

akshitubhangale (/member/akshitubhangale/)   GodsTale 1 month ago

 

Reply

sir, can you plz tell me where to add 'const'? (/member/akshitubhangale/)

flag

zarg.patel (/member/zarg.patel/)   akshitubhangale

1 month ago

 

Reply

before weekstring, amapm etc (/member/zarg.patel/) flag

sudarshan reddy (/member/sudarshan+reddy/)

1 month ago

 

Reply

Hello sir, (/member/sudarshan+reddy/)

i completed all the work ,but i cnt send data from retro app to watch,i think i did smting wrong,i checked bluetooth it connected,i check txd,rxd of bluetooth but i didnt get any notifications,pls sir get me solution for ths flag

akshitubhangale (/member/akshitubhangale/)

sudarshan reddy 1 month ago

 

Reply

sir did u face this kind of error? (/member/akshitubhangale/)

 Arduino: 1.6.2 (Windows 8.1), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)" In file included from RetroWatchArduino_u8glib_spi.ino:32:0: bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of '__attribute__((progmem))' PROGMEM const unsigned char* bitmap_array[] = { ^ RetroWatchArduino_u8glib_spi.ino:123:32: error: variable 'weekString' must be const in order to be put into read-only section by means of  '__attribute__((progmem))' RetroWatchArduino_u8glib_spi.ino:124:32: error: variable 'ampmString' must be const in order to be put into read-only section by means of  '__attribute__((progmem))' RetroWatchArduino_u8glib_spi.ino:161:30: error: variable 'strIntro' must be const in order to be put into read-only section by means of  '__attribute__((progmem))' Error compiling. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. thank you flag

zarg.patel (/member/zarg.patel/)   akshitubhangale

1 month ago

Write 'const' (without the commas) before the word weekstring, and strintro in your code.

(/member/zarg.patel/) ampmstring

 

Reply

flag

1-40 of  503

Next » (http://www.instructables.com/id/Make-your-own-smart-watch/? &sort=ACTIVE&limit=40&offset=40#DISCUSS)

We have a be nice comment pol icy. Please be p ositive and constructive.

I Made it!

About Us

Add Images

Make Comment

Find Us

Who We Are (/about/)

Facebook (http://www.facebook.com/instructables)

 Advertise (/ advertise/)

Youtube (http://www.youtube.com/user/instructablestv)

Contact (/about/contact.jsp)

Twitter (http://www.twitter.com/instructables)

Jobs (/community/Positions-available-at-Instructables/) Help (/id/how-to-write-a-great-instructable/)

Pinterest (http://www.pinterest.com/instructables) Google+ (https://plus.google.com/+instructables) Tumblr (http://instructables.tumblr.com)

Resources

Mobile

For Teachers (/teachers/)

Download our new apps for iOS,

 Artists in Residence ( http://www.autodesk.com/artistin-residence/home)Join! enter email

 Android and Windows 8!

Join our newsletter:

English

Gift Pro Account (/account/give?sourcea=footer) Forums (/community/)  Answers (/ tag/type-question/?sort=RECENT) Terms of Service (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21959721)  | Sitemap (/sitemap/) Privacy Statement (http:// usa.autodesk.c om/adsk/servlet/item?siteID=123112&id=21292079)  |

 Android (https://play.google.com/store/apps/details? id=com.adsk.instructables)

Legal Notices & Trademarks (http:// usa.autodesk.c om/legal-notices-trademarks/)  |   Mobile Site (http://m.instructables.com) (http://usa.autodesk.com/adsk/servlet/pc/index?id=20781545&siteID=123112) © 2015 Autodesk, Inc.

iOS (https://itunes.apple.com/app/instructables/id586765571) Windows (http://apps.microsoft.com/windows/enus/app/7afc8194-c771-441a-959054250d6a8300)

  Go Pro Today » (/account/gopro?sourcea=footer)

  We're Hiring! » (/community/Positions-available-at-Instructables/)

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF