Go to advanced search

by Gert van Loo
Tue Apr 03, 2018 8:24 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

It will take some time as I have some other obligations.

As to reading the end-stop switches, that is already supported.
They are just normal inputs thus a 'READ input' command will give you that information.
You can try it with the GUI by first switching to 'board' mode. On the LHS is a Read button.
by Gert van Loo
Tue Apr 03, 2018 7:55 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

If you connect a solenoid between A1 and A2 it will drive it. The same for B1/B2, C1/C2, D1/D2. But there is no on/off software for that, so you have to use DC motor mode. Either forward or backwards will activate the solenoid. But the board has eight half bridges. So it could drive 8 single ended d...
by Gert van Loo
Sun Apr 01, 2018 7:00 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

My apologies. There was a typo in the file which made that the link was wrong.
I thought that I had tested downloading each file but I must have missed that one.
It is now in place with more information how to get it running and
how to use a better font.
by Gert van Loo
Fri Mar 30, 2018 9:34 am
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

Durian,
I don't think that is a good idea. You are likely to blow up your motor.
Use 8V as that is the minimum voltage the gertbot can run at.
Then add series resistors of 2.7 Ohm, ~3Watt.
by Gert van Loo
Fri Mar 30, 2018 4:05 am
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

For stepper motors version 2.8 only offer ramping extra.
But there are some other non-stepper motor features like de-bounce filters on the end switches.
by Gert van Loo
Tue Mar 13, 2018 8:48 am
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

There are two archives with complete source code which you can download which use the gertbot with QT: Gertbot Debug GUI and DCC example gui. The latter is the smallest. Both are written for QT4.8 and I understand the Pi now has QT5. But the code how to interface with the UART is independent from th...
by Gert van Loo
Mon Mar 12, 2018 9:54 am
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

Why have you: - Written: uart_opened=true; ? - Commented out the uart_open() call ? The first line in the simple rover example main file is: // Open serial port to talk to Gertbot if (!open_connection(0)) return 1; Which you have not used. By the way: if you want to use c++ be careful when using the...
by Gert van Loo
Tue Jan 23, 2018 7:40 pm
Forum: Other projects
Topic: Home automation via Zigbee
Replies: 9
Views: 42202

Re: Home automation via Zigbee

I used "zigbee Deconz" in google an that led me to this:
https://www.dresden-elektronik.de/funkt ... pc/deconz/

Where they advertise "deCONZ V2_04_99 (Raspbian Linux)" and "deCONZ V2_06_11 (RaspBee Firmware)"
by Gert van Loo
Sat Jan 20, 2018 5:47 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

Great to hear that.
Note that last weekend I did mange to release version 2.8 which supports ramping of the stepper motors.

If you work with motors and motion you will find that slow starting/stopping is not a luxury, it is mandatory.
I found out when I built the 'Toast-e' prototype.
by Gert van Loo
Fri Jan 12, 2018 8:58 pm
Forum: Raspbian
Topic: Stretch missing QT4 runtime libraries
Replies: 4
Views: 1688

Re: Stretch missing QT4 runtime libraries

so I often do more filtering with grep. As per my remark in the post: "apt-get list -all | grep -i qt" :-) if you want to know exactly all missing libraries for a binary use the command "ldd program". I know and used that one. In this case it only worked partially. My program was running but all th...
by Gert van Loo
Fri Jan 12, 2018 8:06 pm
Forum: Raspbian
Topic: Stretch missing QT4 runtime libraries
Replies: 4
Views: 1688

Re: Stretch missing QT4 runtime libraries

Thank you for the link. I asked at stack exchange but did not get a reply. I will update my web page to tell user to use "sudo apt-get install libqtgui4" Is there a command to list all possible packages? something like: "apt-get list -all" Then I could have found that package myself using something ...
by Gert van Loo
Fri Jan 12, 2018 1:22 pm
Forum: Raspbian
Topic: Stretch missing QT4 runtime libraries
Replies: 4
Views: 1688

Stretch missing QT4 runtime libraries

I received a complaint that my SW is no longer working: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory I compared /usr/lib in stretch and and jessie and yes! in stretch the qt4 libs have disappeared. I had not noticed that, because I de...
by Gert van Loo
Fri Jan 12, 2018 11:26 am
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

Downloading the QT4 libraries. You only need to download the QT4 runtime libraries if you get an error message saying " libQtGui.so.4: cannot open shared object file: No such file or directory " At the moment this is the case if you use a stretch image. (uname -r gives as output "4.9.41-v7+") In th...
by Gert van Loo
Thu Jan 11, 2018 11:36 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

First note that I have updated the gertbot webpages several times over the last two days. There are tested instruction on there: https://www.gertbot.com/pi3.html domoticom had even more problems (Qt4 libraries where missing) but I manged to help him out and for him it now all works: https://www.rasp...
by Gert van Loo
Thu Jan 11, 2018 10:57 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

