Go to advanced search

by Gavinmc42
Mon Jun 25, 2018 9:01 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 27
Views: 1142

Re: Star Citizen on the Raspberry Pi?!

I found this in Pascal, so more more my type of code. https://github.com/genericptr/Pas2JS-WebGL http://wiki.freepascal.org/pas2js Does WebGL so gaming in Browsers? Very simple examples which is about my level to understand ;) Simple enough to port to C++ if you want to do a C++ version. Will be int...
by Gavinmc42
Mon Jun 25, 2018 8:35 am
Forum: Gentoo
Topic: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPI3B+)
Replies: 45
Views: 7548

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPI3B+)

is anyone compiling on a higher powered machine and then sending their binaries to the Pi? Just curious how people are compiling if this is how anyone is doing it. (or are you all compiling everything within the pi?) There is some info on the Gentoo Arm forums. To me is seems like the hard stuff is...
by Gavinmc42
Mon Jun 25, 2018 3:01 am
Forum: General discussion
Topic: Programming a 2D game. Software suggestions anyone?
Replies: 15
Views: 22978

Re: Programming a 2D game. Software suggestions anyone?

Wow, lets dig up old threads ;) I started with Python and Pygame, ok for simple stuff if a bit dated. But I have been using Free Pascal in Ultibo for baremetal programing for the last two years. The Lazarus/FPC system allows for very fast development. Finally got around to 2D in the last year- OpenV...
by Gavinmc42
Mon Jun 25, 2018 2:03 am
Forum: OpenGLES
Topic: Star Citizen on the Raspberry Pi?!
Replies: 27
Views: 1142

Re: Star Citizen on the Raspberry Pi?!

Collision detection is a big step toward an engine :D Even serious games can stuff that up. Big engines like Unity are supporting Vulkan and Vulkan supports Windows, Linux, Android etc. Because Android is OpenGLES one day Vulkan on Pi's and other SBC's. OpenGL on Pi's is based on OpenGLES anyway. So...
by Gavinmc42
Mon Jun 25, 2018 1:30 am
Forum: Graphics programming
Topic: Vulkan, OpenGL or OpenGLES
Replies: 2
Views: 81

Re: Vulkan, OpenGL or OpenGLES

OpenGL on the other hand is about defining 3D graphics. So it is much easier to start with that. Your probably right, the apps I want to do are not games(yet). I just want to make use of the VC4 GPU to pretty up UI's on my gadgets. As some of them are web servers and I also use Pi's as web interfac...
by Gavinmc42
Mon Jun 25, 2018 1:24 am
Forum: General discussion
Topic: Connecting/reading a flow meter from RPi
Replies: 26
Views: 550

Re: Connecting/reading a flow meter from RPi

I use PiCore Linux, it boots from SDcard and runs in ram.
SD card corruption from power out has not been an issue for years.

Leak detector triggers camera and emails message?
by Gavinmc42
Sun Jun 24, 2018 8:25 am
Forum: Graphics programming
Topic: Vulkan, OpenGL or OpenGLES
Replies: 2
Views: 81

Vulkan, OpenGL or OpenGLES

I want to do 3D graphics for gadgets, single purpose applications that run on embedded Pi's. What do I spend my time on learning now, Vulkan, OpenGL, OpenGLES? Been looking for simple OpenGLES tools, most seem to be for Android. There is better support for OpenGL, but I only have that compiling on G...
by Gavinmc42
Sun Jun 24, 2018 5:20 am
Forum: Beginners
Topic: How to expand to 120 GPIO?
Replies: 9
Views: 184

Re: How to expand to 120 GPIO?

Yes I posted that above, but as you missed reading that response here is the GPIO Expander link: Yep missed it completely. How big is the image that get loaded onto the Zero? I have been using Ultibo on USB Zero's for Graphics coding. But it is getting to be useful for other stuff. https://ultibo.o...
by Gavinmc42
Sun Jun 24, 2018 4:16 am
Forum: Beginners
Topic: How to expand to 120 GPIO?
Replies: 9
Views: 184

Re: How to expand to 120 GPIO?

