Go to advanced search

by kru64
Wed May 22, 2013 3:04 pm
Forum: Русский
Topic: Есть энтузиасты RPi в Киеве?
Replies: 13
Views: 3069

Re: Есть энтузиасты RPi в Киеве?

Судя по тому, что на ноутбуке стоит виста - ноутбук относительно старый. Я тоже, как и ты, бился бился записать карточку на ноутбуке или на внешнем картридере. Потом дошло, что эти девайсы у меня далеко не первой свежести. Пошел в магазин, купил первый попавшийся новый картридер. Теперь все прекрасн...
by kru64
Wed Mar 27, 2013 9:12 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10215

Re: Gambas & WiringPi

Hi Tony. It's again me. We forgot about old magic command "Shell". I recalled that you can make set any pin in terminal window. So write in Gambas for example Shell "gpio mode 6 out" Shell "gpio write 6 1" The same command "shell" you may use to access to I2c device. First you must enable i2c bus.Th...
by kru64
Mon Mar 25, 2013 7:37 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10215

Re: Gambas & WiringPi

Hi Tony.
I just repeated the same steps (wrote image on SD card etc...) All works fine. The levels switch from 0v to 3.3v. I bought my Pi in october 2012, it's not latest revision.
Sorry, but I have no more ideas :(

Regards
Serge
by kru64
Sun Mar 24, 2013 7:37 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10215

Re: Gambas & WiringPi

Hi Tony. On Gordon page https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/ written " Unfortunately Gambas3′s external function definition won’t work with a .a library. It needs a shared object .so library instead..." and so I use libwiringPi.so and all works fine. I suggest to y...
by kru64
Sat Mar 23, 2013 10:13 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10215

Re: Gambas & WiringPi

Hi Tony
Here files that You need
http://www.filedropper.com/gpiotest
Place libwiringPi.so into /usr/local/lib
Untar gpiotest-0.0.1.tar in any place and go on.
I think you'll be satisfy :P
Best regards
Serge
by kru64
Tue Mar 19, 2013 7:10 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10215

Re: Gambas & WiringPi

I forgot to recall, that program must be run as root, so don't run programm in Gambas, but compile and run in command line "sudo ./name_of_programm.gambas"
by kru64
Tue Mar 19, 2013 7:04 pm
Forum: Other programming languages
Topic: Gambas & WiringPi
Replies: 21
Views: 10215

Re: Gambas & WiringPi

Hi Tony! I'm hardware engineer too. And as you in my work I use VB6. And of course I use Raspberry Pi as another convinient device. In particular I use RaspberryPi to read or to write any register on smth chip by I2C. It can be done by any language. But I preffer namely Gambas, because it's practica...
by kru64
Fri Dec 07, 2012 3:42 pm
Forum: General discussion
Topic: RTOS?
Replies: 22
Views: 10557

Re: RTOS?

DexOS Today I checked benchmarking. I wrote few times the following sequence digitalWrite GPIO8, LOW digitalWrite GPIO8, HIGH... I measured square wave and found only 500 Khz. This speed is very low for RTOS! Compare with the results in usuall C: http://codeandlife.com/2012/07/03/benchmarking-raspb...
by kru64
Mon Nov 19, 2012 4:51 pm
Forum: Graphics, sound and multimedia
Topic: FullHD webcamera stream
Replies: 0
Views: 1184

FullHD webcamera stream

All we are waiting CSI camera module... But now I still trying to make 1920x1080 stream with 30 fps with my Logitec c920 webcamera. This camera already makes h.264, so no GPU is needed. When I use this camera with mjpg-stream, fps ~ 5 at 1920x1080 resolution. Fps is low namely due mjpg. There is exi...
by kru64
Sat Nov 17, 2012 4:35 pm
Forum: General discussion
Topic: Logitech c920 mount issue
Replies: 1
Views: 622

Re: Logitech c920 mount issue

check raspberry pi to see webcamera by command
lsusb
by kru64
Mon Nov 12, 2012 6:22 pm
Forum: Automation, sensing and robotics
Topic: usb temperature logger
Replies: 11
Views: 15117

Re: usb temperature logger

dbodnar, you install 4.7 kom resistor on every sensor. But only one is needed. And also exists another solution, where only one wire is used.
See
http://chipenable.ru/index.php/programm ... ast-1.html
use Google translator or just see at schematics
by kru64
Wed Nov 07, 2012 5:10 pm
Forum: Graphics, sound and multimedia
Topic: Webcam stream
Replies: 38
Views: 60088

Re: Webcam stream

Piminiuser. I see in your photo (10 october) that all two usb connectors are used. Let's try no connect anything to usb, except webcamera. And run programm, of course, by putty.
by kru64
Mon Nov 05, 2012 4:47 pm
Forum: Graphics, sound and multimedia
Topic: Webcam stream
Replies: 38
Views: 60088

Re: Webcam stream

Check your webcamera to capture static image.
sudo aptitude install fswebcam
after install
fswebcam -d /dev/video0 -r 640x480 test.jpeg
and see at test.img
by kru64
Mon Nov 05, 2012 2:43 pm
Forum: Graphics, sound and multimedia
Topic: Webcam stream
Replies: 38
Views: 60088

Re: Webcam stream

Try
sudo aptitude install libv4l-0
by kru64
Tue Oct 02, 2012 5:02 pm
Forum: General discussion
Topic: RTOS?
Replies: 22
Views: 10557

Re: RTOS?

DexOS
Of course, you are right. I forgot about the resistors.
Again, thank you.
by kru64
Mon Oct 01, 2012 7:36 pm
Forum: General discussion
Topic: RTOS?
Replies: 22
Views: 10557

Re: RTOS?

DexOS
Now read GPIO works! But only with GPIO 0. When I try to change pin, for example
pinMode GPIO17, INPUT
...
digitalRead GPIO17
LED OK always shine
by kru64
Mon Oct 01, 2012 5:15 pm
Forum: General discussion
Topic: RTOS?
Replies: 22
Views: 10557

Re: RTOS?

DexOS
in your example you use "digitalRead GPIO18"
but now works only digitalWrite, flat assembler don't understand digitalRead
(I use DexBasic.inc from your site, it's dated 31.07.12)
by kru64
Sun Sep 30, 2012 7:10 pm
Forum: General discussion
Topic: USB cam for high res stills?
Replies: 5
Views: 4475

Re: USB cam for high res stills?

I suggest to use 2 cam. The first - low cost web camera with poor quality for preview and second - any high resolution photo. Install them in such way to see into the same direction (for example, tie). Press the button on photocamera with the help of relay through GPIO. By the way, it possible to us...
by kru64
Sun Sep 30, 2012 5:59 pm
Forum: Bare metal, Assembly language
Topic: ARM assembler tutorial for Raspberry Pi
Replies: 25
Views: 18996

Re: ARM assembler tutorial for Raspberry Pi

Leonidas.
Thank you for tutorial, please continue...
by kru64
Fri Sep 28, 2012 7:00 pm
Forum: Other programming languages
Topic: GAMBAS(basic)
Replies: 125
Views: 47794

Re: GAMBAS(basic)

Hi g4eml.
Your method works well.
First I installed Synaptic. Then with the help of Synaptic I installed Gambas3. Then I copied Your files and voila! Gambas run!
by kru64
Sat Sep 22, 2012 8:52 pm
Forum: Other programming languages
Topic: GAMBAS(basic)
Replies: 125
Views: 47794

Re: GAMBAS(basic)

Hi g4eml
Please upload your file again.
The link http://www.filedropper.com/gambas3-2-1files_1 now is empty
Thank You
by kru64
Wed Sep 19, 2012 1:00 pm
Forum: Bare metal, Assembly language
Topic: Raspberry Pi OS
Replies: 82
Views: 16577

Re: Raspberry Pi OS

Hi DexOS.
Like Phil95 I also see only polychrom mire when I use your start.elf. With another start.elf everything works well. So, check again.
Good luck.
by kru64
Tue Aug 28, 2012 9:01 am
Forum: General discussion
Topic: HDMI input options?
Replies: 7
Views: 7732

Re: HDMI input options?

There are exist few hdmi grabbers. But the cost rather big :cry: See http://www.epiphan.com

Go to advanced search