Go to advanced search

by RomanG
Thu Oct 31, 2013 5:06 pm
Forum: Beginners
Topic: SD image too big for another SD Card
Replies: 48
Views: 145482

Re: SD image too big for another SD Card

Not sure which method you are commenting on. Probably the most involved of the dozen or so ways of doing it I've seen. Shrink the main partition, before you start, dd it from the old card to an image... Yes, that would be the simplest way of doing it, but that would assume that you have your old car...
by RomanG
Mon Sep 23, 2013 3:27 am
Forum: Automation, sensing and robotics
Topic: DIY lipo low voltage alarm
Replies: 17
Views: 6425

Re: DIY lipo low voltage alarm

here is the quick schematics
Image


Roman
by RomanG
Mon Sep 23, 2013 3:13 am
Forum: Automation, sensing and robotics
Topic: DIY lipo low voltage alarm
Replies: 17
Views: 6425

Re: DIY lipo low voltage alarm

One more thing I forgot, if you want to drive a buzzer as well, you may need a buffer, since buzzer usually draws more current than op-amp can source. Op-amp can usually source up to 20mA, which is enough to drive an LED but not enough for a buzzer.

Roman
by RomanG
Mon Sep 23, 2013 3:06 am
Forum: Automation, sensing and robotics
Topic: DIY lipo low voltage alarm
Replies: 17
Views: 6425

Re: DIY lipo low voltage alarm

so connect the pi 3.3V to the power of the op-amp and the INPUT1 V- INPUT1 V+ connected to the balance connector of the battery OUTPUT connected to buzzer + LED and ground Where do the resistors go? Ok, if you just want to power an LED, that can by driven directly from the op-amp (with resistor). W...
by RomanG
Sun Sep 22, 2013 6:31 pm
Forum: Automation, sensing and robotics
Topic: DIY lipo low voltage alarm
Replies: 17
Views: 6425

Re: DIY lipo low voltage alarm

324n will work fine, what are you going to do with the comparator output? Turn the LED on? Sound a buzzer? Feed it back in to pi for further processing?
Power the comparator circuit with 5v and use 3v3 as a reference.
Roman
by RomanG
Sat Sep 21, 2013 7:57 pm
Forum: Automation, sensing and robotics
Topic: DIY lipo low voltage alarm
Replies: 17
Views: 6425

Re: DIY lipo low voltage alarm

Same thing can be accomplished with a low power op-amp, such as LM124, http://www.ti.com/lit/ds/symlink/lm124-n.pdf and few resistors, the advantage is that supply current will be 1/10 of the supply current needed for 555 circuit, so your monitor will drain your battery less as it would with the 555...
by RomanG
Thu Sep 19, 2013 7:48 pm
Forum: Beginners
Topic: SD image too big for another SD Card
Replies: 48
Views: 145482

Re: SD image too big for another SD Card

Great!
When I modified mine, I did everything on the paper first to wrap my head around all the conversions.
But since I was working with a backup of the image, there was no real pressure, I knew if I mess up something I can start over again.

Roman
by RomanG
Thu Sep 19, 2013 7:06 pm
Forum: Beginners
Topic: SD image too big for another SD Card
Replies: 48
Views: 145482

Re: SD image too big for another SD Card

I know, it is a bit confusing if you do not do it every day ;) 6th byte -> head 7th byte -> bits 0 to 5 of the 7th byte hold the sector and bits 7 and 8 are high bits of the cylinder 8th byte -> low bits of the cylinder So...after doing translation to CHS notation we have 481 cylinders which is 0111...
by RomanG
Thu Sep 12, 2013 10:32 pm
Forum: Beginners
Topic: SD image too big for another SD Card
Replies: 48
Views: 145482

Re: SD image too big for another SD Card

Well, let's have a look together.
Can you post what you have?
Your MBR?

Thanks,
Roman
by RomanG
Sat Sep 07, 2013 1:36 am
Forum: General discussion
Topic: raspberry pi win32diskimager not enough space
Replies: 14
Views: 5892

Re: raspberry pi win32diskimager not ebough space

Oh right. I was looking for an automatic way to backup. I think I will have to look for another solution. Thanks for your help though :) If you are trying to back up running system, you may run in to the same problem with other application/utility. Do you need to back up whole image/SD card or are ...
by RomanG
Fri Sep 06, 2013 4:03 pm
Forum: General discussion
Topic: raspberry pi win32diskimager not enough space
Replies: 14
Views: 5892

Re: raspberry pi win32diskimager not ebough space

.... Booted up resized rasbiam and ran dd against mmcblk0 to create an image If I understand correctly, you run dd to create a backup image on the running system? It is not recommended to run dd backup on running system. Mount the card on another system and run dd image backup like that. Then flash...
by RomanG
Fri Sep 06, 2013 2:07 pm
Forum: General discussion
Topic: raspberry pi win32diskimager not enough space
Replies: 14
Views: 5892

Re: raspberry pi win32diskimager not ebough space

