Page 1 of 1

Sensor Board R3 Issues

Posted: Tue Aug 17, 2021 3:45 pm
by Dakara0415
Greetings from Taiwan!

I have built the Sensor board R3 according to the wiki schematic. However I am not getting appropriate UDC outputs from the voltage sensing circuit. The main board cannot see any UDC. The ATTiny13 was bought from Digikey (off the shelf component), does it require to be programmed for it to work? Where to find this program for the ATTiny13 to suit?

I am very close to getting my motor to spin via FOC!

Thanks very much!

Re: Sensor Board R3 Issues

Posted: Tue Aug 17, 2021 4:05 pm
by johu
Oh, almost forgot this existed ;)
Yes it needs to be programmed, hex file attached.

Re: Sensor Board R3 Issues

Posted: Tue Aug 17, 2021 4:15 pm
by Dakara0415
Thank you for the swift response! :)

Re: Sensor Board R3 Issues

Posted: Thu Aug 19, 2021 9:01 am
by Dakara0415
Still no luck on getting the voltage sensor to work...

Just wanting a sanity check on my method, I have successfully uploaded and tried both the volt_pwm.hex file and compiled main.c to hex onto the ATtiny13, but still getting no where. Am I using the correct files? The main.c code looks like it was for your water heater project. Will it do the same job converting voltage input to pwm on the correct pins?

Thanks again :)

Re: Sensor Board R3 Issues

Posted: Thu Aug 19, 2021 9:41 pm
by johu
Oh sorry, that was silly! Of course I posted the wrong files. Will dig the correct ones from my archive tomorrow.

Re: Sensor Board R3 Issues

Posted: Fri Aug 20, 2021 11:53 am
by johu
Ok, try that one!