[HeRos] Production & STM32

This week was a pretty strange week. I was learning C++ in Mines Paris, that was quite fun to discover a new language and a new way of thinking and implementing stuff 😉

This week our PCB went in production, All the team was really excited to see that our baby was going to be created 😉

I took finally some time to re-read all the Rose courses i couldn’t revise earlier, and got in touch with ChibiOS 😉

I also progressed on my practical exercise on the STM32 discovery board. I succeeded in implementing a PWM on the 4 Leds without configuring timers manually or using any callbacks. Hope i’ll finish it before tomorrow evening.

BTW if you want to see more about our projects (goals, components), see our project on Hackster, and don’t hesitate to ask questions about it, the more interactions the better !

[HeRos] PCB finished ; )

Sorry for this week-end, I didn’t have much time to send some news.

This end of the week was very intense. In fact we had to finish our PCB plans and routing. We had some last minute changes about some components and connectors with the pololu to have the best PCB for our project 😉

First it was quite complicated because we didn’t begin by making a routing sheet for our processor. Once done it was much easier to place all components on the PCB. It was also much better to see every optimizations we could do to have shorter tracks.

We had also some few problems to solve we didn’t anticipate. For example, we didn’t care too soon to set the clock tree right to supply the camera module with a correct external clock from the processor. But finally we succeeded to have the correct clock available 😉

I also understood how timers worked and how the should be implemented and supplied by the correct clock frequency rate.

So this week we have to wait for our PCBs, but don’t worry I’ve still work to do with ChibiOS on the STM32Discovery-board and a C++ course to attend.

First steps with STM32 and ChibiOS,

Today i began to use ChibiOS on our STM32P407 development board. It was at first quite disturbing to understand which part of the project is handled by ChibiOS and what we have to control by ourselves.

I succeeding in lightning the LEDs but I still can’t control them with PWM. I have some troubles controling the timers for the PWM to work. Hope I’ll find the solution soon and understand why this could work now.

Fortunately next week we’ll have a special week and I’ll have more time to work on it.

 

[HeRos] Schematics

This week-end, we defined the choice of our component. We verified that every component would fit prototype. We chose to keep the batteries of the pololu only to supply our PCB. With a buck converter we would able to supply all the top of the HeRos.

We then started the schematics, defining how the components will be wired, and determined some resistors.

We tried to find a way to be able to recharge the batteries by USB, but it found too long time of chargement for our power supply. In fact for your product it will faster to open the device and change the NIHM batteries.

Tomorrow we’ll keep on working on the schematics, hope we’ll finish on time !

[HeRos] First Presentation Tomorrow !

Good news Everyone !

Tomorrow morning we’ll be presenting our project concept and guideline in class 😉

We defined how the different modules in our system will interact, their functionalities and use, and synthesize them into PSSCs to distribute them to one responsible in the group.

We also scheduled the dead-lines of the different PSSCs, I hope we’ll have time to do everything we want or a least the core ideas to make our project fun and work !

For the components, we looked for a particular wi-fi stream video module, we first checked the ESP8266 to see if it could fir for us, but we won’t be able to stream video between the camera and the wi-fi module with an UART. We are know thinking about taking a Texas CC3000, with an SPI.

See you next time 😉
HeRos

[HeRos] A new name and ArchLinux installation

Good news everyone ! Our figurines’ project has now a new name : HeRos.

We kept defining the functionalities of the figurines. The main problem is to find a way (if one exists) to be able to stream video from our system to a smartphone.

We also looked on the internet for some camera controllers and bluetooth transmission devices to see if one what interesting for our project. Bluetooth will be enought to connect our device with a smarphone but we should need wi-fi to stream video between the both of them.

I also spent most of the day trying to install ArchLinux on a VM. It finally worked, with the help of an ancient Rose student who also gave me many tips to simplify coding on my computer (ssh connection between MacOs and my ArchLinux VM, managing connections on VMs and Arch) and i have to admit it’s thrilling seeing ArchLinux finally working after hours of installation. There was quite a strange problem during the process, Arch did not want to boot and responded :

Error: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good Luck

Arch launched correctly after deleting all partitions there was and creating only one to install it.
I’m now configuring Arch to have a graphical environment and hope I’ll see soon windows everywhere.

[HeRos] Cleaning and Alimentation

Today we begun the day by working on our tutorial with Dimitri and Damien : Conception of alimentations in embedded systems.

We first looked on the internet to understand better and define the border of the subject. We discovered the basic notions concerning alimentation and power supply for embedded systems and then focused on the differences between linear and switching regulators to understand the interest of using one or the other on a particular device’s power supply. Both have their pros and cons, depending on the device they are suppling. We’ll continue to work on this tutorial because we didn’t figure all out yet, in fact we’re presently studying temperature variation impact on input and output capacitors for regulators.

I also read tutorials concerning ArchLinux installation. it seems quite hard, but this distribution seems to let you customize everything in order to have a distribution suitable to your needs. I also checked the particular recommandations for MacBook computers, and then decided to reinstall everything on my computer including Yosemite as my actual configuration is quite “unusual” and I think it may lead to problems when installing ArchLinux. So right now I’m saving all my data on an external device before cleaning this mess that is my computer.

[HeRos] Let’s get started ;)

After an intense class focusing on buses protocols and caracteristics, I revised all these notions in order to understand and assimilate them. I then checked into mi computer to see what different buses i had 😉 I also looked on the internet for tutorials about installing and configuring ArchLinux for my computer. It will be done by the end of the week, i need some time to clear some space on my disks.

I then tried to seek ideas and develop them around the different projects’ ideas i particularly like (Figurines, kid’s toy, BBballs, laser game).

Classes are not moving too slow for shure, but I think it’s a habit to take, revising all notions after class to digest them.

Lot of work to do by the end of the week, but we’ll make it !