Burger king toy with pi zero

Got an idea for a project? Found a cool project you want to share? Post it here!
User avatar
KonnorJ
Posts: 385
Joined: Thu Jan 11, 2018 1:23 am
Location: United Kingdom
Has thanked: 58 times
Been thanked: 109 times
Contact:

Re: Burger king toy with pi zero

Post by KonnorJ » Sun Aug 19, 2018 6:18 pm

Haha no. You won't get gerbers so don't ask. On helders Instagram "angryhelder" he has a post selling some PCBs

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Burger king toy with pi zero

Post by Helder » Sun Aug 19, 2018 8:33 pm

You need to use DSLite buttons for my board and I only ask $5 for them which is generally the cost of the shipping and packaging. Send me a PM if interested.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Burger king toy with pi zero

Post by Helder » Sun Aug 19, 2018 8:35 pm

ABH wrote:
Sat Aug 18, 2018 6:06 pm
72BAAC76-4710-420A-8AFB-CE76C2CC44BB.jpeg
Nice! You got a screen in mind for this? Have you got one of these boards to show off?
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
ABH
Posts: 188
Joined: Sat May 28, 2016 7:01 pm
Location: Qatar
Has thanked: 82 times
Been thanked: 113 times

Re: Burger king toy with pi zero

Post by ABH » Mon Aug 20, 2018 6:16 am

Helder wrote:
Sun Aug 19, 2018 8:35 pm
ABH wrote:
Sat Aug 18, 2018 6:06 pm
72BAAC76-4710-420A-8AFB-CE76C2CC44BB.jpeg
Nice! You got a screen in mind for this? Have you got one of these boards to show off?
Thank you Helder
Still working on it
Yes I will use ST7789v 2.0 screen this one
https://m.aliexpress.com/item/329063894 ... sstype=600

Yesterday day I've been able to run it, but there are some software problems I think, everything is excellent, but the colors are a bit dull. “I'm not good at this type of programming I can say it works by luck”

Screen in action
https://instagram.com/p/Bmr-SuPluWv/
7FC2BD42-4976-4F78-B82B-A31E845C9DC0.jpeg
7FC2BD42-4976-4F78-B82B-A31E845C9DC0.jpeg (2.75 MiB) Viewed 9104 times
Screen datasheet and wiring if someone interested
0D6B8148-9725-43EE-878E-7C01E4329941.jpeg
0D6B8148-9725-43EE-878E-7C01E4329941.jpeg (191.8 KiB) Viewed 9101 times
1- GND
2- LED-K —-> GND
3- LED-A —-> 3.3
4- VCC —-> 3.3
5- GND
6- GND
7- WR/SPI_A0 —-> D/CX GPIO24
8- CS —-> CSX GPIO8
9- RS/SPI_SCL —-> SCL GPIO11
10- SPI_SDA —-> MOSI GPIO10
11- RESET —-> RESET GPIO25
12- GND

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Burger king toy with pi zero

Post by Helder » Mon Aug 20, 2018 3:18 pm

Yea I tried that lcd too but couldn't get it going using a known driver for it too. What driver did you use on it? Maybe I can get it working better and share the info.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
ABH
Posts: 188
Joined: Sat May 28, 2016 7:01 pm
Location: Qatar
Has thanked: 82 times
Been thanked: 113 times

Re: Burger king toy with pi zero

Post by ABH » Mon Aug 20, 2018 3:45 pm

Helder wrote:
Mon Aug 20, 2018 3:18 pm
Yea I tried that lcd too but couldn't get it going using a known driver for it too. What driver did you use on it? Maybe I can get it working better and share the info.
I've used ili9341 driver but with custom init code.
I followed this tutorial at the bottom of the page
https://www.instructables.com/id/Connec ... out-Board/

1- In this file "/etc/modprobe.d/fbtft.conf" you should add this code :

Code: Select all

options fbtft_device custom name=fb_ili9341 speed=80000000 rotate=270 fps=60 gpios=reset:25,dc:24 modprobe flexfb setaddrwin=0 width=240 height=320 init=-1,0x11,-2,120,-1,0x36,0x00,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3
2- And add this line to the config.txt file

Code: Select all

display_rotate=0x10000

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Burger king toy with pi zero

