Motor installed

By , September 16, 2009 8:55 am

Here is how it looks all assembled. I had no real problems when I assembled it. Everything fit perfectly!

motor_installed_ 001

motor_installed_ 004

motor_installed_ 002

motor_installed_ 003

After testing the scooter, I realise that this beefy motor bracket acts has a heat shrink! I was amazed to see that the heat was transfert to the side of the scooter, I remember the first time I touch the side, it was pretty warm. This pretty good new. I am also planning to have a fan attach to the motor to give better cooling. I am making some fan design to test it out.

The motor bracket

By , September 13, 2009 11:16 am

To install the motor to my frame, I need a beefy bracket to hold that 2HP motor. I took a scrap piece of 2″x2″ 1/4inch aluminum plate. I made some drawing in autocad to have my template and start drilling my bracket.

motor_bracket_ 001

motor_bracket_ 003

A little bit of milling to make every straight.

motor_bracket_ 007

motor_bracket_ 008

The 4 screws are the original one that came with the motor. I really need to put some “loctite” so the motor does not fall. Vribation is your ennemy!

motor_bracket_ 005To prevent the pulley from moving out, I make a slot in the shaft so I could insert a “C” clip.

motor_bracket_ 006

Next time, I will test the autocad file on cardboard before making the real part. The mounting hole are not perfectly aligned.

Comment simuler avec Code Compiler Studio

By , September 11, 2009 1:59 pm

Un gros merci à Sébastien Choquette pour m’avoir expliqué comment simuler avec Code Composer Studio (CCS).

Pour commencer à utiliser CCS en simulation, il faut l’ installer sur votre ordinateur. Si ce n’est pas fait, veuillez le télécharger.

Vous pouvez aller le télécharger directement de Texas Instruments

Vous pouvez trouver la version 3.3 sur  mon site web ici.

Si vous avez déjà CCS d’installé, voici les librairies.

Commencer l’installation.

step1

Choisir “Typical Install”

step2

Il faut 1Go d’espace libre pour tout installer.

step3

step4

Voilà, vous avez fini l’installation. Il faut maintenant prendre le dossier “MyProjects” et le mettre dans “C:\CCStudio_v3.3“. Ce dossier contient le fichier C6713dsk.cmd et des librairies importantes.

step5

Après, il faut ouvrir Setup Code Composer Studio v3.3 en allant Démarrer-> Tous les programmes -> Texas Instruments -> Code Composer Studio v3.3 ->Setup Code Composer Studio v3.3

Si vous ouvrer Code Composer avant de le configurer, il va vous avertir avec cette fenêtre, vous cliquez oui.

step6

Si vous étes à l’école dans un autre local qui n’a pas la carte DSP, il faut cliquer “Remove All” avant de continuer.
Si vous étes sur votre ordinateur personnel, il faut simplement trouve le C6713 Device Cycle Accurate Simulator Il y a un Big et un Little dans la colonne Endianless. choisir le Little.

step7

Cliquez maintenant le bouton “<<Add” Ensuite cliquer ” Save & Quit” et un pop up va vous demandez ” Restart Code Composer Studio on exit?” Dites oui.

step8

Maintenant vous pouvez ouvrir votre projet où en commencer un nouveau. Il se peut que vous ayez une erreur comme celle-ci en ouvrant votre projet.

step10

Si oui, il faut juste aller dans les Build Options et changer le path des librairies. Changer le Search Path avec le path où se trouve vos librairies sur votre ordinateur.

step11_lib

Voici ce qu’il faut après. Il faut ajouter les librairies au projet. Project->Add files to project… et allez trouver rts6700.lib

step9


N’oubliez pas le fichier C6713dsk.cmd qui ce trouve dans le répertoire C:\CCStudio_v3.3\MyProjects\cmd

Maintenant allez dans le Build Options, Project->Build Options et faites du copier coller de ceci:

Compiler:

-g -fr”$(Proj_dir)\Debug” -i”C:\CCStudio_v3.3\MyProjects\SupportFiles\include” -i”$(Proj_dir)\include” -d”_DEBUG” -d”CHIP_6713″ -mv6710 –mem_model:data=far

