Another idea would be to combine the robot with the elevated train project that was discussed on the Makerspace's Google Group a year or so ago. The original idea was to have an elevated train track that ran near the ceiling in every room of the Makerspace. The track would be a big loop around the 'space. In this case, instead of a train, the remote controlled robot would be on the track. People could make it move around and point the camera at interesting things. The robot would not get in anyone's way and possibly be less creepy.
Okay. Enough daydreaming. First things first: I need to make sure that the pcDuino works and get familiar with it.
The components on the pcDuino are surface mounted. I suppose it is possible to reattach the USB connector to the board but someone with better soldering skills than I would have to do it.
Thankfully, the pcDuino has another USB port (labeled USB OTG) on the other end of the board. It will also act as a power input port. I used an external power supply that puts out 4.5V and 0.5A. That is not enough to power the pcDuino when it runs xWindows. Every time it started running xWindows, the screen would shutoff and I could not do anything. I put the device away for a day or so.
Thankfully, the pcDuino has another USB port (labeled USB OTG) on the other end of the board. It will also act as a power input port. I used an external power supply that puts out 4.5V and 0.5A. That is not enough to power the pcDuino when it runs xWindows. Every time it started running xWindows, the screen would shutoff and I could not do anything. I put the device away for a day or so.
Yesternight, I worked on the pcDuino some more at the Milwaukee Makerspace. Again, I started out by using an external power supply for power through the USB OTG port. The device would power up and start booting. As soon as it started xwindows, the monitor shut off. The power light was on and both RX and TX lights were on steady.
Next, I plugged the USB cable that supplied power into my PC's USB port and rebooted the device. This time the screen stayed on in xwindows. I guess my PC provides more Amps than the external power supplies I was using. One problem solved.
Next, I plugged a USB keyboard into the USB A port and rebooted the device. Pressing F8 during POST got me into the configuration menu. Using the configuration menu, I changed the screen resolution to 1152x864-75. Note: the default user is ubuntu with a password of ubuntu.
I tried running apt-get update to update the Linux operating system. It ran for a few minutes then gave an error saying, "W: Conflicting distribution: http://www.wiimu.com pcduino Release (expected pcduino but got )". Not sure what is wrong.
Next, I ran apt-get upgrade. It ran for about an hour and installed a bunch of upgrades. Re-trying apt-get update yielded the same results as before.
I wanted an easier-to-use text editor, so I installed nano.
Also, I installed avahi. (Full instructions are here.) Then, I changed the host name to pcDuinoV2 in /etc/hosts and /etc/hostname. Now, it is possible to use ssh to connect to the device at pcDuinoV2.local on any network. There is not need to determine the IP address assigned to the device.
Finally, I tried to get the wireless network card working but I could not figure it out. There is a website that has some information about this: http://www.linux.com/learn/tutorials/374514-control-wireless-on-the-linux-desktop-with-these-tools. Obviously, there has to be a better way.
One last thing, the device still boots into xwindows. I need to figure out how to turn that off.
Well, that was enough work for one night. Next time, I'll get the wireless network card working. I also need to find a powered USB hub so I can use a keyboard and mouse at the same time, if needed.
Well, that was enough work for one night. Next time, I'll get the wireless network card working. I also need to find a powered USB hub so I can use a keyboard and mouse at the same time, if needed.
No comments:
Post a Comment