Go to advanced search

by liudr
Thu Jun 06, 2013 5:17 pm
Forum: General programming discussion
Topic: Where to start with c/c++, sensor logging and network apps?
Replies: 3
Views: 1376

Re: Where to start with c/c++, sensor logging and network ap

So after a day with the pi, I was able to understand basic commands of Linux and a bit about pi. I think right now my focus will be making Arduino work on a Linux PC and migrate code to pi after they are tested. Trying to compile largish code on pi will probably take too much time.
by liudr
Thu Jun 06, 2013 5:16 pm
Forum: General programming discussion
Topic: Where to start with c/c++, sensor logging and network apps?
Replies: 3
Views: 1376

Re: Where to start with c/c++, sensor logging and network ap

vputnik, My goal is similar to yours except that I want to write my own internet applications, i.e., handling TCP requests programmatically and not relying on any server applications. I am going to use Arduino to talk to sensors. What is your plan on the sensor side, directly talking to them with pi...
by liudr
Wed Jun 05, 2013 7:06 pm
Forum: Automation, sensing and robotics
Topic: PI to control AC Window Unit
Replies: 5
Views: 3885

Re: PI to control AC Window Unit

If it comes with an IR remote, you can first learn what signals from the IR remote will trigger what function, then use your pi to send these IR signals out with an IR LED to control them. Most classroom automation systems that involve projectors, VCR/DVD players etc use this technique. To sense the...
by liudr
Wed Jun 05, 2013 6:21 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi i2c doesn't detect BMP085 sensor.
Replies: 18
Views: 5236

Re: Raspberry Pi i2c doesn't detect BMP085 sensor.

From the picture the OP was connecting the I2C sensor by jabbing the jumper pins into the board's holes. That's a very poor way to make connections. You should solder on some female header on the sensor and then connect to it with jumper wires.
by liudr
Wed Jun 05, 2013 2:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: components in India
Replies: 2
Views: 686

Re: components in India

One other place to ask is possibly here:

http://forum.arduino.cc/index.php?board=3.0
by liudr
Wed Jun 05, 2013 2:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Which expansion board(s) to interface these...
Replies: 8
Views: 2719

Re: Which expansion board(s) to interface these...

I would think a microcontroller is better suited for the task instead of separate chips for separate parts of the project. You can start with an Arduino UNO microcontroller dev board. It has excellent tech support and hardware/library selection by the Arduino community. Programming part is separate ...
by liudr
Wed Jun 05, 2013 1:43 pm
Forum: HATs and other add-ons
Topic: DC Motor
Replies: 11
Views: 2231

Re: DC Motor

Just curious, why not using a full H-bridge driver for your motor? I looked at the spec sheet. You need one enable pin and two pins to drive two half H-bridges so your motor can move. Best to supply a clear picture besides connection diagram.
by liudr
Wed Jun 05, 2013 1:27 pm
Forum: HATs and other add-ons
Topic: Reading input from a dial
Replies: 3
Views: 3428

Re: Reading input from a dial

For the position sensitivity, if you want a more or less continuous change instead of say 10 fixed positions, I would recommend a potentiometer. You need an analog-to-digital converter to read its position. For the up/down dial you need a rotary encoder as recommended already. You need two digital i...
by liudr
Wed Jun 05, 2013 1:09 pm
Forum: General programming discussion
Topic: Advice on Arduino integration and Weather Grabbing
Replies: 4
Views: 1258

Re: Advice on Arduino integration and Weather Grabbing

Don't you just need the PI to enable /add pullups to 3.3V on the SCL and SDA instead of level shifting? The point of open drain is to not worry about the actual voltage, right?
by liudr
Wed Jun 05, 2013 5:02 am
Forum: General programming discussion
Topic: Where to start with c/c++, sensor logging and network apps?
Replies: 3
Views: 1376

Where to start with c/c++, sensor logging and network apps?

Hi community! I ordered my pi just last weekend, after a long period of thinking "what would I do with such thing?" From a pure programming aspect, I am not new to it. I have done projects in the past that would amount as many an 10K-20K lines of code per project, both using Arduino (C/C++) and Proc...

Go to advanced search