Yes 2.6 is the latest but I have been asked for 2.8 which I will try to get out this weekend. I have not done so as I have not had time to update the C or python drivers. Revision 2.7 has support for servo motors. It does not use the power bridge at all but outputs a 3.3Volt variable pulse width to ...
by Gert van Loo
Wed Jan 10, 2018 11:44 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

In the latest image (stretch) the qt4 libraries are no longer present. This gives the following error message: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory I have placed copies of the missing the qt4 libraries on my website with instr...
by Gert van Loo
Tue Jan 09, 2018 8:47 pm
Forum: HATs and other add-ons
Topic: Gertbot
Replies: 146
Views: 53024

Re: Gertbot

Dear teapot418 You are not the only one struggling with the UART on the Pi3. Shows again how one bad design decision can cause so much havoc! I also have lost track of what is going on. You are right in that if wifi still works you have something wrong. The gertbot really needs the actual mini-uart ...
by Gert van Loo
Fri Jan 05, 2018 11:26 pm
Forum: HATs and other add-ons
Topic: Gertboard with Pi2 Jessie
Replies: 7
Views: 3365

Re: Gertboard with Pi2 Jessie

Untested! Alpha release is there. (Untested means compiled and run on a Pi but not with a Gertboard as it is 00:30 at night here.) Was not as much code change as thought as I could replace the hard macro BCM2708_PERI_BASE with a variable bcm_periperal_base which is set by SW using a system uname cal...
by Gert van Loo
Fri Jan 05, 2018 10:30 pm
Forum: HATs and other add-ons
Topic: Gertboard with Pi2 Jessie
Replies: 7
Views: 3365

Re: Gertboard with Pi2 Jessie

Come to think of it, could BCM2708_PERI_BASE ... be set automatically somehow so that the Gertboard can sensibly be used with the Pi 2 and the P 3 ? Cheers, J/. Makes sense. I will write new code. In the meantime the old example code for SPI and DAC can be found here: https://www.gertbot.com/other_...
by Gert van Loo
Wed Dec 06, 2017 11:15 pm
Forum: Troubleshooting
Topic: 2N2222 driven LED strip
Replies: 10
Views: 3170

Re: 2N2222 driven LED strip

Hi, If you are planning to work on 2n2222, then you must have a look at Introduction to 2n2222. I have shared detailed overview of how it works and have also shared its working Proteus Simulation. Thanks. I have looked at your page and I appreciate the effort yo put int it BUT! The way you use the ...
by Gert van Loo
Sat Dec 02, 2017 3:40 pm
Forum: HATs and other add-ons
Topic: Gert's VGA - 888 possible?
Replies: 7
Views: 3901

Re: Gert's VGA - 888 possible?

In all the posts below nobody seems to have mentioned an Interesting fact: Not all the resistors have to 0.4%.
The big ones have to be accurate as their deviation should be smaller then the value of the smallest resistor.
by Gert van Loo
Thu Nov 30, 2017 9:51 pm
Forum: HATs and other add-ons
Topic: Gertbot Control using Python Drivers
Replies: 8
Views: 6243

Re: Gertbot Control using Python Drivers

I am looking into this.
What version raspberry-Pi are you using?
I assume a Pi-3? If so check if your UART settings are correct.
See here: https://www.gertbot.com/pi3.html
You might also have to add "core_freq=250" to the /boot/config.txt file.
by Gert van Loo
Mon Nov 27, 2017 5:34 pm
Forum: HATs and other add-ons
Topic: Anybody interested in talking direct! to IDE/SATA?
Replies: 29
Views: 9145

Re: Anybody interested in talking direct! to IDE/SATA?

I never know exactly what to do with git so this is what I did:
- Forked the documentation.
- Uploaded the file to hardware/raspberrypi/bcm2835.
- Created a pull request.

If any of that needs changing let me know.
by Gert van Loo
Mon Nov 27, 2017 3:24 pm
Forum: HATs and other add-ons
Topic: Anybody interested in talking direct! to IDE/SATA?
Replies: 29
Views: 9145

Re: Anybody interested in talking direct! to IDE/SATA?

Issues!!!! Tried to attached it to this post but the website does not accept .pdf file. I uploaded it to scribd to have it exists alongside my other Pi documents. Set it to public (lock is open) but it does NOT appear on the main page. I have raised a question with Scribd. Before you all start comme...
by Gert van Loo
Mon Nov 27, 2017 9:36 am
Forum: HATs and other add-ons
Topic: Anybody interested in talking direct! to IDE/SATA?
Replies: 29
Views: 9145

Re: Anybody interested in talking direct! to IDE/SATA?

Any patented stuff? No, as I said there is nothing special about the SMI. For those interested a bit of history: The first Raspberry-Pi 2835 was originally a 2708. The 2708 was the same die in a different package which had two 128Mbyte stacked SDRAM chips inside. However there also was a 2707, the ...

Go to advanced search