Post by Helder » Mon Aug 20, 2018 4:56 pm

Ok I'll post any new developments with it here for everyone to use. Thanks
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
ABH
Posts: 188
Joined: Sat May 28, 2016 7:01 pm
Location: Qatar
Has thanked: 82 times
Been thanked: 113 times

Re: Burger king toy with pi zero

Post by ABH » Wed Aug 22, 2018 10:01 pm

Helder wrote:
Mon Aug 20, 2018 4:56 pm
Ok I'll post any new developments with it here for everyone to use. Thanks
I found what the cause of screen mirroring
so no need to add anything to the config file.

options fbtft_device custom name=fb_ili9341 speed=80000000 rotate=270 fps=60 gpios=reset:25,dc:24 modprobe flexfb setaddrwin=0 width=240 height=320 init=-1,0x11,-2,120,-1,0x36,0x00,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3

Change 2 to 6 will fix this

20 Playing with this number will darken the colors " but not fix the problem "
0 to lighten the colors " but not fix the problem "


Maybe the information is not useful but I just want to share it.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Burger king toy with pi zero

Post by Helder » Thu Aug 23, 2018 1:30 am

Very useful, I've been playing with different drivers and that may fix it. The issue is the gamma curve is too high but not finding a lot of info on it to change the settings.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2985
Joined: Thu May 05, 2016 8:33 am
Location: Rogers, AR
Has thanked: 1459 times
Been thanked: 3114 times

Re: Burger king toy with pi zero

Post by Helder » Thu Aug 23, 2018 5:16 pm

ABH wrote:
Wed Aug 22, 2018 10:01 pm
Helder wrote:
Mon Aug 20, 2018 4:56 pm
Ok I'll post any new developments with it here for everyone to use. Thanks
I found what the cause of screen mirroring
so no need to add anything to the config file.

options fbtft_device custom name=fb_ili9341 speed=80000000 rotate=270 fps=60 gpios=reset:25,dc:24 modprobe flexfb setaddrwin=0 width=240 height=320 init=-1,0x11,-2,120,-1,0x36,0x00,-1,0x3A,0x05,-1,0xB2,0x0C,0x0C,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC0,0x2C,-1,0xC2,0x01,-1,0xC3,0x0B,-1,0xC4,0x20,-1,0xC6,0x0F,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3

Change 2 to 6 will fix this

20 Playing with this number will darken the colors " but not fix the problem "
0 to lighten the colors " but not fix the problem "


Maybe the information is not useful but I just want to share it.
Try this (it's the correct screen driver):

Code: Select all

options fbtft_device custom name=fb_st7789v speed=81000000 rotate=270 fps=60 buswidth=8  gpios=reset:25,dc:24 modprobe flexfb setaddrwin=0 width=240 height=320 init=-1,0x11,-2,120,-1,0x36,0x00,-1,0x3A,0x05,-1,0xB2,0x08,0x08,0x00,0x33,0x33,-1,0xB7,0x35,-1,0xBB,0x1A,-1,0xC2,0x01,-1,0xC3,0x3F,-1,0xC4,0x26,-1,0xC6,0x0E,-1,0xD0,0xA4,0xA1,-1,0x21,-1,0xE0,0x00,0x19,0x1E,0x0A,0x09,0x15,0x3D,0x44,0x51,0x12,0x03,0x00,0x3F,0x3F,-1,0xE1,0x00,0x18,0x1E,0x0A,0x09,0x25,0x3F,0x43,0x52,0x33,0x03,0x00,0x3F,0x3F,-1,0x29,-3
I tweaked the best I could to get a decent image, my friend and I are trying to go over all options in the datasheet to see if we can fix the contrast which seems to be the issue with the colors. The brightness seems good in my setup and I removed commands that don't seem necessary, feel free to try my settings on your setup and oh if you need to do a mirror the right way change 0x36,0x00 to either 0x36,0xE0, or 0x36,0x60.
Chat with me and other members On Discord

Don't contact me about obtaining my board files (as you will not get them). If my Boards or PCB Kits are sold out, they will be restocked as soon as I can get them and there is demand for them. You can join the mailing list on my Website to be notified when they are available.


Helder's Game Tech Website

We will not support any cloned work so don't come to us with technical issues to resolve, go talk to the cloner for help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest