Go to advanced search

by zontar
Thu Aug 24, 2017 3:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: max SPI speed on PiZero
Replies: 3
Views: 5346

max SPI speed on PiZero

Hello, I currently have a SPI display attached via a custom-made board to my PiZero GPIO Header. Everything works as expected. I am able to play a video or image sequences on my display at 5FPS. Now I'd like to achieve 10 or 12 fps. I seem to have found that the maixmum SPI speed I have is around 5M...
by zontar
Mon May 29, 2017 2:32 pm
Forum: Graphics, sound and multimedia
Topic: Where to print and assemble PCB with SMD?
Replies: 5
Views: 1196

Re: Where to print and assemble PCB with SMD?

Thanks. Wrote to them, now waiting for an answer.

Anyone tried PCBTrain?

Thanks
+Z
by zontar
Mon May 29, 2017 9:20 am
Forum: Graphics, sound and multimedia
Topic: Where to print and assemble PCB with SMD?
Replies: 5
Views: 1196

Where to print and assemble PCB with SMD?

Hello, I've developed an early prototype of a board that works for a small multimedia project. Now I'd like to print a real board with some SMD components and connectors to test it on the go. Has anybody got any idea of a one-stop-shop in Europe that prints boards and assemble also SMD components? T...
by zontar
Wed May 10, 2017 12:08 pm
Forum: Networking and servers
Topic: Problems connecting two Raspberry via USB
Replies: 5
Views: 1637

Re: Problems connecting two Raspberry via USB

In the end it was a timing problem. so we wrote this script #!/bin/sh while true; do IP_ETH0=`ifconfig eth0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'` IP_USB0=`ifconfig usb0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'` if [ "$IP_ETH0" = "" ]; then su...
by zontar
Wed May 10, 2017 11:56 am
Forum: Networking and servers
Topic: Problems connecting two Raspberry via USB
Replies: 5
Views: 1637

Re: Problems connecting two Raspberry via USB

Ok, this last post was wrong: my fault. If I do

Code: Select all

sudo ifup eth0
the interface is brought up correctly. The problem remains as to why sometimes it is down.. we will put a watchodg to bring up the relevant interface if it is down.
by zontar
Wed May 10, 2017 11:46 am
Forum: Networking and servers
Topic: Problems connecting two Raspberry via USB
Replies: 5
Views: 1637

Re: Problems connecting two Raspberry via USB

By logging via a USB keyboard+HDMI on the master raspberry I noticed that, when I plug in the USB cable to te PiZero, the raspberry brings down the interface eth0. If I start it again sudo ifconfig eth0 up it goes up but without an IPv4. It has only an IPv6. Now, since sometimes it works, I know tha...
by zontar
Wed May 10, 2017 11:30 am
Forum: Networking and servers
Topic: Problems connecting two Raspberry via USB
Replies: 5
Views: 1637

Re: Problems connecting two Raspberry via USB

Yes.
As I wrote, sometimes it works. And sometimes it doesn't. Without touching any configuration file, just by chnaging physical connections or timing of startup.

Z
by zontar
Wed May 10, 2017 11:09 am
Forum: Networking and servers
Topic: Problems connecting two Raspberry via USB
Replies: 5
Views: 1637

Problems connecting two Raspberry via USB

Hi, we aim to achieve this setup: one raspberryPi3B acting as a "master" and a raspberryZero acting as a "slave", connected via USB cable. Moreover we need to work on these two machines, via SSH, so the master has an ethernet attached to my MacBookPro. First of all, let me say th...
by zontar
Sat May 06, 2017 6:25 pm
Forum: Other projects
Topic: Use RasperryPi Zero on a commercial project?
Replies: 2
Views: 753

Use RasperryPi Zero on a commercial project?

Hi everybody, I'm at the prototype stage of a project with a pizero, a camera and a small 3 bit display. At the moment everything kinda work, albeit with scotch tape, lot of cardboard, duct tape and some components dangling.. But before designing a custom PCB and case, I was wondering.. is it allowe...
by zontar
Sat May 06, 2017 7:36 am
Forum: Advanced users
Topic: connecting from Android to Raspberry Pi Zero via USB
Replies: 10
Views: 9266

Re: connecting from Android to Raspberry Pi Zero via USB

Yes the installations were the same (apart from the fact I suspect Jesse on Zero is the "lite" version).

We have indeed bought usb adapter explicitly marked as OTG.. gonna try as soon as they arrive.
Thanks
Z
by zontar
Fri May 05, 2017 12:14 pm
Forum: Advanced users
Topic: connecting from Android to Raspberry Pi Zero via USB
Replies: 10
Views: 9266

Re: connecting from Android to Raspberry Pi Zero via USB

Oh, and how is this accomplished? Since I also need to be able to SSH into it from an Android (or at least communcate via TCP/IP). I'm totally confused. This page https://gist.github.com/gbaman/975e2db164b3ca2b51ae11e45e8fd40a was suggested as the steps needed to put the Pi in slave mode. But these ...
by zontar
Fri May 05, 2017 11:12 am
Forum: Advanced users
Topic: connecting from Android to Raspberry Pi Zero via USB
Replies: 10
Views: 9266

Re: connecting from Android to Raspberry Pi Zero via USB

Hi, thanks regarding "slave mode", yes it's done. It was done to access raspberryPi zero via USB and SSH from a MAC/PC and it works always. Cables are standard USB cable that do also data (we do transfers of files sometimes on Android) As per the ON The GO< I've read the wikipedia page but...
by zontar
Fri May 05, 2017 10:02 am
Forum: Advanced users
Topic: connecting from Android to Raspberry Pi Zero via USB
Replies: 10
Views: 9266

Re: connecting from Android to Raspberry Pi Zero via USB

Hi we've read this blog before.. and it's a bit outdated with the new releses of the distro, i believe. Nonetheless we have followed the blog more or less, and it didn't change.. but I'm not sure what is a "gadget mode" or where it is detailed. Could you summarize it for me? Moreover we ha...
by zontar
Thu May 04, 2017 4:16 pm
Forum: General discussion
Topic: Need large touch screen monitor for pi3B
Replies: 6
Views: 18371

Re: Need large touch screen monitor for pi3B

Hi, we are looking for something similar but haven't seen one close yet.

How did you connect the monitor to the raspberry Pi? Physycally, I mean?

And how does the touch get treated? Is it like a pointing device (aka mouse/trackball/touchpad)?

Thanks
Z
by zontar
Thu May 04, 2017 2:27 pm
Forum: Advanced users
Topic: connecting from Android to Raspberry Pi Zero via USB
Replies: 10
Views: 9266

connecting from Android to Raspberry Pi Zero via USB

Hello, anyone succeeded in connecting from an Android device, via SSH or similar, to a PiZero via the USB cable? Please don't redirect us to posts that use a generic Raspberry. We succeeded immediately following those guidelines, and we can log in our raspberryPi3+ from any number of Android devices...
by zontar
Mon Apr 10, 2017 4:58 pm
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

If you read all the posts in this thread you will get an idea of what I've aimed to do. It' simply a way to read images from the piCamera using the available libraries and sw, so without writing anything from scratch, inside another "C" program. I've rewritten RapsiStillYUV and RaspiVidYUV...
by zontar
Mon Apr 10, 2017 7:16 am
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

Hi, just read the code in videoci_control.c and see the function definitions in videoci.h It's really just a handful of calls. And moreover I find video tutorial on code extremely boring, slow and not to the point, so I'm afraid I won't be doing youtube video on coding from me anytime soon. I think ...
by zontar
Sun Apr 09, 2017 4:37 pm
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

I've added a "videoci" small library to my github repo. it demonstrates capturing RGB (or YUV) frames very quickly using C. it's very crude at the moment. You can see a sample use in the file videoci_control.c There's even a simple and stupid callback to be called for every frame. https://...
by zontar
Wed Apr 05, 2017 11:03 am
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

And here it is the working (slowly) code: https://github.com/zontarian/cameraci the name is an horrible pun on the language used. I know. There is a test program "cameraci_control.c" that exemplify a typical use case. Unfortunately at the moment, the loop cannot go faster on my RaspberryPi...
by zontar
Wed Apr 05, 2017 10:16 am
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

Yes of course I will post it on my github. It was just temporary. Thanks @jamesh for reminding me. Since you are a (the) Raspi swing, If I get it working in a decent way, can I make a branch on the userland github repo and maybe ask for a merge review? BTW.. at the moment I cannot go faster than 1.2...
by zontar
Tue Apr 04, 2017 5:18 pm
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

Ehm, kinda solved. I did a very HUGE mistake declaring PORT_USERDATA callback_data; on the stack inside function raspistill_capture . Of course everything was deallocated after the function exited, and this was a bad thing . Once declared otuside, as a static variable, everything should work fine. N...
by zontar
Tue Apr 04, 2017 3:46 pm
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

In the end I quite managed to get something working. I started from RaspiStillYUV.c since it's more focused on still images, and has an RGB option. And is much easier to understand. So my goal was to have the RGB data in a memory buffer, not on file. At the moment my interface is like this.. RASPIST...
by zontar
Sat Apr 01, 2017 2:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI in Python + spidev works randomly
Replies: 6
Views: 2621

Re: SPI in Python + spidev works randomly

No, are enabled High as per specs. It works that way.
by zontar
Fri Mar 31, 2017 3:17 pm
Forum: C/C++
Topic: read RGB data from camera in "C"
Replies: 17
Views: 3537

Re: read RGB data from camera in "C"

Ok, I was fearing I will end up doing right that :)
Will do it. I will post the link to simplified source code when done.

Many thanks!
z

Go to advanced search