primiq
March 31, 2019, 11:14am
1
Hi Guys,
I’ve successfully built Jetbot from the NVIDIA Example project Home · NVIDIA-AI-IOT/jetbot Wiki · GitHub
As part of the build we’ve installed the Adafruit PiOLED 128x32 screen.
Has anyone managed to make changes to the screen?
I found Adafruits Python scripts, however i cant seem to find the device and the guide is for RPi
The Adafruit PiOLED is your little OLED pal, ready to snap onto any and all Raspberry Pi computers, to give you a little display. The PiOLED comes with a monochrome 128x32 OLED, with sharp white pixels. The OLED uses only the I2C pins so you have...
Any helpful pointers would be very much appreciated!
Hi primiq, glad to hear you built your JetBot!
The PiOLED is used by this code in the JetBot repo: https://github.com/NVIDIA-AI-IOT/jetbot/blob/master/jetbot/apps/stats.py
This Python code imports the Adafruit_SSD1306 driver library to drawing text to the display.
This code should be configured to run as a service on your JetBot’s Jetson Nano, so it should start updating text after boot. If not, try running this create_stats_service.py script which should configure it to run as a service: https://github.com/NVIDIA-AI-IOT/jetbot/blob/master/jetbot/utils/create_stats_service.py
If you continue to have issues with it, recommend posting an issue on the JetBot GitHub to get connected with our devs there.
1 Like
primiq
April 1, 2019, 6:21pm
3
Hi dusty!
Thanks very much for your reply!
I was close with importing Adafruit manually i think! I was missing the gpio=1 and kept getting platform error.
disp = Adafruit_SSD1306.SSD1306_128_32(rst=None, i2c_bus=1, gpio=1) # setting gpio to 1 is hack to avoid platform detection
For anyone else who used the image prepared for the Jetbot project, for me the service was using stats.py from here : /usr/local/lib/python3.6/dist-packages/jetbot-0.3.0-py3.6.egg/jetbot/apps/
And the service is called jetbot_stats
Cant wait to use the screen a bit more now ! :)
Thanks !
Hi,
Seeed Studio just announced that the Grove.py python library for Grove devices support Nvidia Jetson nano now.
Dear Seeekers, Today we are very excited to introduce the Grove.py python library for
Est. reading time: 4 minutes
And a Demo using an OLED showing Temperature and humidity information, Demo code can be found here. https://github.com/Seeed-Studio/grove.py/blob/master/grove/grove_oled_display_128x64.py
kayccc
April 11, 2019, 7:55am
5
Nice! Thanks for sharing this elainedan!