Go to advanced search

by PiGraham
Wed Feb 19, 2020 6:07 pm
Forum: C/C++
Topic: Can I write and compile C/C++ code on a PC to run on Pi
Replies: 10
Views: 235

Re: Can I write and compile C/C++ code on a PC to run on Pi

But if anyone has a solution, rapid development and low power style like Mbed, I would be very interested What is "Low power" to you? RPi doesn't have micropower sleep modes and can't wake itself up do some work and go back to deep sleep. You can get auxiliary boards that will do that and control p...
by PiGraham
Wed Feb 19, 2020 3:43 pm
Forum: C/C++
Topic: Can I write and compile C/C++ code on a PC to run on Pi
Replies: 10
Views: 235

Re: Can I write and compile C/C++ code on a PC to run on Pi

Thai may also be of interest, although I don't see Wi-Fi , BT support mentioned.
https://github.com/boochow/micropython-raspberrypi
by PiGraham
Wed Feb 19, 2020 2:55 pm
Forum: C/C++
Topic: Can I write and compile C/C++ code on a PC to run on Pi
Replies: 10
Views: 235

Re: Can I write and compile C/C++ code on a PC to run on Pi

Ultibo suggested above is Pascal so not sure how useful that will be for you given you have asked on C/C++ forum. … Lots of code in the baremetal stickies and plenty of help on the baremetal forum ... Linux I use when I need driver support would take to long for me to write. So things like a kiosk ...
by PiGraham
Wed Feb 19, 2020 11:30 am
Forum: C/C++
Topic: Can I write and compile C/C++ code on a PC to run on Pi
Replies: 10
Views: 235

Re: Can I write and compile C/C++ code on a PC to run on Pi

You could take a look at Ultibo Ultibo core is a full featured environment for embedded or bare metal (without an operating system) development on Raspberry Pi (all models). It is not an operating system itself but provides many of the same services as an OS such as memory management, threading, net...
by PiGraham
Wed Feb 19, 2020 9:21 am
Forum: General discussion
Topic: Play video on a 3.5" LCD
Replies: 6
Views: 128

Re: Play video on a 3.5" LCD

3 years ago I used fbtft from notro and mplayer at 25fps on 2.4" tft LCD (320x240): https://m.youtube.com/watch?v=gaD7M2CtKwA Was that video pre-scaled to 320 x 240? I think that having everything at the native resolution of the TFT greatly improves the speed. Was that without using taskanorm's fbc...
by PiGraham
Wed Feb 19, 2020 9:15 am
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 18
Views: 424

Re: Scratch resources for adults?

Cool
by PiGraham
Tue Feb 18, 2020 9:18 pm
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 18
Views: 424

Re: Scratch resources for adults?

karrika wrote:
Tue Feb 18, 2020 8:21 pm
I don't know if Scratch can be used for visual novels. A guy from Brazil created a few extra elements for building Visual Novels to Sega EX. This was an add-on for Google Blockly.
This?
https://github.com/haroldo-ok/BlocklyVN32X
by PiGraham
Tue Feb 18, 2020 9:13 pm
Forum: General discussion
Topic: Play video on a 3.5" LCD
Replies: 6
Views: 128

Re: Play video on a 3.5" LCD

I think most of the small screens have an SPI based interface. 12 - 15 fps is likely in my experience. fbtft creates a framebuffer and copies it to the TFT display over SPI fbcp use the GPU to scale the main display to suit the TFT and copy the scaled image data to the fbtft frame buffer. I think bo...
by PiGraham
Tue Feb 18, 2020 2:21 pm
Forum: Scratch
Topic: Scratch resources for adults?
Replies: 18
Views: 424

Re: Scratch resources for adults?

I love words, and word games. I have created several with VB, and hope to create some using Scratch. This is just a way to occupy some of my time. There do seem to be some word games around. https://scratch.mit.edu/search/projects?q=word%20games It might be that there is more challenge in making Sc...
by PiGraham
Wed Feb 12, 2020 8:44 am
Forum: Troubleshooting
Topic: Powering a raspberry pi with 4 AAA batteries
Replies: 7
Views: 215

Re: Powering a raspberry pi with 4 AAA batteries

As above.
USB power bank
More cells in series and a buck converter
Cells in series-parallel >3V <5V and a boost converter
A buck-boost converter is also an option
by PiGraham
Tue Feb 11, 2020 10:35 am
Forum: Automation, sensing and robotics
Topic: Tennis ball collector
Replies: 23
Views: 999

Re: Tennis ball collector

Something I was thinking about on this is how does the ballbot find stray balls in the far corner of the court? Maybe a long focal length lens and a slow turn to scan the area? But I like the idea of a camera on a pole with a view of the whole court. Make the ballbot visible and distinctive and spot...
by PiGraham
Mon Feb 10, 2020 9:54 am
Forum: Automation, sensing and robotics
Topic: Tennis ball collector
Replies: 23
Views: 999

Re: Tennis ball collector