RPT also make this wonderful IO expander that plugs into the USB port of the Pi3.
It is also quite cheap, only $5 ;)
Not only does it have GPIO, it has 2 x i2c and 2 x SPI and lots of other stuff.
All on a ready to go PCB.

It is called the Zero :D
by Gavinmc42
Sun Jun 24, 2018 4:09 am
Forum: Beginners
Topic: is it correct the raspberry pi 0 has no spi headers?
Replies: 9
Views: 207

Re: is it correct the raspberry pi 0 has no spi headers?

Any of the Pi's work with flashrom.
I have soldered wires to the header holes, with a socket on the end of the 2" long wires.
You have two SPI ports and 5 CE's on the header.
by Gavinmc42
Sun Jun 24, 2018 1:37 am
Forum: General discussion
Topic: Connecting/reading a flow meter from RPi
Replies: 26
Views: 550

Re: Connecting/reading a flow meter from RPi

I used to test flow sensors by blowing air through them. And that minimum flow is due to friction/leakage. Get it working before hooking it up to the Pi. Use 5V and a led/resistor to 5 V, puff some air through it and see if the led goes on/off. It has a hall effect sensor so learn how those work. 8 ...
by Gavinmc42
Sat Jun 23, 2018 12:01 pm
Forum: Troubleshooting
Topic: Do not buy this case, it has broken 2 brand new Pi 3 B+ devices
Replies: 6
Views: 247

Re: Do not buy this case, it has broken 2 brand new Pi 3 B+ devices

Another metal case had to use a thinner heat transfer rubber between the metal and case.
Suitable for B +, PI2, PI3 motherboard installation,
Got to read the small print, no 3B+.
Probably need a 1mm or more taken off.

Closing the lid bent the PCB, popping some BGA balls and tracks off?
by Gavinmc42
Sat Jun 23, 2018 10:33 am
Forum: Beginners
Topic: Raspberry pi 3 b and the industry
Replies: 18
Views: 437

Re: Raspberry pi 3 b and the industry

50% sold for Industrial type market apps:o
I guess industry has decided and the OP's question is answered.
by Gavinmc42
Sat Jun 23, 2018 8:19 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 24
Views: 814

Re: Multiple Frame buffer beta testers wanted

Bit of a toy application but could it do two frame buffers for SPI LCDs? These have reasonable pixel/inch, so tiny VR headset? https://www.adafruit.com/product/3787 They also have low pixel count so frame rate should not be too bad. I seem to remember stereo display coding was possible? Or eye anima...
by Gavinmc42
Sat Jun 23, 2018 7:34 am
Forum: General discussion
Topic: Connecting/reading a flow meter from RPi
Replies: 26
Views: 550

Re: Connecting/reading a flow meter from RPi

You might find it works at 3.3V too. The hall effect might be open collector which means you need a pull up to 3V3. The problem I have with Amazon/eBay etc is there is never a decent data sheet. Hooking a resistor/led to the output is good way to test., you can even leave them on as your pullup. The...
by Gavinmc42
Sat Jun 23, 2018 4:37 am
Forum: OpenGLES
Topic: Example using vc4-fkms-v3d? OpenGLES with X11?
Replies: 1
Views: 66

Re: Example using vc4-fkms-v3d? OpenGLES with X11?

I got the mesa3d demos running on Gentoo64 this week, Very easy too, It was just a matter of grabbing the source and configure/make. Getting OpenGLES demos running is causing me issues as there is no Gentoo32 img yet. Raspbian does not have all the dependencies installed ;) glxgears seems to be the ...
by Gavinmc42
Sat Jun 23, 2018 4:24 am
Forum: Beginners
Topic: Raspberry pi 3 b and the industry
Replies: 18
Views: 437

Re: Raspberry pi 3 b and the industry

I have been using Pi's in an University support role since they came out. My oldest install is a Model A, only the SD card fails every few years, corrupted files when running Raspbian. Newer ones run piCore Linux on Model B+'s no corruption issues yet after 3+ years 24/7. My latest is B+ and Zero's ...
by Gavinmc42
Sat Jun 23, 2018 2:49 am
Forum: Graphics programming
Topic: 3d graphics libraries that run on the Pi 2 that aren't slow?
Replies: 17
Views: 442

