Welcome, Guest. Please login or register.

Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Phill

Pages: [1]
1
DIY AstroEQ / ATMEL STUDIO 7 and Mega2560
« on: November 20, 2017, 15:12:32 »
I feel I've hijacked kaito83's thread so I've started a new one since I'm not likely to be the only person who has problems using ATMEL STUDIO.

Initial actions:

Installed ATMEL STUDIO 7 and learnt what I could from the following tutorial. https://slightlyovercomplicated.com/2015/11/13/programming-arduino-with-atmel-studio-7/.

I messed about with this and tried to manually import/add files. I was able to build the project but avrdude would not burn it.

I realised when I downloaded a new copy of AstroEQ -master that when I looked in AstroEQ-Firmware some files were now linked to ATMEL STUDIO. Great. Also that Tom has also supplied avrdude so I should be able to run the AS7 from here.

Steps so far:

Open AS7 and add an external programmer for arduino.
In the command line I used C:\.................................. \avrdude.exe pointing at the avrdude in Tom's download.
In the Arguments I used this convoluted list from the above link and pointing to Tom's avrdude.conf.
-C"C:\..................................\avrdude.conf" -patmega2560 -cwiring -P\\.\COM5 -b115200 -D -U flash:w:"$(ProjectDir)Debug\$(TargetName).hex":i

Happily this was sufficient to burn a blink sketch to the mega2560.

Opened AS7 afresh and click open project. Navigate to AstroEQ-Firmware\AstroEQ and click on AstroEQ6Mega2560.
The first time I did this there was an error and I had to reload AstroEQ6Mega2560. Subsequent times it opened fine.

Clicked on build and the following 4 warnings and 6 errors logged.

implicit declaration of function 'setPinDir' [-Wimplicit-function-declaration]   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.c   353
implicit declaration of function 'setPinValue' [-Wimplicit-function-declaration]   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.c   354
implicit declaration of function 'getPinValue' [-Wimplicit-function-declaration]   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.c   576
implicit declaration of function 'togglePin' [-Wimplicit-function-declaration]   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.c   758

'gpioPin_0_Define' undeclared here (not in a function)   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.h   157
'gpioPin_0_Define' undeclared here (not in a function)   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.h   157
'gpioPin_2_Define' undeclared here (not in a function)   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.h   157
'gpioPin_2_Define' undeclared here (not in a function)   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\AstroEQ.h   157
recipe for target 'commands.o' failed   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\ATMega2560\Makefile   107
recipe for target 'AstroEQ.o' failed   AstroEQ6Mega2560   C:\Users\Sue\Desktop\AstroEQ-master\AstroEQ-Firmware\AstroEQ\ATMega2560\Makefile   107

Gone for more coffee.  8) 8)



2
DIY AstroEQ / DEC channel fault.
« on: November 11, 2017, 14:39:57 »
I have finally finished building my replacement AstroEQ based on Tom's board. Tested it today and the RA works fine but the DEC motor just rocks, moves a bit, buzzes or stops.

I've swopped motors and drive boards and it's definitely something wrong on the main board or the ATMEGA162. I've resoldered joints and generally cleaned everything up but I cannot get it fixed, which leads me to think it might be a faulty IC. I've removed and replaced it in the socket to no effect.

I'll order a replacement 162 but in the meantime I wondered if anyone had experienced this before or had suggestions on how to track down the fault.

Kind regards

Phill

3
General Discussion / EQ3-2 DEC loose worm bearing
« on: October 20, 2017, 18:24:20 »
I know it's not totally on topic but there is such a wealth of knowlede here I thought I'd give it a try.

My EQ3-2 was second hand when I bought it and over the years the DEC worm shaft has got slacker to the extent that I have one degree of backlash. AstroEQ runs well but I'm unable to do much photography due to the movement. I've done my best to remove the backlash, but I wondered if any one here could advise on whether spare parts are available? Or has anyone seen a web page where someone has re-bushed the worm shaft / added bearings etc. The problem is not the worm and gear but the carrier that bolts the worm to the DEC gear.

I'm wary of buying another second hand mount but I realise that this may be the only option.

Kind regards to all.

Phill

4
DIY AstroEQ / EQmod not reponding
« on: July 07, 2016, 17:21:33 »
Sigh, it was all going so well.  :'(

Everything worked so well on the bench using my old AMD X2 PC. Mounted AstroEQ on the pier and tried to use a Thinkpad T61 laptop. Configuration all works well and CdC and EQmod fire up fine.

Once I unpark and ask for a slew the CdC cursor remains as a target and hovering over EQmod just has the blue timer ring. The mount carries on slewing but I have to intervene as it won't stop. A trawl of EQmod not responding looks like this happens a fair bit with poor USB cables. Since the cable works OK on the PC I suppose the USB ports on the laptop might be a bit weak. I'm surprised all three of them are sub standard though.

Any thought?



5
DIY AstroEQ / Motor change
« on: May 30, 2016, 19:34:45 »
Hi,

I currently run a pair of Longs Motor Nema 23s. They are solid but for driving my scope they are a bit slow.

The spec is

RA 1:144 worm 1:12.5 RS gearbox.

1.8 degree
8V 
18mH
1 amp per phase
18 ohm coil resistance.

Running these at 12 volts is fine, but I can only manage about X80 for the goto.

I've looked about and there are quite a few NEMA 14/17s available:

0.9 degree
4V
4mH
1.33A per phase.

Has anyone experience of these or a recommendation.

Thanks

Phill

6
DIY AstroEQ / Pin mapping
« on: May 06, 2016, 19:09:25 »
Hi all,

I did an interim test on my Mega2560 and proto-shield. The result was not as I expected. Without drivers and motor power not connected the boards were drawing 500mA from the USB. I cannot see any wiring problems so I wondered if perhaps I hadn't changed the pin mapping correctly.

Can I confirm that I change the pinmapping.h version found at AstroEq-master/downloads/AstroEQ-Firmware/AstroEQ? Once changed, use the Configutility .

Thanks

Phill

Pages: [1]