PCB with P1 module


#1


#2

Given the need to implement the power supply and the LED and the reset and setup buttons around the P1 module - is it worth it over using a Photon without headers?


#4

I think so

Its cheaper, the P1 costing $12 and the photon $19.

The P1 has more pins and, I assume, the stamp format is easier to reflow.


#5

If you don’t need the pcb antenna and will use an external antenna you can break off the PCB antenna part where it’s designed to be snapped off if not needed and the P1 module is also a little smaller than the Photon.

The money saved adds up when your producing hundreds of boards.


#6

Cool. Which display is that? Can you reveal more?
Watch out for mounting holes near traces and without voids around them. Depending on how this board will
be mounted and how thick it is, avoid stresses that can crack solder joints (bottom right hole).


#7

ohh thats what those tiny holes are for. I was wondering.


#8

the display is this one.

The code for that display is from Adafruit and available in the Particle IDE.

If interested, the code for my device is open source.

The hole in the PCB is a bit close, I better be careful and not tighten the screws too much there.


#9

Thanks for sharing.


#10

@volker, just an FYI. to whomever designed the PCB, you don’t want to have traces at 90 deg. angles. Specifically for high speed data lines.


#11

Cool thanks, I didn’t know that. I found it easier to design with 90deg but will go over to angled designs in future.


#12

Hi Volker
I paid $17,00 for Nextion Display and use Photon to with Two DHT sensor to create, Temp and Humidity for a compost pile


But the display you used cost $9.20 That is 70% saving. I wonder what is the difference between the two displays? Is it possible for me to use Nextion display instead of 1 шт. J34 F85


#13

The Nextion is a “smart” HMI display which can run its own firmware and communicate with the controller on a higher level.
e.g. if you have an Enhanced Nextion display they even have their own RTC on board an your date/time display can be managed by the display without any extra need for the controller than initially setting the time and from time to time (e.g. once a day) correct for time drift.
The display used by @volker is a “dumb” (no insult intended :wink: ) display with no extra logic than displaying exactly the pixels the controller tells it to display.


#14

Yes, all @ScruffR said.

The display I’m using ist controlled with the adafruit GFX library..

Bit more code writing.


#15

Thanks that does help, a Dumb Display (no insult Intended: wink:) means more flexibility for the micro-controller to tell the display what to do because a Dumb Display does not have its own intelligence. Off course that increases the overhead and resources that the micro-controller (Photon or P1) has to do. But one also gets more control over what is displayed.
In case you are wondering ScruffR where am I going with this… I was wondering if a javascript library like p5js http://p5js.org/libraries/ can be used to draw real-time animation https://youtu.be/17nCrypdEKU
Photon Chip will be able to compete better with P1 that has less CPU resources compared to photon, but I wonder if Photon CPU resources will be enough to handle to complex motion animation. Without a Fan ?