Skip navigation
  Act I  This was the first time that he thoroughly felt and believed himself to be a knight-errant in reality and not merely in fancy, now that he saw himself treated in the same way as he had read of such knights being treated in days of yore. Miguel de Cervantes, Don Quixote.     Romanticist  Winter is a wonderful time, you do not expect anything unusual from the winter, and when pleasant events do happen, they happen unexpectedly, that make they seem even better th ...
Good day!   Last week, I ended up creating a monstrous stand simulating the work of a bike computer that only worked on my desk. Until the end of the contest there were exactly two weeks. I understood that working on the technical part of the project at the same pace (8 hours a week), I will not be able to  finish it for the time allotted to me, but I promised myself and my readers that the project will be completed on time! This summer at work I got a small vacation and I decided to ...
Good day!   I barely reconciled myself to the idea that I will not get a development board very soon it suddenly arrived Today we finally get to know the hero of my project the  FRDM-KW41Z board   Items received  Let's start with the announcement of the list of items that I ordered: Development board FRDM_KW41Z [NXP]. Hot air gun [Bosch]. Electric screwdriver [Bosch]. LCD display [Adafruit].   Due to some circumstances, I have not received the last two items from ...
Good day!   In [the previous] article, we developed a program for a bike computer, which allows you to determine the speed and distance traveled. It's time to implement the full set of features available for the current hardware version of my computer.   The idea is very simple: the computer display has two independent sectors: left and right, and I want to make it possible to select the parameters displayed on the screen separately for the left and right sectors. The choice of the ...
Good day!   In my [first article about the exercise bike I wrote that I was planning to display the data of my computer on the screen of my smartphone However due to the temporary absence of  FRDM-KW41Z board equipped with Bluetooth module which is necessary for transferring information to a smartphone I can't do it In order to temporarily solve this problem I made a strategic decision until I get a board equipped with Bluetooth I will use the LCD display as a data output device which ...
Good day!   Today I want to continue series of articles about the secondary tasks of my project, next we have the measurement of tension.   As you may remember, in my program there is a variable “gear”, which, as the name implies, is responsible for the gear selected by the rider. I want to set this variable according to the actual tension on pedals of the exercise bike. There are several ways to solve this problem, I propose to consider each of them separately.   Wa ...
Good day!   Two weeks ago I promised to continue my project when a parcel from Element14 arrives to me. The package is still on the way, but I think that this is not an excuse to stop the project. The fact is that a good idea came to me: even if I have to stop the development of software, nevertheless, I can do no less interesting secondary tasks of my project.   So, today I want to talk about the issue that was discussed in the comments to one of my previous articles [link] – ...
Good day!   Today I want to devote my article to programming, namely the implementation of the basic functions of a bike computer, the formulas for which we defined in the two previous articles. However, how can I program something if this is something I do not have? The answer is simple – to perform castling, in my case the king’s role is played by the FRDM-KW41Z still expected by me, and the rook’s one – by the FRDM-K64F!   My choice, I think, is obvious, ...
Good day!   This week I want to continue my mathematical calculations. Last time I made the assumption that the force needed to pedal the exercise bike is constant and equivalent to that of a real bike riding straight on High Gear. This statement is valid only if you ride an exercise bike always with the same tension.   Today I plan to do the following: determine the actual force (or rather the torque) created by the exercise bike, depending on the position of the tension knob; cal ...
Good day!   This week I want to talk about simple measurements, namely about measuring the speed and distance traveled on an exercise bike, but let me first present to you my exercise bike.   This is the most common exercise bike manufactured by Atemi, which I used for many years as a clothes hanger, and only the last three years I have used it for its intended purpose – for sports, and as a result the device suffered minor damage: saddle has sagged; steering has broken (it ...
Good day!   During last 3 years I have been spending approximately 2 hours a day doing sports: I have been riding my exercise bike. Over these years I created my own sport-program for exercise bike. This program seems to be quite complicate since you need to do a lot of calculations when you ride. But soon it will not be a problem because I have a good idea which I intend to implement in this project! I want to create my own special computer for exercise bike which will execute my control ...