Skærmbillede 2017-06-14 kl. 10.01.55.png
Our nodeRED flow. 

First of all we decided to add a personalization to the product which would further add a connectivity dimension for our project. This including an rfid scanner from which you can scan your mobile phone, and the device will remember your previous settings from last time the user worked out on the bench. This is made possible from nodeRed and furthermore we have create an ‘app’ that the user can control the device from. This would mean that the user can also adjust the setting directly from their phone (the app). This would take away unnecessary time to adjust settings and give more time for the user to actually work out. 

Skærmbillede 2017-06-14 kl. 09.06.37.png
An excerpt of the app.

Looking at the coding, we have now managed to get the buttons to work with the RGB LEDs and to get these to light up in different ways. First of all we have created a game that lights up a step pad and only moves on to light up the next when the first one is stepped on, this is called step by step. The other game we have created, called step to song, is a more regular step workout, where step pads light up to the beat of a song and if the user does not make it to step on it in time it will turn red. If the user does make it in time the pad will instead turn green and here it is all about keeping up with the rhythm of the song. Both of these games are currently working, although we do have some minor issues that needs to be solved. We are planning to use a nodeMCU as our main board, but with the amount of steppads we have in our bench there are not enough pin inputs and outputs. Therefore we are using a shift register to control the LEDs and buttons. We are currently still working on getting the shift register to work correctly with the games we have created. Another concern is that many of our components have not arrived yet, and we have only assumed that the RGB LED-strips function like the ones we have in the kit.

Apart from creating the games, we have tried to make a setup of functions to call for each step pad so it will be easy for us to create different choreographies. We have created a choreography on paper but this still needs to be put in order in the code.

Further we have tried testing the speaker with our amplifier, but still have not quite found our way around this. The main problem is weather it is possible to play music from the nodeMCU directly from an SD-card without an add-on which we are also working on at the moment. We have also tested the LCD with the menu and settings the user will need to adjust in the beginning. We do though need an oLED since we are planning to use nodeMCU which also has a better resolution that the LCD.

We are currently working on the motor control of our newly found motors and how to adjust the height of these. We came up with the idea of controlling the height adjustments with an ultrasound sensor since the mechanism we have chosen (scissor lift inspired) does not have a linear movement and this we are working on at the moment.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s