Arduino/iOS – Bike speedometer tracking using bluetooth

Scope of the project,
add a speedometer on my MTB to store and track the trip using only Bluetooth transmission, send data to iPhone and store to cloud for later data-analysis.

Used components:

  • digital display (controlled by the iOS app). Can show current speed (km/h), total km, current temperature, current humidity.
  • GPS module
  • bluetooth module
  • DHT sensor for temperature and humidity
  • Swift backend
  • mongoDB as database
  • Swift iOS App

Continue reading Arduino/iOS – Bike speedometer tracking using bluetooth

[ObjC] UIButton with rounded corners

APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code!


  • ARC
  • iOS 7+
  • Xcode 5

How to use

Continue reading [ObjC] UIButton with rounded corners

[Objective-C] Get current Date and Time

Get current and formatted time from your simulator or device!

- (NSString*) getDateTime {
     NSDateFormatter *formatter;
     NSString        *dateString;
     formatter = [[NSDateFormatter alloc] init];
     [formatter setDateFormat:@"dd-MM-yyyy HH:mm"];
     dateString = [formatter stringFromDate:[NSDate date]];
     [formatter release];

     NSLog(@"Current data: %@", dateString);
     return dateString;