Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Pi-cromite on the Pi Zero: Update
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Many thanks to WhiteWizzard for sending me a Pi-Zero The Pi-cromite code has now been tested on the Pi Zero-W and works nicely. It is seen here running headless with a 4" 480x320 IPS display directly connected. Configuration for this is: [code]OPTION LCDPANEL ILI9481, L, 18, 22, 24 OPTION TOUCH 26, 11[/code] The version of pigpio has now been updated in the Rasbian depository so to run the code you just need to execute [code]sudo apt-get install pigpio[/code] before running mmbasic (sudo ./mmbasic) To run a specific basic program immediately you can include it in the command line [code]sudo ./mmbasic myprog.bas[/code] To run headless make sure you enable SSH on the pi using raspi-config and then you can run from a terminal session on any other computer using putty or similar. The standard raspian build also includes full support for sftp so if you install a client on your computer (e.g.WINSCP) you can transfer files to and from the pi-zero without ever needing to connect a monitor/keyboard/mouse once it is set up. Get the latest version of the Pi-cromite code from the main thread |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3016 |
This is terrific. Hope my Pi-0-W arrives next week. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2794 |
If anyone is having problems getting hold of a RPi-ZeroW to try Peter's excellent Port of Geoff's MMBASIC then drop me a PM/email as I have a 'reliable' source This is something that will continue to get better and better thanks to Geoff & Peter . . . . . For everything Micromite visit micromite.org Direct Email: whitewizzard@micromite.o |
||||
Justplayin Guru Joined: 31/01/2014 Location: United StatesPosts: 309 |
Okay Peter, you can stop twisting my arm! I ordered a Pi Zero W from a local vendor and hope to have it by tomorrow. --Curtis I am not a Mad Scientist... It makes me happy inventing new ways to take over the world!! |
||||
RonnS Senior Member Joined: 16/07/2015 Location: GermanyPosts: 120 |
Hello at all, i am thrilled and thankful for the new Pi-Cromite. In this week I received my 4 inch LCD display and could test the functionality together with the RPi3 Pi-Cromite Basic works well along with the SD card of the RasPi, opening and writing a file is not a problem. And also the GUI functions work The best is to control everything over wifi best regards from Germany Ron |
||||
MikeO Senior Member Joined: 11/09/2011 Location: AustraliaPosts: 275 |
Thought It was time I tried the Picromite so just fired up my Pi Zero W. Not being Linux experience had a couple of false starts but on the whole reasonably plain sailing. These are the Benchmark results I got , the Pi Zero seems to be running mostly at 700Mhz but sometimes 1Ghz not sure I understand why it changes? Seems to be similar to a MX470, thought it would have been a lot more? Just wondered what others experiences have been? pi@raspberrypi:~/mmbasic $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 700000 pi@raspberrypi:~/mmbasic $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq 1000000 LINUX MMBasic Version 5.4.a07 Copyright 2011-2017 Geoff Graham Copyright 2017 Peter Mather Maximite Benchmark tests Benchmark 1 0.014 Benchmark 2 0.058 Benchmark 3 0.093 Benchmark 4 0.102 Benchmark 5 0.184 Benchmark 6 0.298 Benchmark 7 0.354 Benchmark 8 0.127 > Mike Codenquilts |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8592 |
Mike Are you running the full GUI version of Raspbian on the Zero? I get times something less than half yours using the "Lite" install. NB the times on a Pi 3 are MUCH better even running the GUI [code] Zero(lite) 3(GUI) 1 0.008 0.002 2 0.026 0.007 3 0.04 0.012 4 0.042 0.017 5 0.075 0.027 6 0.124 0.04 7 0.185 0.056 8 0.077 0.022 [/code] |
||||
MikeO Senior Member Joined: 11/09/2011 Location: AustraliaPosts: 275 |
Thanks Peter, I thought that may be the case, I am using the GUI at this stage. I was planning to run headless and have been even with the GUI running BUT I was having no success getting the wifi set up by using Jessie Lite and editing the wpa_supplicant.conf file so resorted to the full GUI. Perhaps there is another way? Codenquilts |
||||
MikeO Senior Member Joined: 11/09/2011 Location: AustraliaPosts: 275 |
All good now running headless on Jessie Lite, huge difference. Mike > run Maximite Benchmark tests Benchmark 1 0.007 Benchmark 2 0.028 Benchmark 3 0.043 Benchmark 4 0.046 Benchmark 5 0.078 Benchmark 6 0.127 Benchmark 7 0.184 Benchmark 8 0.081 > Codenquilts |
||||
srnet Senior Member Joined: 08/08/2014 Location: United KingdomPosts: 164 |
This appears to be a 'feature' of the newer releases of Jessie. The part of the GUI that lets you setup\associate the WiFi connection appears to have been removed. So you need to go down the sudo nano route, which is a complete pain. My Internet connection is via Wireless so I got a Edimax WiFi Access point that has a 5 port Ethernet switch on it. I dont then need to bother with the WiFi on the Pi and run it headless via RDP and SSH. $50SAT is Silent but probably still working. For information on LoRa visit http://www.loratracker.uk/ |
||||
Print this page |