Re: 3d graphics libraries that run on the Pi 2 that aren't slow?

This one seems to be up to date, ie still actively developed. http://www.geeks3d.com/geexlab/ Been trying to get the mesa3d demos compiling in Raspbian I keep bumping into dependency issues. Got spoilt in Gentoo64 as Sakaki must have them already installed ;) OpenGL is also a moving target as Eric A...
by Gavinmc42
Fri Jun 22, 2018 10:21 am
Forum: Camera board
Topic: Ultraviolet light with NOIR camera
Replies: 17
Views: 6793

Re: Ultraviolet light with NOIR camera

People have dissolved the bayer pattern and microlens from a Pi camera.
With a filter to block visible light they got down to 300nm.
They had to use a better lens.

http://www.volcano-blog.com/blog/low-co ... spberry-pi
by Gavinmc42
Fri Jun 22, 2018 12:26 am
Forum: General discussion
Topic: Pi Is Too Complicated
Replies: 66
Views: 1893

Re: Pi Is Too Complicated

And some young whippersnapper might agree with the OP and think "this Unix is too big and complex I will make a simple version and call it Linux". Haiku, Redox, Magenta, Fushcia, Indigo, Teal, Mauve? What colour is your new OS? Education text books take time to make/print/distribute and can quickly ...
by Gavinmc42
Thu Jun 21, 2018 12:42 pm
Forum: Graphics programming
Topic: 3d graphics libraries that run on the Pi 2 that aren't slow?
Replies: 17
Views: 442

Re: 3d graphics libraries that run on the Pi 2 that aren't slow?

Compiling the mesa3D demos on a Intel Core Duo 2.83GHz Linux Mint box was harder than Gentoo64 :o Library dependencies yuk ;) Got a nVidia 210 video board, nouveau driver, so not a fast PC at all. The ipers example runs at 29fps, so just over two times as a Pi 3B+ ;) Considering the 3B+ is 1.4GHz an...
by Gavinmc42
Thu Jun 21, 2018 5:09 am
Forum: Graphics programming
Topic: 3d graphics libraries that run on the Pi 2 that aren't slow?
Replies: 17
Views: 442

Re: 3d graphics libraries that run on the Pi 2 that aren't slow?

"Real" OpenGL support for the Pi is new and not that well tested anyway. https://www.mesa3d.org/ Time for us to start testing. I got the latest version and it works when compiled in Gentoo64. ipers demo <14fps for 26584 polygons. How fast is it on a normal 32bit OS? Do different gcc versions and co...
by Gavinmc42
Thu Jun 21, 2018 4:13 am
Forum: General discussion
Topic: Pi Is Too Complicated
Replies: 66
Views: 1893

Re: Pi Is Too Complicated

And don't forget this forum has more info than any YouTuber ever will.
If you cannot find help here it probably does not exist or is new bug ;)
by Gavinmc42
Thu Jun 21, 2018 2:40 am
Forum: General discussion
Topic: Pi Is Too Complicated
Replies: 66
Views: 1893

Re: Pi Is Too Complicated

If you use Raspbian on Pi's you end up having to learn how Linux works too. A side effect of coding on Raspbian was having to learn Linux by osmosis :lol: If you end up fighting Linux, then things can get messy. Raspbian got too big so I moved to the TinyCore version called PiCore. More Linux learni...
by Gavinmc42
Wed Jun 20, 2018 10:56 am
Forum: Automation, sensing and robotics
Topic: Secret Mission Motion Sensor
Replies: 11
Views: 303

Re: Secret Mission Motion Sensor

This spy camera can be mounted away from the Pi. https://www.adafruit.com/product/1937 I have even seen camera/microphones hidden in power points Stairs got carpet? Vibration/pressure sensor + tiny RF transmitter. MAX1472 is a SOT23-8 package, very small. A Piezo buzzer element makes a good shock/vi...

Go to advanced search