Shrinking the ext4 partition gives me a kernel panic error when it boots What I meant was that once you shrink the image (with the method described in my post) and your restored card boots up correctly, without any issues, then you can shrink your partition by mounting the card on another system (y...
by RomanG
Fri Sep 06, 2013 12:15 pm
Forum: General discussion
Topic: raspberry pi win32diskimager not enough space
Replies: 14
Views: 5892

Re: raspberry pi win32diskimager not ebough space

I'll be honest, while that looks a great guide, it's a little over my head. Hey vibez, It may look complicated at the first glance, but it really isn't. I have not done it myself before, but I read about it a long time ago (10-12 years ago when DOS was still common and Windows just started). When i...
by RomanG
Thu Sep 05, 2013 5:29 pm
Forum: General discussion
Topic: raspberry pi win32diskimager not enough space
Replies: 14
Views: 5892

Re: raspberry pi win32diskimager not ebough space

I had exactly same problem, please see this post for a solution:
http://www.raspberrypi.org/phpBB3/viewt ... 12#p277212

If you have any questions, just ask.

Roman
by RomanG
Mon Jul 01, 2013 5:02 am
Forum: Beginners
Topic: SD image too big for another SD Card
Replies: 48
Views: 145482

Re: SD image too big for another SD Card

RomanG, I am interested! I guess I am surprised there is not a way to repair the MBR from Linux? Maybe just not in this case? Windows OS has had such a tool for ages? Schorschi, I am not sure if this can be classified as a repair, it is more a modification rather than repair. OK, here is more detai...
by RomanG
Sat May 11, 2013 11:37 pm
Forum: Graphics, sound and multimedia
Topic: Video capture software - Ubuntu Arm to Rpi?
Replies: 41
Views: 11661

Re: Video capture software - Ubuntu Arm to Rpi?

OK, I commented out any functions related to terminal and also any calls to these functions. When I run GPU-Encode as sudo, I get following: [email protected] /usr/src/PointGrey_RPi $ sudo ./GPU-Encode No File name supplied will use deafult = file*.mp4 string is shutter shutter is 10.000000 Using camera with G...
by RomanG
Sat May 11, 2013 11:26 pm
Forum: Graphics, sound and multimedia
Topic: Video capture software - Ubuntu Arm to Rpi?
Replies: 41
Views: 11661

Re: Video capture software - Ubuntu Arm to Rpi?

Thanks trbotha,

I will try as you suggested.

Roman
by RomanG
Mon Apr 08, 2013 4:16 am
Forum: Graphics, sound and multimedia
Topic: Video capture software - Ubuntu Arm to Rpi?
Replies: 41
Views: 11661

Re: Video capture software - Ubuntu Arm to Rpi?

I compiled and installed camwire and then I was able to compile your GPU-Encode. When I run it as a regular user, I get Segmentation fault error: [email protected] /usr/src/PointGrey_RPi $ ./GPU-Encode No File name supplied will use deafult = file*.mp4 string is shutter shutter is 10.000000 libdc1394 warning: ...
by RomanG
Sun Apr 07, 2013 5:00 pm
Forum: Graphics, sound and multimedia
Topic: Video capture software - Ubuntu Arm to Rpi?
Replies: 41
Views: 11661

Re: Video capture software - Ubuntu Arm to Rpi?

Hi trbotha, I have Point Grey Research FireFly MV FMVU-03MTM mono camera and I would like to get it going on pi. Was very happy to find this thread (the only one dealing with PointGrey cameras on rpi). Trying to compile your code on my rpi (Raspbian 3.6.11+ #371 PREEMPT) I run in to some missing lib...
by RomanG
Sun Mar 10, 2013 2:40 pm
Forum: Automation, sensing and robotics
Topic: Home alarm system help
Replies: 3
Views: 1408

Re: Home alarm system help

Have you considered motion? It would do pretty much what you described, without the need of a motion sensor. It uses image analysis to detect motion in front of the camera. It is highly configurable and can use multiple cameras (although, I am not sure if raspberry would be able to handle multiple c...
by RomanG
Sun Mar 10, 2013 1:36 pm
Forum: Automation, sensing and robotics
Topic: Worldwide Webcam Server
Replies: 7
Views: 4450

Re: Worldwide Webcam Server

Did you forward port on which the server broadcasts the video stream? Default port is 8081, this needs to be forwarded on your router to your raspberry pi IP address. Then to access is from the outside of your network, you enter your WAN IP address and the port in your browser, let's say your WAN IP...
by RomanG
Sun Mar 10, 2013 5:19 am
Forum: Automation, sensing and robotics
Topic: Webcam and motion
Replies: 3
Views: 4397

Re: Webcam and motion

Matt, Motion is sometimes difficult to get going. Did you try to just see if your camera can grab the image or stream the video without motion, with some other program? Your camera is UVC compatible so you can try mjpg_streamer, very easy to set up, and it is very light on resources too. http://sour...
by RomanG
Sun Mar 10, 2013 1:08 am
Forum: Automation, sensing and robotics
Topic: Suggestions for Liquid Level Sensor
Replies: 6
Views: 8384

Re: Suggestions for Liquid Level Sensor

I need to monitor the level of several tanks containing heating oil/diesel.... How tall/deep is your tank and what is your budget? Would you need continuous reading or several switch point across the tank depth would be sufficient? There are many commercial products available or you can salvage car...
by RomanG
Fri Feb 08, 2013 12:45 pm
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 100503

Re: Driving multiple servos from the RaspberryPi

johnnyz77 wrote: Thanks for the clarification Roman!
Regarding the wiring of ground, I have The Pis ground (GPIO 6) going into a breadboard line, and I have all servo ground (black) and battery negative, going in to the same breadboard row. Is this the way to do it?
Perfect, that should work fine.

Roman
by RomanG
Wed Feb 06, 2013 1:21 am
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 100503

Re: Driving multiple servos from the RaspberryPi

[quote] Roman, please ignore my comments about battery and ground etc. I am a total newbie to electronics and am making lots of mistakes as I learn. I thought battery negative line was = ground. But of course this is not the case!! [/quote] Hi johnnyz77, No worries, everyone was green at some point ...

Go to advanced search