-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Piliteweather.py #9
Comments
Further to this - I tried programming the Arduino chip last night from the Pi via GPIO, I tried various example scripts from the LoLShield example folder and I got a message from the IDE that it was uploaded but nothing displayed on the Pi Lite... Thanks, |
I’m afraid I can’t help you but I’m having issues with this too. I can’t get the sketch to upload. avrdude stk500_recv() programmer is not responding Can you tell me what board setting you selected in the IDE please ? |
Hi, I'm currently trying to programme the Pi-Lite using a USB to UART serial console cable connected to the FTDI pins and I get the same error message as you I tried various boards but all with the same result Thanks |
Sorry to hear you’re still having troubles. If you have a USB to FTDI connection, have you tried it in a Mac or Windows machine with the Arduino IDE installed ? I can’t promise it would work of course. |
I think I’ve found the problem. The gpio pins don’t have a connection to the DTR pin. I found this for another board: |
Thanks for those links dpslwk. I’ve seen the first one several times but that second one looks promising. |
Hi dpslwk, I've run through the two links above but I don't think I've made any progress. When trying to upload via the GPIO pins I get the following error:- If I try to upload by connecting the UART-USB cable to the FTDI connector, I get:- |
Im calling it 75% successful 😂 Done with autoreset There seems to be an error in the coding on the Basic_Test sketch. I’ll have to look into that. Thanks for the information. I’ll let you know if I get any improvements |
Fixed the Basic_Test sketch. I’d love to claim it was my exceptional programming abilities, but I have to be honest. I bought the PiLite just before Christmas because a certain British high street Electronics & Hobby store were selling it off as a stock clearance. A few weeks later in the same store they had the Arduino version so I bought that too. I just compared the sketch’s 😂 Not a clue with the PILITE sketch though |
Thanks for persevering with this - I'm struggling with a small esp8266 project at the moment, but I'll go back to the PiLite when I get a moment... |
I’ve now tried all the other ATmega328 options and the only one I can get to work consistently is the Arduino Mini w/ ATmega328 |
No worries. I’m glad I got mine working. Hopefully you’ll get yours sorted. Maybe the fresh install helped. Things like this drive me mental 😂 I think the shop involved should have said that the supplier has gone belly up though. I doubt I would have got any further if it hadn’t been for those links from dpslwk, thanks again Sir. |
Hi, I did a fresh install of Jessie on a Pi Zero, I then followed the instructions at http://web.archive.org/web/20160617202251/http://openmicros.org/index.php/articles/94-ciseco-product-documentation/raspberry-pi/280-b040-pi-lite-beginners-guide#Programming%20the%20Pi-Lite and I now find that Arduino defaults to Serial port COM1 and the Tools menu for Serial Port is greyed out - I'm not sure why this is but I can confirm that the serial port is working when I call it using Minicom - albeit I had to add enable_uart=1 to the boot/config.txt Also, after correcting the Basic_test file, compiling it yields:- Basic_Test.pde:49:9: error: ‘Const’ does not name a type I cleared this error by changing line 49 to uint16_t const(BitMap) [][9] PROGMEM = { Cheers, Andrew |
Great news Andrew. |
Hi, I bought a Pi-Lite today and installed Arrow, however, on running PiLiteWeather I get the following error:-
Traceback (most recent call last):
File "/home/pi/git/PiLite/Python_Examples/PiLiteWorldTime.py", line 2, in
import arrow
File "/usr/local/lib/python2.7/dist-packages/arrow/init.py", line 3, in
from .arrow import Arrow
File "/usr/local/lib/python2.7/dist-packages/arrow/arrow.py", line 19, in
from arrow import util, locales, parser, formatter
File "/usr/local/lib/python2.7/dist-packages/arrow/parser.py", line 12, in
from backports.functools_lru_cache import lru_cache # pragma: no cover
ImportError: No module named backports.functools_lru_cache
Could someone please give me a clue as to what's happened here?
Thanks
The text was updated successfully, but these errors were encountered: