Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Interfacing arduino to Power Point on: October 05, 2012, 11:59:05 pm


Hi,
if you know any .NET programming language (i.e. VB, C#) there is an easy way for controlling a power point presentation from code:


Hi,
Well I do not know VB or C#, but I do know C++. Although I got a few ways to do it now, but I would still like to learn to create my own program to do such stuff. Is there a way where I can do something using C++, and which languages would you recommend I learn for being able to interface embedded hardware with windows or other operating systems, where I can control the programs in the OS using the hardware I build.
2  Using Arduino / Project Guidance / Re: Interfacing arduino to Power Point on: October 05, 2012, 01:18:19 am


By default, Power Point lets you change slides by pressing keys on the keyboard, or by clicking a mouse. The simplest solution would be to use an arduino leonardo to emulate a keyboard or mouse.

Hi,
Well I wish to learn along the way, leanardo seems to be the simplest solution, but I am planning to build my own stand alone slide changer, and in the process want to learn all this.
The hardware is actually ready, I have a standalone pcb with atmega 328 smd, and a bluetooth which can send data to pc's serial port.
What I would like to do is to use that data (data can be sent according to wish or requirement) being recieved at serial port to run a slide show.
can you guide me?
3  Using Arduino / Project Guidance / Re: Interfacing arduino to Power Point on: October 05, 2012, 01:13:31 am
If Powerpoint is running on Windows, the simplest solution would be to use Gobetwino to send keystrokes to your applications based on command strings sent from the Arduino. Gobetwino isn't available for non-Windows platforms (as far as I know) but it would be easy enough to write your own application to generate keystrokes.

If you aren't committed to making your own hardware, you could probably get a wireless mouse for less than the cost of an Arduino.


Hi peter,
Thank you for your reply. Can you tell me if gobetwino will work if i make a standalone board. I want to use the 328 controller and a bluetooth which can send data to the serial port of the pc, this will be a standalone remote control sort of a device.
Now pressing the buttons will send some ascii codes, and can they be used with gobetwino?
4  Using Arduino / Project Guidance / Interfacing arduino to Power Point on: October 04, 2012, 04:37:59 am
Hi, I want to make a power point slide changer.
All I want to do is that assign two buttons on arduino, one for forward and another for backwards.
On pressing the forward button, i should be able to move to the next slide in power point and on pressing the backwards button i should be able to go back a slide.
Now I know arudino can send data to the serial port of the pc, but how can I interface the serial port to power point?
Can anyone guide me on this?
5  Using Arduino / Project Guidance / bluetooth HCI communication on: September 24, 2012, 06:14:11 am
Hello!
I have used bluetooth modules in the past with arduino. These modules are easily programmable via AT commands, but are slightly big in size.
I want to use a smaller module which i would like to pair up with an android phone, and send sensor readings to the phone via the module.
I found small modules here, Pan 1326, pan 1327
http://www.arrownac.com/solutions/panasonic-bluetooth/pdf/PAN-Arrow-RF%20Module%20Piece_web.pdf

Well this says that the module uses the HCI protocol. I earlier used the bluetooth module rn 42 which used SPP profile instead of HCI.
For Rn 42 i just had to connect the UART of microcontroller to the UART pins on the module, and it transmitted whatever data it got from the controller. Here is the datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/rn-42-ds-v2.2r.pdf
My questions are
1. Will i be able to transmit data through Pan 1326 or 1327 , just by connecting the UART pins on the microcontroller to the module, or do i need to do something else as well?
2. How will I be able to pair this bluetooth module to the android phone? with rn-42 it was simple, just enter the passcode.

Here is the datasheet of Pan 1326,1327.
http://www.pedeu.panasonic.de/pdf/174Datasheet.pdf
6  Topics / Home Automation and Networked Objects / Re: smallest blutooth module ? on: September 18, 2012, 05:40:55 am
Quote
interface the ring with my android phone.

In what way? Serial, or Hands-free, or A2DP, or something else?

There is a bluetooth module inside one of the earpieces in these http://www.plantronics.com/us/product/backbeat-go so they get quite small (see pic).




Well, I just want to send some characters at the press of a button from the ring to the phone, just to do some simple stuff like turn on music or change songs etc. Now my problem is that I am stuck with these big bluetooth modules, which are easy to program via AT commands, but I can not fit them in the ring.
The picture you just shared, which chip is the bluetooth on that - left or right?
Can you give me some idea as to how can the bluetooth be programmed, if not for the AT commands?
7  Topics / Home Automation and Networked Objects / smallest blutooth module ? on: September 17, 2012, 11:54:51 pm
Hi guys!!
I want to build a finger ring with bluetooth inside it. Turns out the modules available are quite large.
Has anyone come across a bluetooth module that can be comfortably put inside a ring, say a module that would be less than 8mm X 8mm.
I also want an antenna (any type, normal or chip), because i finally want to interface the ring with my android phone.
8  Using Arduino / Microcontrollers / Re: Running atmega 328p on 3.3 v on: September 15, 2012, 12:59:16 am
@crossroads
It has started working, seems like there was some issue with the connection on the breadboard, but i figured if it was working with 5V, then
the connections should be fine.
Anyways, can you or anyone else reading this please answer the following -
1. a virgin chip, has its fuse settings to use it's internal clock, as well as BOD disabled, yet it does not work without an external crystal, nor does it work at 3.3V. Why?
2. when we burn a bootloader of another board using arduino IDE, does it really burn the bootlaoder, or it just sets the fuse settings?
Coz I cannot use arduino uno tho program the chip unless the bootloader if of uno. It might be because of the mismatch in serial rates as you just mentioned. And yes I will buy 8Mhz crystals, thanx for the sites. smiley. However the error I get is that it is not in sync, an error usually encountered when the bootloader is not there, plus I read on some site that the bootloader does not really get burnt this way.
3. Any kind of headstart on how to burn fuses without using the arduino IDE, so that I can use the internal clock of the chip, timing is not that important for me.
9  Using Arduino / Microcontrollers / Re: Running atmega 328p on 3.3 v on: September 15, 2012, 12:22:53 am
well,
I placed the chip on the breadboard , and am giving power via the 3.3V on the arduino.
Would the external clock being 16MHZ have anything to do with this problem?
also, when we use this method, does the booloader really get burnt into the chip, or it just sets the fuse bits?
I am asking this because I cannot program the chip using arduino directly anymore, I have the use my usbasp programmer.
However if i reflash the bootloader for the arduino uno, then i can program the chip using arduino again.
10  Using Arduino / Microcontrollers / Re: No options for burning bootloader in arduino IDE on: September 15, 2012, 12:17:57 am
Got it
Arduino 1.0.1 does not have that option, selecting the programmer and correct board, and then just clicking burn bootloader works.
It takes a lot of time though, so i thought there might be a problem.
Thanks
11  Using Arduino / Microcontrollers / Re: Running atmega 328p on 3.3 v on: September 15, 2012, 12:05:30 am
3. What is the best way to program a chip such that it uses 3.3V , with an external clock.

Select ProMini, 3.3 V 8 MHZ for board type, burn bootloader.

@crossroads
I did that, and i found this
1. the clock got set to 8mhz, i used the blink program to check it (used a 16Mhz crystal, blinking occurred at twice the speed)
2. the chip still does not work at 3.3V, although it works perfectly at 5V
12  Using Arduino / Microcontrollers / No options for burning bootloader in arduino IDE on: September 14, 2012, 09:03:28 am
Hi all!
I want to run the atmega 328 at 3.3V and 8mhz external clock.
So i figured, that I will use my programmer(usbasp) and connect it to the ICSP pins on the arduino uno, and burn the bootloader
for arduino pro mini (3.3V and 8mhz).
However, I am unable to do this because there are no options in the arduino IDE to burn bootloader using a programmer.

Some tutorials say that there should be a dropdown menu for the burnbootloader in tools, like
tools>burnbootloader>using usbasp  , but I just see tool>burnbootloader.
So is there a way around this problem?
13  Using Arduino / Microcontrollers / Running atmega 328p on 3.3 v on: September 14, 2012, 05:46:35 am
Hi all!
I want to run atmega 328p on 3.3v for my project and for doing the same I gathered some information.
As far as I understood, I will have to program the extended fuse bits of the 328 so that i can disable brown out detector (BOD), so that I can run the chip on 3.3V and I will have to program the low fuse bits for the clock if I want to use an external clock of 8mhz (8 mhz coz it is recommended that for voltage of 3.3V the clock should be set at less than 10 mhz).
However, when I read the datasheet of 328 chip, i found that the BOD is disabled by default (pg 296 and 320), and that if an external clock is not used then the chip uses its default internal clock of 8 Mhz.
All this is for a case when I have not burnt the bootloader into the chip . I guess the bootloader changes the fuse settings, for an external clock of 16 mhz and BOD is enabled.
These were the observations when I ran a bootloaded as well as not bootloaded chip on a breadboard with the blink program in both the chips
OBSERVATIONS
1.a bootloaded chip with bootloading done for uno, does not run without external clock. Probably because the fuse settings done by the   bootloader demand an external clock.
2.a bootloaded chip also does not run on 3.3V, again probably because of the fuse settings done by the bootloader.
3.a non bootloaded chip runs at 3.3v as well as 5v but it runs only in presence of an external clock(i tried 16 mhz), but does not work when the clock is removed.

Now comes the list of questions -
1. In case of non bootloaded chip, why does the chip demand an external clock? Why is it not using its internal clock?
2. Am I right about the inference i made in the first two observations?
3. What is the best way to program a chip such that it uses 3.3V , with an external clock.
4. What is the best way to program a chip such that it uses 3.3V, using it's internal clock.

Here is a link to the datasheet  - http://www.atmel.com/Images/doc8161.pdf
14  Using Arduino / Networking, Protocols, and Devices / basics of wire library on: September 04, 2012, 02:51:13 am
the link below shows a sample code for a digital accelerometer
http://www.fut-electronics.com/wp-content/plugins/fe_downloads/Uploads/3Axis-digital-accelerometer-with-Arduino.pdf

Can anyone help me decipher the code a little, how the wire library works and stuff.
Pages: [1]