Raspberry Pi Project
Posted: October 7th, 2020, 7:54 pm
I am about to take the plunge with my first Raspberry Pi project. I would appreciate guidance from the experienced Pi men on this board.
I wrote a Python interface for the Novag Citrine chess computer four years ago. It stopped working when the Python chess library had changed. I have fixed that, and all is well on my third generation i3 running Xubuntu. The CPU usage looks negligible in the Xfce task manager. The program should work on a Raspberry Pi Zero W. I am currently using a physical serial port, but I used a USB serial port adapter previously.
Here is a list of the basic parts for the project:
https://subscription.packtpub.com/book/ ... p-computer
I already have mobile phone chargers, notably an iPad 2 charger, which delivers just over 2A. I also have a USB hub, which incorporates an SD card reader/writer. I have got an HDMI monitor that is on my Windows machine, so it is mostly idle. I can also temporarily deploy the keyboard and mouse from that machine. That leaves:
Raspberry Pi Zero W £9.80:
https://thepihut.com/products/raspberry-pi-zero-w
Mini-HDMI to HDMI cable £2.40:
https://thepihut.com/products/official- ... hdmi-cable
USB to micro USB OTG connector £2.00:
https://thepihut.com/products/usb-to-mi ... erter-shim
Case £3:
https://thepihut.com/products/premium-r ... -zero-case
(All plus £2.99 postage.)
Micro SD card £7.99:
https://www.currys.co.uk/gbuk/cameras-a ... 6-pdt.html
(Free delivery.)
That appears to be enough to get me going.
I would like to use my Android phone or, better still, my old iPad 2 as a display. Here is an article that makes it look easy:
https://www.makeuseof.com/tag/android-t ... pberry-pi/
My new Nokia 5.3 should work with RDP, but the iPad 2 running IOS 9 will not. VNC looks more promising. Here are some more detailed instructions for connecting to an iPad:
https://www.instructables.com/How-to-Us ... spberry-P/
The ideal solution may be to use the Pi to create a WiFi hot spot for the iPad, but that looks more problematic:
https://www.raspberrypi.org/blog/connec ... -ipad-pro/
What have I missed? Controlling the Pi from the iPad my prove to be difficult, so I may want a more convenient input device. I might get away with a couple of push buttons, but then I would need GPIO. A camera might also be useful for future projects, but that probably is not compatible with the cheap case.
Here is an awesome chess project that I do not expect to emulate:
https://www.raspberrypi.org/blog/connec ... -ipad-pro/
I wrote a Python interface for the Novag Citrine chess computer four years ago. It stopped working when the Python chess library had changed. I have fixed that, and all is well on my third generation i3 running Xubuntu. The CPU usage looks negligible in the Xfce task manager. The program should work on a Raspberry Pi Zero W. I am currently using a physical serial port, but I used a USB serial port adapter previously.
Here is a list of the basic parts for the project:
https://subscription.packtpub.com/book/ ... p-computer
I already have mobile phone chargers, notably an iPad 2 charger, which delivers just over 2A. I also have a USB hub, which incorporates an SD card reader/writer. I have got an HDMI monitor that is on my Windows machine, so it is mostly idle. I can also temporarily deploy the keyboard and mouse from that machine. That leaves:
Raspberry Pi Zero W £9.80:
https://thepihut.com/products/raspberry-pi-zero-w
Mini-HDMI to HDMI cable £2.40:
https://thepihut.com/products/official- ... hdmi-cable
USB to micro USB OTG connector £2.00:
https://thepihut.com/products/usb-to-mi ... erter-shim
Case £3:
https://thepihut.com/products/premium-r ... -zero-case
(All plus £2.99 postage.)
Micro SD card £7.99:
https://www.currys.co.uk/gbuk/cameras-a ... 6-pdt.html
(Free delivery.)
That appears to be enough to get me going.
I would like to use my Android phone or, better still, my old iPad 2 as a display. Here is an article that makes it look easy:
https://www.makeuseof.com/tag/android-t ... pberry-pi/
My new Nokia 5.3 should work with RDP, but the iPad 2 running IOS 9 will not. VNC looks more promising. Here are some more detailed instructions for connecting to an iPad:
https://www.instructables.com/How-to-Us ... spberry-P/
The ideal solution may be to use the Pi to create a WiFi hot spot for the iPad, but that looks more problematic:
https://www.raspberrypi.org/blog/connec ... -ipad-pro/
What have I missed? Controlling the Pi from the iPad my prove to be difficult, so I may want a more convenient input device. I might get away with a couple of push buttons, but then I would need GPIO. A camera might also be useful for future projects, but that probably is not compatible with the cheap case.
Here is an awesome chess project that I do not expect to emulate:
https://www.raspberrypi.org/blog/connec ... -ipad-pro/