Linker:

-c -heap0x1000 -m”.\Debug\ChangeMoi.map” -o”.\Debug\ChangeMoi.out” -stack0x1000 -w -x -i”C:\CCStudio_v3.3\MyProjects\lib” -l”csl6713.lib” -l”dsk6713bsl.lib” -l”rts6700.lib”

N’oubliez pas de changer le nom du projet où c’est écrit ChangeMoi


Vous pouvez maintenant compiler le code et loader le programme. Suivre les mêmes étapes qu’on fait en classe.

File->Load Program Ctrl+L

File->Reload Program Ctrl+Shift+L

Reload program est beaucoup plus rapide, car vous n’êtes pas obligé de choisir le fichier .out à chaque fois.

Utiliser CCS normalement, breakpoint, watch window, etc

Pour afficher les numéros de ligne de code, allez dans Option->Editor->View Setups…

Amusez vous bien et n’oubliez pas que la modération a bien meilleur goût!

ps- S’il y a quelque chose qui n’est pas clair sur le tutoriel, veuillez m’en parler et je vais modifier la page.

Si vous aimez mon tutoriel, vous savez très bien comment me remercier 😛 loll

Click Click

Lithium battery coming my way

By , September 7, 2009 1:13 pm

I order some lithium battery for my scooter.

http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=9177

Spec.
Minimum Capacity: 5000mAh
Configuration: 4S1P / 14.8v / 4Cell
Constant Discharge: 20C 20 x 5 = 100A constant discharge
Peak Discharge (10sec): 30C 30 x 5 = 150A burst
Pack Weight: 536g
Pack Size: 148 x 49 x 33mm
Charge Plug: JST-XH

Discharge plug: 4mm Bullet-connector

I got 2 of those battery, when charged a battery like this equals to 16V. In series I will get 32V. I plan to have 4 battery like this. No not 64V 😛 it will be 10Amps at 32V. I only bought 2 for the moment so I could test it out first.

Choosing the battery voltage was hard. I could of bought 18.5V, so once charge that would o around 20V, so this mean I would have 40V in serie and my motor can got up to 39.5V. This was sort of perfect. I could of seen the real maximum speed I can get with my scooter ( one of the major goal of this project ).

I choose 14,8V for a couple of reasons. First, all the cheap charger I found, would only charge 14,8V packs. Second, I could use those 14,8V pack in future project like a segway and 3kg sumo robots ( The motors I am looking for run on 14V ). Third, I would of needed to buy a separate cell balancer because my current charger does not have that. And also, if I decide to make a other scooter and get lower wattage motor, they all seem to run at around 30V and lower.

One day, I might and would love to try at 40V, the max rating of the motor. I hope I could get a sponsor for the battery, that would help.

I also got some cheap charger, the charger I got has built in balancer. Balancing the cell mean that each individual cell are check to be sure that they all have the proper voltage before been used. This prevent damaging the pack if one cell could be discharge to much, below the recommended voltage.

http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=2055

I also bought some wire extension for the balacing cable. I will be able to only get the cable out of the scooter to make easy charging. I bought 2 charger so I could charge both battery at the same time! I might have a charger on board of the scooter. The only drawback is that the charger works only on 12V, so I need a power adapter to get 12V. At home, that is not a problem since I use a old computer power supply. If I bring my scooter at school, I might need a adapter for the 12V on board.

Since the beginning, I am think about a version 2 of this scooter. The main modification would be using inflatable rubber wheels. Going 36km/h on 5inch plastic wheels is pretty cool but makes a lot of noise and breaks the wheels. In Québec, the roads are not pretty, so I need other kinds of wheels. I order from AllElectronics.com and I did receive my order. The wheels are cheap but the gearbox are pretty nice.

The gears you see are planetary gear box on your left  and a roller bearing on your right hat only spin in one direction. Like the pedals on your bike. They both match perfectly and I already have ideas how to use them. It is going to be really easy! Can’t wait to start that project.

I also added a Donation button, I have seen website that had those and said, why not? So if you love what I am doing and would love to help me buy more battery, please make a donation! :)

Panorama Theme by Themocracy