Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Jaryd on October 31, 2010, 07:45:59 AM
-
How do i test if my mcu is working?
-
Connect an LED and resistor to a port pin, set the port to an output and write code that blinks the LED by setting the output high for a period of time then low for a period of time.
-
Thaats alittle confusing and i dont have any software yet is there another way??
-
You're not going to be able to test it without programming it with SOMETHING. What MCU is it? Many come with a "blink" program as a factory setting, so you could try just hooking up Vcc and ground.
-
I built it using the tutorial
-
The $50 robot tutorial? That MCU will need to be flashed with a blink program. If you didn't do anything to the MCU, and you've kept it in an antistatic bag/grounded yourself before touching it, it should probably be fine. Take a look at where the ICSP pins connect to - you can probably jury-rig a programmer and flash the chip with a blink program, and then read the output with an LED + resistor or a multimeter.
-
Hi,
How do i test if my mcu is working?
Why do you want to test it at all - did you do anything particular evil to it?
-
Well basically I messed up the first one and spent a lot of time on the second. I never got any farther than that due to my budget and lack of time. I now have alot of time on my hands and just wanted to see if it actually works or not.
Jaryd
-
As of right now Im understanding that I am going to need some software... What software is the up to date version I should use. (if not free cheap!!!!!!!!!!!!)
-
If you built the $50 board according to the instructions then just follow the rest of the instructions. There is already a program in the tutorial for you to download to it. (presumably you already have the hardware programmer in the tutorial. If not then I dont thin that you can achieve anything with it)