Home › Foren-Übersicht › ElektorWheelie › WheelieII CPU problem

Foren-Übersicht

Sie müssen eingeloggt sein, um zu antworten.

Thema: WheelieII CPU problem

Autor Beitrag

marcink

4 Beiträge

Neuer Benutzer
Neuer Benutzer

Read post 31-01-2012 12:11

Helo!
My name is Marcin and i am from Poland. I have mount CPU and sensorboard version 2.7 and i cannot make these things working. After some consultations with professionals it seems that pcb's are properly mounted and soldered. I can easily program both atmegas but nothing is shown in telemetrie after connecting to PC. I have found i the internet sligthly different sourcecode named WOF105 - is it correct source code to my pcb's?
I would like to ask few questions which maybe make all clear for me.

-Which sourcecode should i upload to atmega32 ? WOF104 or WOF105 ?
Link to WOF105
-in WOF104 some LEDs are mentioned but there are no LEDs in my PCB'c - why ?
-what is a difference between code in C and in BASCOM on website
http://www.gerold-online.de/cms/wheelie/mein-wheelie/quellcodes.html
-is it necessary to program atmega88 to run telemetrie?
-i was trying this program for telemetrie http://www.gerold-online.de/cms/fileadmin/downloads/Wheelie/setup.exe is it correct ?
I am attaching photo of my PCB's

guenter

960 Beiträge

Elektor-Experte
Elektor-Experte

Read post 31-01-2012 19:20

Hello Marcin,

I have found i the internet sligthly different sourcecode named WOF105 - is it correct source code to my pcb's?

Yes.
-Which sourcecode should i upload to atmega32 ? WOF104 or WOF105 ?

WOF105
-in WOF104 some LEDs are mentioned but there are no LEDs in my PCB'c - why ?

Because the Wheelie1 have LEDs, so you can use the code for both Versions
-what is a difference between code in C and in BASCOM on website
http://www.gerold-online.de/cms/wheelie/mein-wheelie/quellcodes.html

In the C-Code i use Kalmanfilters, other Geartoothsensors and it is no longer compatible to the Wheelie1 Boards.
-is it necessary to program atmega88 to run telemetrie?

YES!! Without an programmed ATMega88 there is no I2C Communication. At power up the ATMega32 waits until there is Data from the Mega88.
-i was trying this program for telemetrie http://www.gerold-online.de/cms/fileadmin/downloads/Wheelie/setup.exe is it correct ?

Yes.
I am attaching both Hexfiles.
Have you an Multimeter and an Oscilloscope? So we can find the problems step by step.

Günter

AttachmentGearsensor2.hex

AttachmentWOF105-elektor.hex

marcink

4 Beiträge

Neuer Benutzer
Neuer Benutzer

Read post 31-01-2012 20:28

Thank you very much for your answers
I forgot to mention that i am using atmega168 instead of atmega88 - could you attach hexfile for at168?
Tommorrow i will try to program both atmegas and check connection to telemetrie once again.
I have multimeter and i can use my friend's osciloscope so if reprogramming atmegas does not help i would be glad if you could help me step by step.

Marcin

guenter

960 Beiträge

Elektor-Experte
Elektor-Experte

Read post 31-01-2012 20:31

For M168

AttachmentGearsensor2.hex

casper408

373 Beiträge

Erfahrener Benutzer
Erfahrener Benutzer

Read post 01-02-2012 08:15

Hello,

one important thing: You have installed a horizontal connector for K9. There is provided a vertical connector. The pins are now rotated 180 degrees ...
You must install a vertical connector or adjust the wire to the switch.

marcink

4 Beiträge

Neuer Benutzer
Neuer Benutzer

Read post 01-02-2012 15:08

Helo casper408!
I couldn't find 3rd horizontal connector thats why i had to use vertical but all connections i have made according to diagram with multimeter so i thinks its correct.

Today my friend tried to program atmegas with hexfiles attached by guenter but without success. Probably these hexfiles are compiled for different microchips. Here is printscreen with error :
In the log, firstly he loaded file WOF105 by mistake but top 2 lines shows that loading Gearsensor2.1 (for AT168) causes error

Beitrag editiert von marcink am 01-02-2012 15:10

Beitrag editiert von marcink am 01-02-2012 15:11

guenter

960 Beiträge

Elektor-Experte
Elektor-Experte

Read post 01-02-2012 15:21

Once again...

AttachmentGearsensor2.hex

marcink

4 Beiträge

Neuer Benutzer
Neuer Benutzer

Read post 04-02-2012 15:24

Thank you for help. Finally i got CPU working.
Connection to telemetrie is done and all sensors are working.
Now its time for construction - i will post photos when i finisched

Thank you
Marcin

Sie müssen eingeloggt sein, um zu antworten.

Feedback zu Elektor

Folgen Sie Elektor auf...