Week 6: Hackerman week

Hello my segmentation fault dear blog readers, my name is Eduardo Pagnoncelli Lorandi ( int x, int y, I’ve run out of ideas ) and this week you can call me Hackerman:

While( week = 6th )

{

code( )

buildSomeCircuits( PRETTYBOARD: true )

codeMore( )

}

Ok, done with the nerd jokes. I think you got the idea of what happened this week.

Even though this week was the penultimate one, the last one is reserved for presentations, so this one is actually the “last” to finish our project, and that means we had to rush a lot.

We found out the range of the potentiometer we were using to measure the Outer Diameters of the syringes were low, so I had to figure out how to solve that. The solution was adding a signal amplifier to the output of the potentiometer, so we could have a higher resolution. It was actually easy to do so, but the hard part was to research and study how they work, before trying to build it. The circuit was kind of messy, so I took some time to make it prettier and more safe.

After that, we needed some program to run out of this baby right? The big coding section started, where we implemented such things as: Converting the Potentiometer Outer Diameter to Inner Diameter, Asking for the user to input the two lines volume and merging the potentiometer calculated ID and the lines ID. Not only our “normal” program was extended to do such things but also it was developed a new program, that we called “Arduino code” because, well, it runs on the Arduino inside Kasupe. Let me explain better: when you develop a program to run in a low resource micro-controller, such as an Arduino, you have to change you programming paradigm, and also think you have only some kBytes of memory available, and not the GBytes you personal computer have, so, we had to build a program from scratch that worked the same way as our “normal”, but could be uploaded on the Kasupe itself.

 

 

 

 

 

 

Leave a Reply