Jump to content

I am having issues with the programming circuit tutorials


G+_Joseph DuPree
 Share

Recommended Posts

I am having issues with the programming/circuit tutorials. I can’t get the GPIO to work on my Zero. I also got a HC-SR04 ultrasonic sensor that I can’t get to work on the Zero or Arduino. Maybe a bad one from China. Any suggestions on what I maybe doing wrong. I was at leading a B/C student in programming class.

Link to comment
Share on other sites

What are you doing on the Pi to try and rest of the GPIO is working? Have you tried a simple blink an LED project? I haven't done much recently with the GPIO on a Pi, but I've heard that one of the addressing schemas has been deprecated.

 

As for the ultrasonic sensor I would only suspect that it is bad after I've tested the GPIO. But it certainly could be poorly made.

Link to comment
Share on other sites

Just to make sure we cover the basics, you do realize that whatever pin number you specify in your program, it probably does not correspond to the physical pin position?

 

Which tutorial are you working through to blink an LED? Or show us the code you are trying. Maybe a quick look at what you are looking at will help us track this down.

 

I'm going to make the assumption that the headers have been installed properly on the Pi Zero (or if working without headers that your soldering job is right). However, if you are unsure about this, post a pic and we will try to take a look.

Link to comment
Share on other sites

 Share

×
×
  • Create New...