PB and using USB port modeles

Everything else that doesn't fall into one of the other PB categories.
Rudy M
User
User
Posts: 46
Joined: Fri Aug 23, 2024 1:18 pm

PB and using USB port modeles

Post by Rudy M »

Hello,

One can use a RaspberryPi or Arduino to do a lot of things via PB programs.
For me a beer brewing installation, but for others a lot of robotics and so on...

On internet (Ali... Amaz..., Temu...) You can see a lot of modules using the USB port (mostly USB to parallel...).
The prices are very low, sometimes a few Euro's.

Are there PB programmers who have experiences with such modules?
If Yes: - Can You publish a link to such device(s) and possible 'needed' software modules?

Reason of my question:
In that case every PB programmer can use his PC, laptop... to do the job.

Rudy M
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB and using USB port modeles

Post by skywalk »

Don't you mean RaspberryPI+Arduino?
Does Arduino come with an OS?
I thought it was only a microcontroller interface.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: PB and using USB port modeles

Post by Marc56us »

Arduino uses a C syntax code that you upload in his flash rom (via Arduino IDE)
Arduino IDE setup install a driver to map USB to serial port
So if you need to communication with Arduino, this is made via USB (or BT) so with PB using SerialPort lib
Connect sensors, relay etc to arduino, then drive it via PB program.
This is easy and there is many samples in this forum. (use search field)
Rudy M
User
User
Posts: 46
Joined: Fri Aug 23, 2024 1:18 pm

Re: PB and using USB port modeles

Post by Rudy M »

I first thought of a cheap plug-in module on a USB port to parallel, or a kind of USB-gpio module.
The problem is to find a good c-lib (or to write the software myself).

When searching further on the internet I am now more inclined to buy an older type of e.g. the RaspberryPi series (cheaper than the latest new types...) and install Pb on it.
And then it is also much simpler in terms of software to do the job from PB with the pigpio-lib.
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PB and using USB port modeles

Post by skywalk »

My question was what PB compiler target you planned?
RaspberryPI or a fanless ARM PC running Windows or Linux?
Certainly cheaper to go RaspPI controlling the Arduino relays,etc.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply