Check back soon as I am planning a complete website overhaul for the summer of 2019.
Check back soon as I am planning a complete website overhaul for the summer of 2019.
As the Raspberry Pi developers have not yet released schematics for the Raspberry Pi 2 (or any of the more recent Pis) I’ve started the process of developing unofficial schematics for the electronics hobbyist community. This is based on a complete teardown and individual component measurements. I anticipate this project taking several weeks as I am quite busy with school. I plan on identifying each component first, then creating a schematic once the pcb is unobstructed by parts. For simplicity’s sake, I may just create an annotated picture of the board with component values overlaid on top just to get information out there faster.
This is an update to my blog post here: http://www.ratpc.com/2015/08/01/partkeepr-raspberry-pi/
It appears that the image I released in my last post will work in the Raspberry Pi 2. This really speeds up the responsiveness of the interface.
The following are the notes I took during setup. This should speed up the process of getting started for anyone who wants to build a Pi Partkeepr Server from scratch. Most of the commands can be cut and pasted into the terminal, but you should really be comfortable with running commands from the terminal as you may still run into issues. Anything after // is just documentation and should not be copied into the terminal.
sudo apt-get update
sudo apt-get upgrade //update raspbian packages
sudo apt-get install phpmyadmin //install lamp stack. this will take about 10min.
//select apache2 when prompted. do not create a database now, we will do that later.
sudo apt-get install php5-curl
sudo apt-get install php5-imagick //install and activate curl library for php
//unarchive Partkeepr to /var/www/ . You can find it here: https://www.partkeepr.org/downloads/
//example: unzip partkeepr-0.1.9.zip -d /var/www/
sudo service apache2 restart
sudo nano /etc/php5/apache2/php.ini //set timezone in php.ini file located /exc/php5/apache2
date.timezone = “US/Central” //insert this line into the file. replace us/central with your local timezone.
// timezone info here: http://www.php.net/manual/en/timezones.php
sudo apt-get install php-pear //install pear
sudo pear channel-discover pear.symfony.com
sudo pear channel-discover pear.doctrine-project.org
sudo pear install pear.doctrine-project.org/doctrineorm //install doctrine
sudo pear install pear.doctrine-project.org/doctrinesymfonyyaml
sudo pear install pear.doctrine-project.org/doctrinesymfonyconsole //install yaml component of symfony
sudo pear channel-discover pear.twig-project.org
sudo pear install twig/twig //install twig
sudo chmod -R ugo+rw /var/www/ //modify permissions of /var/www/ to make writeable, possible security concerns
sudo apt-get install mysql-server mysql-client //install mysql, create mysql root password. this will be needed in the next step.
//after installing login
sudo mysql -u root -p
Start your web browser and navigate here:http://<raspberry pi IP address>/partkeepr-0.1.9/setup/
follow setup instructions. mysql commands will be generated in the setup steps after you fill in the empty fields.
sudo mysql -u root -p //login and create a new database. use the commands generated in setup.
// exit mysql
sudo nano /etc/crontab //setup crontab
/* should look something like this:
# m h dom mon dow user command
17 * * * * root cd / && run-parts –report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts –report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts –report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts –report /etc/cron.monthly )
0 0,12 * * * /usr/bin/php /var/www/cronjobs/CreateStatisticSnapshot.php
0 0,6,12,18 * * * /usr/bin/php /var/www/cronjobs/UpdatePartCacheData.php
0 0 */2 * * /usr/bin/php /var/www/cronjobs/CheckForUpdates.php
0 0 */2 * * /usr/bin/php /var/www/cronjobs/UpdateTipsOfTheDay.php
An update to this article has been posted in my blog.
I have not found any good tutorials around the internet about setting up Partkeepr (http://www.partkeepr.org/) on a Raspberry Pi, so I thought I would make one. I also wanted to make an image available for others to start quickly. As an electronics hobbyist I have thousands of parts that I have accumulated over the years and organizing them has gotten a bit out of control. This is hopefully the beginning of a new organized part inventory. I hope to make my database accessible remotely for guest as part of a local part sharing service.
Anyways, here is my Raspberry Pi image with a clean database and just categories created. The file is 1.5GB and unzips to about 15GB. If you want to throw it on an SD card without resizing the partitions you will need a 16GB card. After writing the image to a card and booting your Raspberry Pi, simply point any computers on the local network to http://<raspberry pi IP address>/frontend/.
Ok, WordPress keeps deleting things I write, so a lot of information is missing.
Default Partkeeper user/pass – admin/admin
Default Raspberry Pi user/pass – pi/toor
Default mySQL database user/pass – root/toor
Detailed Pictures here: youyue858d
This was a $40 Chinese hot air unit that I replaced the microcontroller on with a custom firmware with much tighter controls. The temperature fluctuated +-15C before the mod. Now it holds the temp within about 3C of the setpoint.
Here is me learning that the arduino environment kinda sucks when it comes to more advanced projects. That’s ok, I got to spend a few hours learning a bit more about microcontrollers. I’m using the Bus Pirate along with AVRDude to program my chip and set fusebits.
The custom firmware works wonderfully, but I feel there are some thermal concerns that need to be addressed. I plan to add ventilation and heatsinks as necessary.
This is just an initial post on my Gameboy project with some teaser pics. Eventually projects will be listed on the projects page with links to individual logs.
So there is a lot of room in the original Gameboy. I sacrificed an old Blackberry and I’m thinking about integrating the optical trackpad into the B button, and if I can figure out how to interface with the BB Keyboard, then I think I will add that as well as a slide out thing. I’ll probably jam a webcam into the thing as well as there is tons of room. My plan is to maintain the gameboy look entirely on the rear and sides, so it looks like I’m holding a gameboy at first glance. I think the screen will be sized up from a 2.5″ to a 3.5″ and the power LED will be removed to make space.
I have a very ambitious set of projects for this summer and I am going to try to get my experiences and findings logged here for the whole world to learn and collaborate on.
Expected projects include:
– Re-engineering a cheep T-862++ rework station to run automated reflow profiles and add greater control and monitoring by introducing a SoC along with a different micro-controller to add a wonderful PC based user interface and much better temperature regulation with added thermocouples and advanced PID tuning.
– Teaching myself Verilog by creating an Intel 4004 microprocessor on an FPGA. I’m familiar with VHDL, but it seems that Verilog is much more popular. This project may be expanded to include the Intel 4001, 4002, and 4003 if I get really ambitious. The purpose of this project is for me to master Verilog and to better understand the microprocessor.
– General 3D printing projects. My main printer needs to be tuned and calibrated, and my secondary printer is being modified to print food products (edible sugar sculptures, etc). I also plan on creating a DIY CNC mill for PCB fabrication and custom aluminum parts.
– Creating an inventory system for maximizing space by cataloging my tools and parts and making a note of where they are stored. I really like the PartKeepr project (http://www.partkeepr.org/) and would like to tie in data sheets and possibly run it from a Raspberry PI with a touch display.
– A self hosted cloud computing system that focuses on keeping data in my hands with a high level of security.
– And much more!
Full show here: http://www.twitch.tv/overclockingtv/b/664783652
Replay here: https://youtu.be/RJBzqO9fWlQ
It’s about time I start posting and sharing on this site. Stay tuned as I start dumping build logs to the site for people to learn from.
Welcome to my new site, dedicated to my adventures in making, modding, and hacking.
My name is Sean and I am also known around the overclocking forums as Zen1.
Stay tuned for more updates as I polish the site and start posting logs and findings from my projects.