I've tried that exact code and I get awful results out of the box. It depends a lot on a ball color and I need robot to work in both indoor and outdoor fields with different light levels. Probably I will go with TFLite and Coral USB TPU on RPI4. This combo should give me 20+ FPS. You could do bette...
by PiGraham
Sun Feb 09, 2020 1:40 pm
Forum: Automation, sensing and robotics
Topic: Tennis ball collector
Replies: 23
Views: 999

Re: Tennis ball collector

Gavinmc42, than you for your comment. Wheels, motors,... will be upgraded for sure. So another quick update. I've abandoned detecting circles and switched to TensorFlow Lite. It took me some learning time but finally managed to create TFL model using Google Colab Detection works fine even with mode...
by PiGraham
Thu Feb 06, 2020 1:04 pm
Forum: General discussion
Topic: Removing LEDs for dark-use Pi
Replies: 17
Views: 684

Re: Removing LEDs for dark-use Pi

I am using a raspberry pi model 3B+ setup using Mathworks Raspbian image for a dark exposure experiment. The pi needs to be in the dark enclosure (NO light) so I need to disable ALL LEDs. The answer (as with most WD40 vs gaffer tape questions) is gaffer tape. Just wrap the wee beastie up. There's t...
by PiGraham
Thu Feb 06, 2020 12:59 pm
Forum: Beginners
Topic: Multiple GPIO inputs
Replies: 4
Views: 110

Re: Multiple GPIO inputs

It looks fairly simple.If you have reliable switch operation when the ball drops thorough the hole on a scoring zone you can use when_pressed for each switch to add some score increment to a global total. Setup the events then loop checking for the score variable to change and update the display whe...
by PiGraham
Thu Feb 06, 2020 10:02 am
Forum: General discussion
Topic: Human detection sensor in Raspberry pi
Replies: 2
Views: 116

Re: Human detection sensor in Raspberry pi

sanaaa wrote:
Thu Feb 06, 2020 9:04 am
Hi,
I'm doing my first Raspberry pi project in which I'm counting number of customers coming into the shop.
That's a bit ambitious for a first project. Why not try some simpler projects to get to know the Pi?
by PiGraham
Thu Feb 06, 2020 8:04 am
Forum: General discussion
Topic: Removing LEDs for dark-use Pi
Replies: 17
Views: 684

Re: Removing LEDs for dark-use Pi

Covering would be the easiest option. a blob of black paint should do it. A small bottle of car touchup paint could be a good option as it's suitably small quantity and comes with a small brush.
by PiGraham
Sun Feb 02, 2020 10:31 am
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1090

Re: Not sure where to start to make my prototype real

There are commercial options:
https://www.thetileapp.com/

https://www.amazon.co.uk/dp/B07HH7BTF2/ ... B00JEGXITG


I think battery life will be enough for now. It migt be an issue if you live with this long term, but use micro-power devices.
by PiGraham
Thu Jan 30, 2020 7:55 pm
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1090

Re: Not sure where to start to make my prototype real

No need to limit power, just test the RSSI. The reliability of RSSI to distinguish range between, say, 0.5m and 3m, might be dubious. The concept is to scan for items in-hand as it were. It probably helps if you can't read tags in another room. It might also help a little when the "roll-call app" c...
by PiGraham
Thu Jan 30, 2020 12:10 pm
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1090

Re: Not sure where to start to make my prototype real

This look like a better bet:

https://www.amazon.co.uk/iBeacon-Blueto ... B00JEGXITG

Claimed 12 month battery life broadcasting once per second on low power.

HOWEVER, the reviews are bad.
by PiGraham
Thu Jan 30, 2020 11:52 am
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1090

Re: Not sure where to start to make my prototype real

BLE 'finder' tags might be an option for items that don't need their own phone, like an umbrella. BTW, many phones can't act as BLE peripherals, and so might not be useful. If you can get a local weather report on the Pi, it might be useful to remind you to take that umbrella. This might be the bes...
by PiGraham
Wed Jan 29, 2020 9:15 pm
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1090

Re: Not sure where to start to make my prototype real

I need something with a longer range than a few centimeters, it needs to read if an item is nearby without having to tap anything on a sensor etc. It's available, at a price. Impinj xPortal Gateway - RFID UHF Reader The lightweight and low profile Impinj xPortal gateway solves the size and mounting ...
by PiGraham
Wed Jan 29, 2020 9:14 pm
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1090

Re: Not sure where to start to make my prototype real

if everyone involved carries a bluetooth ble enabled mobile phone, you could use that and the phone id to identify people, and perhaps using ble beacon tech that can derive proximity to the sensor too. You could use the phones as the receiver/display for the 'updates' too of course a lost phone wou...
by PiGraham
Fri Jan 24, 2020 6:38 pm
Forum: Python
Topic: Barcode Scanner in TKinter and Python
Replies: 3
Views: 194

Re: Barcode Scanner in TKinter and Python

Hi, How do I insert in the program? Thank you, Do you know anything about Python? If not you could start here https://www.raspberrypi.org/documentation/usage/python/README.md Otherwise follow the tektutorials instructions. Open a terminal and type pip install pyzbar In your code editor import it: i...

Go to advanced search