Thursday, October 15, 2015

New Breakout Boards arrived!

In this demo i will show the current state of my project.
With the capacitive touchsensor you are able to switch between different watchfaces (vibra motor gives feedback):

- Time
- Date
- Temperature
- Accelerometer
- Compass (not yet tilt compensated)
- Gyroscope


With my windows phone i can send data/messages to the smartwatch. In the near future i will sync my appointments email etc. with the watch.
My biggest goal is to achive a turn-by-turn navigation on the watch!

Monday, October 12, 2015

Get it done!

Hey guys!
It is a year ago since I stopped this project because there was no motivation in case of the missing Windows Phone API, supporting 3rd party smartwatches.
But a few days ago i found this little project in a box while i was cleaning my flat.
I got the time, i got new motivation and i want to get it done!

I ordered some new parts for my ArduWin Smartwatch.
- Sensor Board (Accelerometer, Magnetometer, Gyro and Temperature)
- Capacitve Touch Board (12 Channels)
- MicroMotor Kit (for physical feedback)

In short time I will post new pictures of my breadboard with the new parts connected.

Stay in touch!

Tuesday, September 9, 2014

Added Pushbutton

I added a pushbutton to the ArduWin Smartwatch.
It is now possible to switch between Watchfaces (Time/Date).


You see I use the display to debug my code. I dont use the serial monitor. A lot of strange things are happening when i use it. Maybe a conflict with the softserial library for the bluetooth modul.

A second way to debug is the Windows Phone. Visual Express for Windows Phone 8 got a serial monitor too. You can watch the serial traffic and use it as a serial monitor like the serial monitor in Arduino IDE.

A third way will be my new Logic Analyzer (Zeroplus LAB-C 16032). Haven´t connected it to my breadboard yet. But I think the next few days I will do the first tests with this device.

Zeroplus LAB-C 16032

Today I received my Zeroplus LAB-C 16032 Logic Analyzer.
I want to seek bugs in the flow of my code and eliminate timing problems with this little device.


I will post some pictures the next days, with the device connected to my ArduWin Prototyp Board.
Screenshots of the Logic Analyzer´s Software GUI, will be added too.


Friday, September 5, 2014

Things are getting complex

While my code size is getting bigger and bigger I realize it will be hard work to debug with my actual coding style. I do all my readings and communications with a lot of state machines (switch cases). This kind of coding style will work, i guess, but i think even when it´s getting more complex it won´t be easy to read anymore.

So I was looking for an alternative coding style today and read a lot about Scheduler and RTOS (real time operating systems). Those little systems are the clue in ,my opinion, when it´s getting more complex and you have to manage several tasks at the same time like reading inputs, setting outputs, serial communication and  updating a display.

At the end of the day i got those three favourites:
  • NilRTOS-Arduino (preemtive scheduler/multitasking)
  • SCoop (cooperative scheduler/multitasking)
  • ArdOS (cooperative scheduler/multitasking)


When i took a closer look to the code and usage of those three multitasking-systems I realised that NilRTOS is a little bit overdosed for my purpose. It has too many features i won´t use and the art of coding for an arduino beginner like me is another level in this RTOS.
SCoop and ArdOS seem much more user friendly in my opinion and are not to hard to implement i think. I haven´t made a decision yet, which of those two multitasking-systems i will use. Both look very similar.
Maybe you have implementet SCoop or ArdOS in an arduino project and can help me with my decision.








Wednesday, September 3, 2014

My Setup

At the moment i use the following hardware and parts to develope the arduino smartwatch communicating with my windows phone 8.1

Hardware:


Arduino Libraries (non standard):

Software:
Debugging Tools:

Tuesday, September 2, 2014

Proof of concept (video)

This is the current state of the project.
With the Arduino i send requests to the Windows Phone (WP) to send me the actual time. It is also possible to request the date.
In the next step i want to add a button to switch between the two watchfaces (time/date).