During this holidays week we had the idea of creating a lamp, but a different lamp. We want it to have the shape of a little house, so we thought in going to a FabLab to cut some shapes in order to create a house. Because I used a 2D vectorial program I needed to visualize the shapes to be sure that the snaps would feat together, so I invented the challenge of building a custom visualizer, with the possibility to load SVG’s, adjust and rotate them in xyz.
Meanwhile the shapes seemed to be good to go. It was our first time in FabLab Lisboa and it was a great experience. Using the laser cutter was something new to me and I am thinking in more future stuff to build.
I´ve been quite busy with the motor of this robot and I already started to have some of the results I wanted, but I still couldn´t find a stable setup, after a couple of drifts it starts to lose power as you can see by the end of the movie.
Besides this, I like the way it moves, and I can have some control when it´s drifting, it is now my anti-stress toy!!! :)
I have also made some major updates to the arduino circuit board. As you can see in the photo below, I finally have figured out how to upload code to a custom arduino board, (this post describes everything related to this), added capacitors to the L293D, added pins for the ladyada xbee adapter and also added pins for the sonar sensor.
To upload code, I have to add a switch button, to change the rx / tx wires from the xbee to the ftdi cable :)
The power button connects to the white bit at the left of the power connector
I added this male connectors so that I don´t have to remove the circuit when uploading
This came up with the need of having the arduino permanently installed on the robots, I´m tired of having to remove the arduino from one bot to the other, and then rewire everything, and then reupload the code everytime I have a new idea, or everytime I want to show the bot to someone.
So I followed the ITP Physical Computing tutorial, and it works like a charm, now I want to try to upload code with the FTDI cable, and If I have success on this I can start making my custom Arduino boards. :D
And here´s the trick to upload code without having to remove the chip to a normal Arduino board, and then put it back on the breadboard, I´m using an FTDI cable, Black and Red connect to GND and +V, he RX from the FTDI cable goes to the AVR’s TX (pin3) and the FTDI’s TX goes to AVR’s RX (pin2).
“I hold down the reset button, press the upload button, count to three, then release the reset button. Then the IDE seems to upload the smoothest.” Full credits to Rudolph for sharing the trick.
Another mighty trick is using a 0.01 uf cap between the RTS (green wire) and reset pin, it will make an auto reset before uploading!!! I´ve made my day!! :D Thank you Rory ;)