After a longgggggg time no see. I’ve been working on about 3 project including
I actually Working seriously on the smart farming project because it’s school project.
Hi all. Tinlethax is back but still busy. Up coming post will be about setting up the stm8 SDCC development environment on my phone (Xperia X, Which is running Sailfish OS Linux). So, Stay tuned for my next post.
After few days I came across the idea about to put the accelerometer sensor (ADXL335) into the laptop for detection the rotation of the screen using the Earth gravitation acceleration. reading the x and y axis from the ADC (ADS1115) connected to the I2C port (VGA — i2c-1) using the compiled binary from C to run on the pc at the boot. but I’ve been waiting for the sensor module to arrive. maybe soon I will make some video on Youtube.
I’ve an idea if I can auto rotate my laptop screen like the 2 in 1 pc or the tablet pc. and I remember that I can personalize my ATECC508A through the i2c bus on my VGA port ! I also detect the i2c channel call “panel” by i2cdetect (part of i2ctools on linux). I though that’s the address of EEPROM* chip in my laptop’s display. The plan is
after these steps. I will use the linux driver and the code from someone on Github ( did made for beaglebone) combine with my code and use ” system(xrandr and other options);” to invoke the xrandr to rotate the screen.
Note : this is the concept. might works only on linux because the kernal and driver is very friendly to me ( not like the windows) so the code will compiled to be binary and run this as the start.
*EEPROM contain INFOs about the display like resolutions and other stuffs like manufacture code, product number, serial number.
Hello everyone. greeting from TinLethax after long time no see. in this post is about to run QEMU 4.0 on my Xperia X which is currently running linux ( The Jolla’s sailfish os). First of all you need to installed the ” sudo ” for sailfish os ( you can do this by just search in google). Then run this command as nemo ( normal user).
after this. exit your terminal and then get in again. Then type
nix-shell -p qemu
nix will download the latest pre-compiled binaries for aarch64 (our cpu architecture ;D). then the teminal hostname and user will change to the green ” nix-shell ” text. next thing you need to do to permanently create the symlinks is
nix-env -i qemu
It’s took a while to symlinked everything. Then you try to exit the nix shell session by invoke
the you’ll back to nemo session. type
then press tab button until the terminal listed all executable ” qemu ” stuffs including the i368 and x86_64 emulator !
after this don’t forget to add -v :your_port at the end of option of the qemu before your launch because wayland / X is not supported for this case we need the vnc viewer. I my case I use the vnc viewer running on android container (alien) .
Recently. I just ordered the Teensy 2.0++ except onething. IT’S THE CLONE !. They don’t event have any Thai’s Distributor(s) for selling the teensy (at lease they sell Bus pirate). And I can’t handle with the price of the genuine one also plus with shipping and Import fees. So I decided to buy the clone. I need to do some several test with the board E.G. Electrical connections, power supply and the MCU.
I still worry about the compatibilities.
Because in the official PJRC store has been warning about the fake/clone and it might not works with the “Teensyloader”.
But it’s not the big problem. Because I can still burn the bootloader with the DFU bootloader which is compatible with arduino IDE / Core. So It would takes about nearly month to be arrived. So stay tuned for the next video.