Go to advanced search

by llorvde
Mon Sep 05, 2016 12:30 am
Forum: Advanced users
Topic: How can I measure Raspberry pi power consumption?
Replies: 0
Views: 463

How can I measure Raspberry pi power consumption?

Dear All, I want to measure raspberry pi power consumption while one python is running. When the python simulation is done, print total energy consumption (power consumption * Time) on python. Is it possible..? I found some USB Voltage/Amps Power Meter devices, but I cannot use these device for ener...
by llorvde
Wed May 18, 2016 2:03 am
Forum: Advanced users
Topic: How to measure power consumption for running python code
Replies: 6
Views: 2938

How to measure power consumption for running python code

Dear All.

I have one question for raspberry pi power consumption .

I wnat to measure raspberry pi power consumption while one or more python code is running.

so I can choose which code can use less power consumption .

Is it possible..?
by llorvde
Tue May 17, 2016 6:06 pm
Forum: Advanced users
Topic: Measure power consumption
Replies: 1
Views: 559

Measure power consumption

Dear All Sorry for my bad English. For project, I need to measure power consumption, but I do not know how to measure it. Raspberry pi is connected to battery, and arduino is connected to raspberry pi for power. And arduino is attached to Boe bot for control. When Boe Bot is moving around, I want to...
by llorvde
Fri May 13, 2016 4:57 pm
Forum: Beginners
Topic: Make faster I2C Communication between Pi and Arudino
Replies: 1
Views: 581

Make faster I2C Communication between Pi and Arudino

Dear All. I have one arduino and raspberry pi, and I want to make communication between pi and arudino. Right now, I used I2C communication, but I think it is slow... When I see raspberry pi python code... There is one sleep function right after sending value to arduino. How can I save time for slee...
by llorvde
Wed Mar 30, 2016 1:53 am
Forum: Beginners
Topic: Connection between raspberry pi 2 and Pololu robot IR beacon
Replies: 0
Views: 313

Connection between raspberry pi 2 and Pololu robot IR beacon

Dear All, I have trouble about connection between raspberry pi 2 and pololu robot IR beacon.. https://www.pololu.com/product/701 I bought two pololu IR beacons.. One is on the RC car, and the other one is on Target(Taget does not move). There are 4 outputs, North, South, East ,West... Three inputs P...
by llorvde
Tue Mar 22, 2016 6:42 pm
Forum: Troubleshooting
Topic: I2C Communication between Arduino (Boe Bot) and Raspberry pi
Replies: 2
Views: 648

Re: I2C Communication between Arduino (Boe Bot) and Raspberr

This is my raspberry pi code (python) # -*- coding: utf-8 -*- import smbus import time # for RPI version 1, use "bus = smbus.SMBus(0)" bus = smbus.SMBus(1) # This is the address we setup in the Arduino Program address_1 = 0x04#echo def writeNumber_1(value): bus.write_byte(address_1, value) # bus.wri...
by llorvde
Tue Mar 22, 2016 5:06 pm
Forum: Troubleshooting
Topic: I2C Communication between Arduino (Boe Bot) and Raspberry pi
Replies: 2
Views: 648

I2C Communication between Arduino (Boe Bot) and Raspberry pi

Hello.. I have some problem about I2C Communication.. Raspberry pi generates one random value and send it to Arduino. Depends on random value, Arduino controls Boe bot(Move forward, turn left, turn right). If collision happens, Arduino sends bigger than 0 values to Raspberry pi. In other case, Ardui...
by llorvde
Fri Mar 18, 2016 3:20 am
Forum: Beginners
Topic: Distance measurement between raspberry pi2 and beacon
Replies: 0
Views: 415

Distance measurement between raspberry pi2 and beacon

Hi~ I want to measure distance between raspberry pi and beacon. I know the value is not accurate, but in my project, the distance does not have to be accurate. For example, if the distance is <50cm, the output is 0, if 50cm<distance<150cm, the output is 1.. like this.. What beacon and Bluetooth adap...
by llorvde
Fri Mar 18, 2016 2:51 am
Forum: Other projects
Topic: Measurement Distance from start point to RC-car
Replies: 13
Views: 2473

Re: Measurement Distance from start point to RC-car

Thank you for suggestion.. However, I do not have to measure accuracy distance.. For example, if distance between rc-car and start point is less than 50cm, output is 0.. if the distance is bigger 50cm and less than 100cm, output is 1.. Therefore, the measurement does not have to be 100% accurate.......
by llorvde
Thu Mar 17, 2016 3:31 pm
Forum: Other projects
Topic: Measurement Distance from start point to RC-car
Replies: 13
Views: 2473

Measurement Distance from start point to RC-car

I have one problem about measuring distance. I have one RC- car moving around randomly.(Use random function to move the RC-car) What I want is ... the RC-car can measure distance from start point to where the RC-car is. Assume, there is no obstacles between RC-car and the start point, and the map si...
by llorvde
Thu Mar 17, 2016 3:27 pm
Forum: Other projects
Topic: Location tracking indoor
Replies: 3
Views: 3312

Re: Location tracking indoor

Thank you Guys`` I will search other product that can help me my project.
by llorvde
Sat Mar 05, 2016 6:27 am
Forum: Other projects
Topic: Location tracking indoor
Replies: 3
Views: 3312

Location tracking indoor

I have questions about location tracking. In my design, raspberry pi and Arduino uno is communicating via I2C. Raspberry pi makes random value and send to Arudino. Depends on random value Arduino control servo to move. (Forward, Left, Right) (Forward : move 1 inch forward) (Left : turn left 10 degre...

Go to advanced search