Jump to content
Sign in to follow this  
ahmadmz

BBB alarm clock project

Recommended Posts

Hi everyone, I received a BeagleBone Black a few weeks ago and have some questions about it.

 

I'm trying to make a alarm clock, where the user can set various times to set off alarms. The alarms will be added to a priority queue, and a audio file will be played for each entry at the corresponding time. I also need access to the internet so I can get alarm times from a webpage or file. Later on I would also like to add some buttons and a LCD. 

 

This is my first project with a device such as a BBB. I know C and a bit of C++. I also installed Ubuntu on a separate laptop and learned a few terminal commands. 

 

My problem is that i'm not sure how to code an accurate clock and set up the alarms. Is it possible to do this at user space where the coding will be a bit easier? Or do I look into bare-metal programming?

 

I played a bit with crontab, but it seems strange to me. I added 2 commands. I play an audio file at a certain time, and open xclock in the next minute. The audio only plays when i have a * for minute. And the clock application never opens.

 

Any advice and/or guidance would be appreciated!

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...