In the article WheelieGT Elektor also did an article on the subject with very good description as to how to mount etc. You can also look at the Gerold – Elektronik website to see how it can be mounted. I used a small piece of board to mount the device on. The one on the right is the ATS667 mounted in place on the motor in the same way as on the Gerold – Elektronik website. In the three pictures below you can see the geartoothsensor circuit boards. A picture of the settings can be seen on the left. #Ds1307 bascom program download#I use the very nice YCIT GUI which you can download from here. This creates a HEX file which can be loaded into the Atmega168 using avrdude in the same way as programming a new bootloader into an arduino. It is compiled using the freeware bascom compiler. #Ds1307 bascom program software#You can see the gearsensor connections and the current sensing ACS758 SCB-100.Īs previously said the software i used for the gearsensor CPU was almost identical to that of Gerold – Elektronik. So there was no reason to change this to Arduino and i left it as is.īelow is the circuit diagram of the additional hardware. The software is written in Bascom but is small enough to be usable in the freeware Bascom compiler. I finally ended up using the ATS657 because of the direction sensing that this chip has. I have experimented with both the ATS667 and the ATS657 with thanks to Allegro who did send me samples. The software caters for sensors of the type ATS667 or ATS665 which do not have sense direction but also the ATS657 which has direction sensing onboard. This rather simplifies debugging asthe LEDs visualise if the program “sees” the geartooth sensors. The LEDs are connected to PB4 and PB5 respectively. The software is essentially the same as on the Gerold – Elektronik website except that two LEDs have been added which blink each time an interrupt is received from the geartooth sensors. The connectors at the bottom left are those for the gearsensors themselves. In the picture on the left you can see the additional Atmega168 which is interfacing with both the gearsonsors and the current sensors.Īt the top left you can see the connector which attaches to the main microprocessor PCB and the FDTI programming connector. The Atmega168 talks to the main processor board via I2C which is the reason that the SCL and SDA connectors have been brought out to the RS232 connector on the main Zzaag microprocessor CPU. Maybe it would have been better to use ACS758 SCB-50 to get more accuracy but i had two 100 amp units lying around. So instead I used ACS758 SCB 100 which is compatible to this one, and i used two of these. The elektor design has the ACS755 SCB-100 current sensing IC which is now obsolete. Günter Gerold connects these to a separate Atmega168 and I connected mine in the same way so that i could also use his Bascom software for this secondary processor. I wanted to use two separate current sensing IC’s one for each motor instead of the one from the elektor design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |