Le moteur pas à pas 28BYJ-48 avec le pilote ULN2003 semble maintenant tout à fait une configuration courante. Le moteur et le conducteur sont facilement disponibles et à peu de frais. Toutefois, la bibliothèque de moteur stepper arduino standard ne fonctionne tout simplement avec cette configuration ! Apparemment quelque chose à voir avec la séquence nécessaire à la rotation de la 28BYJ-48.
Cette instructable va vous montrer comment écrire une simple bibliothèque qui rendre la vie plus simple pour les utilisations futures de la 28BYJ-48. J’ai vu un couple de solutions possibles (même écrit sur la séquence d’impulsions maintes et maintes fois), mais je n’ai pas été satisfait, alors j’ai décidé d’écrire mon propre.
Nous supposons que vous avez une connaissance de base de la théorie de moteur C++ et moteurs pas à pas.
Intentions / Contexte
Après avoir réalisé des essais, il s'agit maintenant de concevoir et réaliser un démonstrateur technique complet du système de petites éoliennes envisagé qui, inclus, entre autre: l'utilisation de matériaux et composants "très" faciles à trouver localement; le branchement "simple" sur un réseau électrique; l'embarquement d'un émetteur/récepteur de réseau sans fil MESH; et aussi d'autres fonctions ...
Ce projet fait partie d'un meta-projet appelé Voosilla (http://fr-voosilla.ouvaton.org/)
Image works with SD cards and USB drives.
Regular firmware in the device is NOT CHANGED.
When you replace the dtb file can be run on any device with Amlogic chip S905 s905x s912
When you first start the system, the root user password is 1234
The minimum media size - 4 GB
https://yadi.sk/d/pHxaRAs-tZiei
Option how to start (Activation multi-boot).
** Manual run Systems **
Now all images Armbian and LE has all the files for activate the multi-boot. Anything in addition to download and copy to media is not required.
Need to pick up the option for the file system will run. Pay attention, after you add\change the dtb file, you need to try to run the system and waiting to run 7-10 minutes. If not happened, repeat with a different dtb file.
Attention !!!! On models with S802 S805 S812. Activation multi-boot is possible ONLY with SD card (activation of the USB stick is NOT WORKING). After a one-time activation procedure is multi-boot, run a variety of systems is possible from ANY storage media (SD cards and USB storage devices).
The choice of shell to start (Mate\XFCE or KODI).
On the screen enter username and password (in lightdm) in the upper right corner of the screen there is a menu where you choose which GUI to run. The list will be three items (two rows with kodi) and the last line mate. Select mate (something opposite mate was the point), then enter the username and password. The system remembers the last selected mode. If at the next login or what not to choose in this menu, system at the entrance will trigger the option that was turning off in the previous session.
Install to eMMC (NAND)
Kernel 4.16 does not support internal eMMC memory. Do not attempt to install to the eMMC. You get problems.
To install Armbian in the internal memory, you must execute multiple commands. We strongly recommend TO PreRUN create a full backup of the entire contents of the internal memory. This will allow you to return to the current state of the firmware at any time. To create a complete backup you need to execute commands.
su -
(enter passwd root)
ddbr
The running tip backup script
After creating the backup, to install to internal memory (eMMC) of the command being executed
Pay attention, if you not are sure that you will be able to solve possible problems from the installation of the internal memory (eMMC), do NOT PERFORM these commands.
su -
(enter passwd root)
./install.sh
or
nand_sata_install
Setup HDMI out.
The configure script video output hdmi.sh reside in a directory on a FAT partition (on a running system, this partition is automatically mounted to the /boot directory). This script can be changed. To change the screen resolution from 720p to 1080p, you need to uncomment the line "#mode=1080p60hz" and comment out the line "mode=720p60hz". Similarly, you can change the color depth from the default 24 to 32 (bpp=24). Note that with 32 bit color significantly changes the desktop. In this script you can place the commands you want to run WebMin , Doker, ask line to run the USB port (if necessary), configure, sound card, etc.
On Wifi.
run as root user one of these commands in the terminal
An example command to load module “dhd” or “wifi_dummy” or "ssv6051" or "wlan" etc.
modprobe dhd
or
modprobe wifi_dummy
or
modprobe ssv6051
or for QCA9377
modprobe wlan
After verification of the selected module, if everything is working correctly, you can add it to the autorun list (add string name of the module in the file /etc/modules).
Remote control.
How to add support for remote control. To use it you need to add the correct file “remote.conf” in the /boot directory or /etc/amremote. By default, some of the images already include several predefined files (in the /boot directory). To use it you need to rename one of the files in “remote.conf”. Additionally I have uploaded the deb package “amremote.deb”, which can be installed in your current system (do not download the complete image).
Before installing, delete all remote.conf files: rm /boot/remote.conf.* Now you can install the package: sudo dpkg -i aml-amremote....
After installing this package you need to run in a terminal “service amlogic-remotecfg status” and add (rename) the correct file 'remote.conf".
Auto login
Add line to /etc/lightdm/lightdm.conf.d/11-armbian.conf
[SeatDefaults]
autologin-user=username
autologin-user-timeout=delay
Additional information
http://forum.khadas.com/t/armbian-kodi-ubuntu-debian-for-sd-usb-emmc/825
Wiki
Information to enable multi-boot on the WiKi is outdated, use to activate the multi-boot description from this post in the beginning.
https://github.com/150balbes/Amlogic_s905/wiki
Other versions of images with different Linux systems.
py-starbound - Python package for working with Starbound files.
A tiny hack to read white-on-black on Kobo ebook readers.
There are three ways to contol nightmode:
Comment mettre en place un environnement de développement pour Kobo ?
un lanceur de script via ouverture d'image dans Nickel ;)
Hey everyone can some one help me locate the right firmware for this box please.. some one told me its a generic box but i dont have a single clue locating the
I fixed this issue for several of my colleagues by running the following two commands:
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://
One thing we noticed is that the .gitconfig used is not always the one expected so if you are on a machine that modified the home path to a shared drive, you need to ensure that your .gitconfig is the same on both your shared drive and in c:\users[your user]\
Tu te demandes sans doute ce qui est arrivé avant que tu débarques ici. Eh bien des tas de trucs, à dire vrai. On a évolué, on est devenu des êtres humains, et c’est là que les choses se sont gâtées...
Via Shaarli