Dear Eric, thanks for the reply! I’m planning to use soft button, not the 
hard button. Because in the end, I will end up adding many soft buttons 
with different names that can send different strings to the next device 
through serial port.

Now I have very rookie questions: 
1) I have connect the BBB to the computer, and I have opened the webpage of 
http://192.168.7.2, and can perform the scripts on the webpage text box; I 
have also opened Cloud9 IDE (http://192.168.7.2:3000/) and performed some 
programs. But I noticed that the Cloud9 access some path that the USB disk 
cannot find. My question is, how to get to the beagle# status before 
entering any command to modify the configuration of the serial port? From 
the terminal of the computer? Or Cloud9? Or webpage test box?
2) It seems that when I connect the BBB to the back of the touch screen and 
turn it on, the board enters a system with touch control. So I suppose that 
I should run some GUI (some soft buttons) program from that system, instead 
of from computer via a USB cable. How to do that?

Now I’m reading the book “Bad to the Bone: Crafting Electronic Systems with 
BeagleBone and BeagleBone Black”. It’s a very good book, but the progress 
seems to be too slow. I hope I could finish this by this weekend. But based 
on my background, there seems to be some barrier I should conquer first. So 
I really need some expert like you to instruct a little bit. Look forward 
to your reply. Thanks again.

Henry

在 2015年6月12日星期五 UTC-4下午3:43:14,Eric写道:
>
> did you want to use soft buttons (buttons generated on the touchscreen as 
> needed in software) or hard buttons (buttons on the display that consist of 
> an actual hardware switch that causes a detectable contact closure) for 
> this?  For the soft buttons I'd look at Qt.  For the hard buttons, look at 
> how the beagle can edge detect an input and generate an interrupt based 
> upon that.  I'd be happy to look a bit further once you have an idea which 
> direction you want to go.
>
> Eric
>
> On Fri, Jun 12, 2015 at 12:32 PM, Henry Yongfan Men <[email protected] 
> <javascript:>> wrote:
>
>>
>> Dear all,
>>
>> I'm a complete newbie in this community. As a postdoc, I'm responsible of 
>> building a off-computer control system. I decided to use BeagleBone as the 
>> central controller. But since I have other academic jobs, I wish I could 
>> finish the project quick and dirty. So maybe I need some specific guidance 
>> on it.
>>
>> Now for the first version of the system, my idea is just have two buttons 
>> appearing the touch screen and when I press either of the buttons, the BBB 
>> will send out a string through the serial port. I have another device 
>> waiting for the string command to trigger some control, so the rest is 
>> already ready.
>>
>> I think this is rather easy, isn't it? But I spent about a whole day 
>> today trying to figure out how to send the string out, and still cannot be 
>> successful. Not to mention the touchscreen part. I have experience in 
>> Matlab and LabVIEW programming, a little C experience, no Javascript or 
>> Python, and now I have a BBB, a 7-inch touch screen, a USB cable, and a 5V 
>> 3A power supply. I can make the serial port with connectors to the board 
>> with no difficulty. I have tried to boot the board with the 5 power supply 
>> and the LCD screen hooked up, and I could see the operating system. So 
>> could anyone tell me how to step into this field with a relatively quicker 
>> method? Thanks!
>>
>> Sincerely,
>> Henry
>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to